HP Forums
Syntax Error when operating on matrices - 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: Syntax Error when operating on matrices (/thread-22059.html)



Syntax Error when operating on matrices - chaz2k - 07-21-2024 03:48 PM

Hi,
I recently updated the firmware on my hp prime v 20230413.
I created a 3x4 matrice [{1,1,2,9}, {2,4,-3,1}, {3,6,-5,0}] stored in M1.
I tapped on the toolbox, select 7 (Matrix), select 3 RREF
Enter RREF(M1), received Error: Syntax Error

I tried the same operation on the emulator and it works see attached screen shot.

Any suggestions would be greatly appreciated.


RE: Syntax Error when operating on matrices - Patocuy - 07-22-2024 10:42 PM

Try using only square brackets for creating a matrix:

[[1,1,2,9], [2,4,-3,1], [3,6,-5,0]]


RE: Syntax Error when operating on matrices - chaz2k - 07-23-2024 04:36 AM

Patocuy,
Thank you for your reply, I figured it out, I needed to be in CAS, then:
RREF(M1) works.