Hi all,

how do I specify a row in perl code when using PDL??

if $M is a 3x3 matrix and I write

$M->(1)

it should give 2nd column and if I write

$M->(:,1)

then it should give me the 2nd row, atleast that's how it works out in PDL
however, it doesn't seem to be working.

though perl is not giving any syntax errors, it doesn't work. I get an error
saying

Not a CODE reference at xyz line.

Please tell me how I can use this operation in perl code.

thanks
Saurabh
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to