Yes,
perldl> $a=pdl([[1,2,3],[4,5,6]]) perldl> p $a**2 [ [ 1 4 9] [16 25 36] ] perldl> $b=$a**2 perldl> p $b [ [ 1 4 9] [16 25 36] ] On 5/14/07, Saurabh Singhvi <[EMAIL PROTECTED]> wrote:
Hi all, how do I do a matrix exponential ?? as in $a**2 == square of $a if $a were a numerical value. eg : $a = 2, then $a**2 will be 4. now I want to do a similar operation on matrix, so will $a**2 be correct ?? thanks Saurabh _______________________________________________ Perldl mailing list [email protected] http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
_______________________________________________ Perldl mailing list [email protected] http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
