Hello,
I'm having problems with a rather simple problem.
I have a set of eigenvectors in matrix form. I would like to extract 3 of
these eigenvectors ( that correspond to the 3 largest eigenvalues). The
eigenvectors are stored in rows 1, 4, and 5. I assign these row numbers to
three scalars: $x, $y, $z and enter the command:
$ev_x= $eigen_vec->slice(':,$x');
.....
I get an error: Invalid slice str ':,$x': '$x' at XXXX.pl line 118, <F>
line 149.
What is the correct command for extracting a row (or cloumn) from a PDL?
Thanks
Anjan
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl