Hey all ,

I have been trying to find away to find variables in a matrix and wondering if 
there
is a module that can do that for instance 

$x = sequence(3,3);
p $x;

[0,1,2]
[3,4,5]
[6,7,8]

#############################

so if this is my matrix and I want to find all sums of  "9"

then the module would return 


[3,6]
[2,7]
[1,8]
[4,5]

or a binary reference like

[0,0,1]
[0,0,0]    == [2,7]
[0,1,0]  

is there a module that can do this ....  
or return a binary matrix like

please let me know thanks

-Mark

"sometimes I think perl is alive"
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to