HP Forums
Virtual and Real Calculator differences - 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: Virtual and Real Calculator differences (/thread-4190.html)



Virtual and Real Calculator differences - hamilton.milligan@outlook.com - 06-20-2015 07:25 AM

Both Virtual and Real HP Prime Calculator Have Version 2015 4 27 Rev 7820
in Virtual Cas screen create a matrix and put
m1:=[1,2,3_(Ohm),0]
[0,0,0,1_(Ohm)]
Do the same with the Real HP Prime.
Now in Real HP Prime m1(1,1) give 1. also m1(1,3)+m1(2,4) gives 4_Ohm as expected.

In Virtual HP Prime m1(1,1) gives an error. So does m1(1,3)+m1(2,4).
Also in Virtual try m1(-1). It crashes.
In the real HP Prime m1(-1) gives an error. Invalid dimension. Also does it if m1 only contains integers.

PLEASE: Can these inconsistencies between Virtual and Real Primes be fixed.
I use Virtual a lot now to test, as it is a lot faster to do things via the keyboard.

NOTE: REALLY REALLY LIKE ANote, AProgram and AFile. Very clever.

Finally, how do you get a col back from a matrix in Home and CAS.

Thanks in advance.


RE: Virtual and Real Calculator differences - DrD - 06-20-2015 09:53 AM

Not seeing any of those issues here (see attached virtual calc and hardware screen captures):


RE: Virtual and Real Calculator differences - Joe Horn - 06-20-2015 06:32 PM

(06-20-2015 07:25 AM)hamilton.milligan@outlook.com Wrote:  In Virtual HP Prime m1(1,1) gives an error.

What's your current app? If it's Spreadsheet, m1 can refer to cell m1.


RE: Virtual and Real Calculator differences - hamilton.milligan@outlook.com - 06-21-2015 03:36 PM

Thanks. Your a gem.
A bit weird it comes back as a list when you see it as a matrix.

A big Thanks. Lesson learnt. name your variables very carefully

See image. I assumed that matrix(-1) would work with all matrixes. I.e give me then nth column.
casmatrix(1) gives the correct result for both matrixes in the CAS screen.
row(casmatrix,1) and col(casmatrix,1) give the correct result.


RE: Virtual and Real Calculator differences - hamilton.milligan@outlook.com - 06-21-2015 03:41 PM

(06-21-2015 03:36 PM)hamilton.milligan@outlook.com Wrote:  See image. I assumed that matrix(-1) would work with all matrixes. I.e give me then nth column.
second time lucky.