HP Prime Matrix TERRIBLE bug and question uklo Junior Member Posts: 12 Threads: 5 Joined: Oct 2013 11-24-2013, 11:39 PM 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. Han Senior Member Posts: 709 Threads: 104 Joined: Nov 2005 11-25-2013, 12:03 AM 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). uklo Junior Member Posts: 12 Threads: 5 Joined: Oct 2013 11-25-2013, 12:36 AM 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 :) From Hong Kong Member Posts: 125 Threads: 5 Joined: Jun 2008 11-25-2013, 12:37 AM 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. Michael de Estrada Posting Freak Posts: 1,665 Threads: 142 Joined: Jan 2009 11-25-2013, 12:40 AM 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. Michael de Estrada Posting Freak Posts: 1,665 Threads: 142 Joined: Jan 2009 11-25-2013, 12:52 AM 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. uklo Junior Member Posts: 12 Threads: 5 Joined: Oct 2013 11-25-2013, 12:53 AM 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. Michael de Estrada Posting Freak Posts: 1,665 Threads: 142 Joined: Jan 2009 11-25-2013, 01:02 AM 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]]. Paul Dale Posting Freak Posts: 3,229 Threads: 42 Joined: Jul 2006 11-25-2013, 01:08 AM 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 From Hong Kong Member Posts: 125 Threads: 5 Joined: Jun 2008 11-25-2013, 01:18 AM Yes, but this is a quick workaround. The HP engineers need some time to fix it. :) Michael de Estrada Posting Freak Posts: 1,665 Threads: 142 Joined: Jan 2009 11-25-2013, 01:21 AM 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. From Hong Kong Member Posts: 125 Threads: 5 Joined: Jun 2008 11-25-2013, 01:23 AM Press Shift-5 twice to get the matrix notation, i.e. double square brackets. Edited: 25 Nov 2013, 1:24 a.m. From Hong Kong Member Posts: 125 Threads: 5 Joined: Jun 2008 11-25-2013, 01:32 AM FYI, the TRN function works fine for a vector but the result is a matrix! Ángel Martin Posting Freak Posts: 1,253 Threads: 117 Joined: Nov 2005 11-25-2013, 03:27 AM 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! Geir Isene Posting Freak Posts: 896 Threads: 183 Joined: Jul 2005 11-25-2013, 08:07 AM Ain't that true! Katie Wasserman Posting Freak Posts: 1,477 Threads: 71 Joined: Jan 2005 11-25-2013, 10:41 AM 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. Walter B Posting Freak Posts: 4,587 Threads: 105 Joined: Jul 2005 11-25-2013, 11:00 AM Thanks Katie! I couldn't have said it better. d:-I Mic Member Posts: 190 Threads: 82 Joined: Aug 2012 11-25-2013, 12:10 PM I saw these bugs with matrices. I'm looking at the 39gII firmware update to see if the bugs are still here. René Franquinet Junior Member Posts: 29 Threads: 3 Joined: Jan 2011 11-25-2013, 01:55 PM 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. Michael de Estrada Posting Freak Posts: 1,665 Threads: 142 Joined: Jan 2009 11-25-2013, 03:02 PM Don't buy it. It will drive you crazy. See my new post above. « Next Oldest | Next Newest »

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

Forum Jump: