Re: Matrix/Array 28/48/50 Question Message #8 Posted by Gilles Carpentier on 4 June 2012, 4:41 p.m., in response to message #7 by Karl-Ludwig Butte
Hi
I also use this and it works fine (49/50).
Exemple to try :
{ 5 5 } RANM 'Mat' STO @ Create a 5x5 random matrix and store it
2 'a' STO
'Mat(a,2)' EVAL @ Return the value
99 'Mat(a,2)' STO @ Store 99 in a,2 cell
'Mat(a,2)' EVAL 'Mat(5,5)' STO @ Put value of a,2 in 5,5
IF 'Mat(a,2)==Mat(5,5)' THEN "Equal value " MSGBOX END
Mat @ Show result
It also works with 'vector'
[ 1 2 3 4 5 ] 'Vect' STO
'Vect(3)' EVAL
99 'Vect(5)' STO
Edited: 4 June 2012, 4:59 p.m.
|