Precision problem with matrix inversion
07-14-2015, 04:31 AM (This post was last modified: 07-14-2015 07:06 AM by Anders.)
Post: #7
 Anders Member Posts: 111 Joined: May 2014
RE: Precision problem with matrix inversion
It could be that the internal precision is too low when inverting the matrix combined with a multiplication with a vector in RPN mode or simpler: division of a vector with matrix.

"In the good old days...bla bla" for instance with the HP 28s in the 80's, this particular situation was recognized as so common by the HP 28S and HP 48 too I believe (trying to solve a large system of unknowns) so when the user did a division of a vector with matrix from the stack it recognized this situation and used the increased 16 digits precision precisely because this extra precision is needed (if I remember correctly the HP 28s used the standard 12 digits precision for normal calculations).

I do not know if the Prime add extra precision or not for Vector Matrix division, but is should and hopefully this would lead to the right result.

After I wrote this I just had to dig up my HP 28S and guess what - it gets it right!

So I got around to punched in the matrix (let's call it M1) in my Prime too and RPN does not behave as it should with this matrix:
1) V1 M1 / results in the null vector and on top:
2) inverting the matrix: M1 shift / results in the 4x4 null matrix
3) M1 1 / also results in the 4x4 null matrix.
As previously posed
4) M1 inv(1) do result in the correct vector
 « Next Oldest | Next Newest »

 Messages In This Thread Precision problem with matrix inversion - Maro - 07-13-2015, 06:22 PM RE: Precision problem with matrix inversion - roadrunner - 07-13-2015, 06:41 PM RE: Precision problem with matrix inversion - roadrunner - 07-13-2015, 06:58 PM RE: Precision problem with matrix inversion - Maro - 07-13-2015, 07:24 PM RE: Precision problem with matrix inversion - roadrunner - 07-13-2015, 10:00 PM RE: Precision problem with matrix inversion - Didier Lachieze - 07-13-2015, 10:40 PM RE: Precision problem with matrix inversion - Maro - 07-14-2015, 05:58 AM RE: Precision problem with matrix inversion - Anders - 07-14-2015 04:31 AM RE: Precision problem with matrix inversion - cyrille de brĂ©bisson - 07-15-2015, 04:59 AM RE: Precision problem with matrix inversion - Maro - 07-15-2015, 06:25 AM RE: Precision problem with matrix inversion - Paul Dale - 07-15-2015, 07:15 AM RE: Precision problem with matrix inversion - Anders - 07-15-2015, 08:28 PM RE: Precision problem with matrix inversion - Maro - 07-16-2015, 08:23 AM RE: Precision problem with matrix inversion - Thomas Radtke - 07-16-2015, 11:03 AM RE: Precision problem with matrix inversion - parisse - 07-15-2015, 05:47 AM RE: Precision problem with matrix inversion - Maro - 07-15-2015, 06:42 AM RE: Precision problem with matrix inversion - parisse - 07-15-2015, 07:46 AM RE: Precision problem with matrix inversion - Maro - 07-15-2015, 08:20 AM RE: Precision problem with matrix inversion - parisse - 07-15-2015, 12:45 PM RE: Precision problem with matrix inversion - Werner - 07-16-2015, 01:31 PM RE: Precision problem with matrix inversion - parisse - 07-17-2015, 08:18 AM RE: Precision problem with matrix inversion - Dirk. - 07-17-2015, 09:07 AM

User(s) browsing this thread: 1 Guest(s)