TIB: searching matrixes


[Prev][Next][Index][Thread]

TIB: searching matrixes



is there a way to search a matrix to find a number in any row or column without having to look at each individual row and column
eg
[[1 2]
 [3 4]]
if [a](1,1) = 2
then
whatever
if [a](1,2) = 2
then
whatever
if [a](2,1) = 2
then
whatever
if [a](2,2) = 2
then
whatever
instead of this something that does searches the matrix in one command
 

Follow-Ups: