HP Prime Matrix TERRIBLE bug and question



#14

Hi everyone, i found this terrible bug using the Home mode, and the CAS mode. I'm not sure if this was already reported, because is really anoying.

CAS mode:

Home mode: BUG

BY THE WAY. Does anyone know if its possible to do operations with matrices and/or polynomials using modulo 2 arithmetic?
Thanks.


Edited: 24 Nov 2013, 11:58 p.m.


#15

Wow, that is a bad bug.

For modulo 2 arithmetic, just use the MOD command. Need to be in CAS view, though. I think Home view expects real-valued arguments (i.e. numbers and not matrices).


#16

Thanks Han, I used MOD on CAS Mode and it worked fine (using capital letters).

That bug only happens when the matrices are big, I don't know why. I hope they fixt it with an update :)

#17

Matrices are just groupings of elements that can be numbers or symbols. Matrix arithmetic is in fact by default numeric, although symbolic operations are fine in CAS. The example shown above should work perfectly in Home view.

#18

I think the vector notation for [1 1 0 1 1 0 1] screws up the calculator in HOME. Please use the matrix notation instead, i.e. [[1 1 0 1 1 0 1]], and it works fine. The product of the two matrices also carries the matrix notation.

Edited: 25 Nov 2013, 12:41 a.m.


#19

Good point. You are actually multiplying a 1x7 matrix by a 7x3 matrix to obtain a 1x3 matrix as the result, i.e. [[4 3 2]]. The easiest way to create matrices is to use textbook entry, which will automate the process and avoid syntax errors.

#20

Quote:
I think the vector notation for [1 1 0 1 1 0 1] screws up the calculator in HOME. Please use the matrix notation instead, i.e. [[1 1 0 1 1 0 1]], and it works fine. The product of the two matrices also carries the matrix notation.



Ohh now I see. I was using Shift + 5 to create the matrix, but I didn't realize that the square bracket is different.

Thank you all for your answers.


#21

No, the square bracket is the same; it's just that you need two of them. The outer set of brackets denote the overall matrix, and the inner ones denote the rows. So, The 3x7 matrix is [[1,0,0],[0,1,0],....[1,1,0]].

#22

Press Shift-5 twice to get the matrix notation, i.e. double square brackets.

Edited: 25 Nov 2013, 1:24 a.m.

#23

It is still a bug. Anything that screws up is a bug. Either make the operation illegal with an error message or make it work. It shouldn't return bogus results.


Pauli


#24

Yes, but this is a quick workaround. The HP engineers need some time to fix it. :)

#25

Well, if you try certain matrix operations such as transpose on a vector it will definitely give an error message. But, I agree that the operation shown in the OP should also fail rather than give a bogus result. By the same token, you can't perform vector operations such as dot product on matrices.

Edited: 25 Nov 2013, 1:22 a.m.


#26

FYI, the TRN function works fine for a vector but the result is a matrix!


#27

There's something as bad as bugs - inconsistency in the implementation. That leads to never knowing how to correctly do things, and always doubting (ie. not trusting) the results!


#28

Ain't that true!

#29

Quote:
There's something as bad as bugs - inconsistency in the implementation. That leads to never knowing how to correctly do things, and always doubting (ie. not trusting) the results!

Well said! This is exactly why I've avoiding buying a Prime. Beta testing should have caught virtually all the bugs on all the recently released HP calculators, but there's this push to get stuff out the door when it's far from ready. This might be fine and necessary (from a marketing perspective) for certain devices but not for something who's purpose is to be trusted.


#30

Thanks Katie! I couldn't have said it better.

d:-I


#31

This also is my motive to not yet buy the Prime. I remember the Prime has been announced quite some time ago. So I thought all the pre-release users of devoted calculator lovers would have traced all the flaws and errors and bugs the device could have. And the answer is: no, there still will be a lot of bugs the weeks and months to come. So I still will wait before I buy this prematurely highly praised super calculator.


#32

Don't buy it. It will drive you crazy. See my new post above.

#33

I saw these bugs with matrices.
I'm looking at the 39gII firmware update to see if the bugs are still here.


Possibly Related Threads…
Thread Author Replies Views Last Post
  Sending little images to the Prime (...and Program name bug?) Erwin Ried 19 7,485 12-10-2013, 05:35 PM
Last Post: Erwin Ried
  AFTER HP-Prime update, Shift+Matrix CRASHES Joseph Ec 3 2,071 12-06-2013, 11:06 AM
Last Post: Joseph Ec
  [HP Prime] Plots containing complex numbers bug? Chris Pem10 7 3,674 12-05-2013, 07:40 AM
Last Post: cyrille de Brébisson
  [HP Prime] plotfunc() bug in CAS Chris Pem10 2 2,446 12-04-2013, 02:46 PM
Last Post: Chris Pem10
  HP Prime Spreadsheet Copy bug Michael de Estrada 1 1,839 12-03-2013, 11:34 PM
Last Post: Walter B
  HP Prime: editing a matrix Alberto Candel 6 2,385 11-20-2013, 06:26 PM
Last Post: Helge Gabert
  HP Prime graphing bug BruceH 1 1,522 11-19-2013, 08:14 AM
Last Post: Joe Horn
  HP Prime - vector question bluesun08 3 1,834 11-18-2013, 07:26 PM
Last Post: Han
  Question about transfering programs to the HP Prime Namir 10 3,606 11-17-2013, 04:01 PM
Last Post: Namir
  [Prime] Shutdown timer bug? Cristian Arezzini 2 1,685 11-16-2013, 10:34 AM
Last Post: Cristian Arezzini

Forum Jump: