I was expecting 3,7,2--so it's printing the column number of b in the tens-place!--I just want the index from $a.perldl> $a=sequence(10) perldl> $b=pdl[3,7,2] perldl> p which($a==$b->dummy) [3 17 22]
In reply to Re^2: matching pdl elements
by Blue_eyed_son
in thread matching pdl elements
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |