Matrix editor and ANS: estrange behavior - Printable Version +- HP Forums (https://www.hpmuseum.org/forum) +-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html) +--- Forum: HP Prime (/forum-5.html) +--- Thread: Matrix editor and ANS: estrange behavior (/thread-2782.html) |
Matrix editor and ANS: estrange behavior - mainakae - 01-03-2015 01:34 PM 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. RE: Matrix editor and ANS: estrange behavior - Snorre - 01-03-2015 04:36 PM Hello pedro, the CAS's Ans can be accessed by "CAS.Ans". RE: Matrix editor and ANS: estrange behavior - mainakae - 01-03-2015 10:16 PM 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.) RE: Matrix editor and ANS: estrange behavior - Joe Horn - 01-05-2015 02:39 AM (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. RE: Matrix editor and ANS: estrange behavior - Marcus von Cube - 01-06-2015 09:02 PM (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. RE: Matrix editor and ANS: estrange behavior - mainakae - 01-12-2015 04:59 PM Thanks both! |