Post Reply 
Matrix editor and ANS: estrange behavior
01-03-2015, 01:34 PM
Post: #1
Matrix editor and ANS: estrange behavior
Hello All,

Use case of the calculator:

-----------------
*Home view*
input a test vector: say [1,2,3]

*Matrix editor*
scroll to last element (ANS)
edit it: change all elements to say 0: [0,0,0]

*back to Home view*
Nothing changed!? vector stays [1,2,3], back to Matrix editor, ANS is [0,0,0]. There's no way to echo that detached ANS to the log, nor copy it.
-----------------

Short -maybe stupid- question: When in CAS, I still access the ANS from Home after entering Matrix Editor. I guess the answer is that the ANS from CAS is isolated from all the rest of the calculator, only available when in CAS.

Bests,
Pedro.
Find all posts by this user
Quote this message in a reply
01-03-2015, 04:36 PM
Post: #2
RE: Matrix editor and ANS: estrange behavior
Hello pedro,

the CAS's Ans can be accessed by "CAS.Ans".
Find all posts by this user
Quote this message in a reply
01-03-2015, 10:16 PM
Post: #3
RE: Matrix editor and ANS: estrange behavior
Nice! I didn't know that.

Sadly, there's no CAS.Ans listed in lists editor (double checked my latest entry in CAS was a list).

By the way, is there a HOME.Ans? (Equivalent, I mean, I've check and that doesn't work.)
Find all posts by this user
Quote this message in a reply
01-05-2015, 02:39 AM
Post: #4
RE: Matrix editor and ANS: estrange behavior
(01-03-2015 10:16 PM)mainakae Wrote:  By the way, is there a HOME.Ans? (Equivalent, I mean, I've check and that doesn't work.)

To access Home's Ans from CAS, you can use EVAL('Ans'). Be sure you spell EVAL in uppercase! If spelled in lowercase, as eval('Ans'), you get CAS's Ans, not Home's. Of course, this is not documented anywhere. Wink

<0|ΙΈ|0>
-Joe-
Visit this user's website Find all posts by this user
Quote this message in a reply
01-06-2015, 09:02 PM
Post: #5
RE: Matrix editor and ANS: estrange behavior
(01-03-2015 04:36 PM)Snorre Wrote:  the CAS's Ans can be accessed by "CAS.Ans".

You can even use the notation CAS.Ans(level) to retrieve a specific CAS history level. In RPN it's

level
CAS.Ans(1)

and works the same.

Marcus von Cube
Wehrheim, Germany
http://www.mvcsys.de
http://wp34s.sf.net
http://mvcsys.de/doc/basic-compare.html
Find all posts by this user
Quote this message in a reply
01-12-2015, 04:59 PM
Post: #6
RE: Matrix editor and ANS: estrange behavior
Thanks both!
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)