Post Reply 
Matrix Inversion ANA
06-16-2016, 08:12 AM
Post: #8
RE: Matrix Inversion ANA
This algorithm might be faster but I have doubts it will be as numerically stable as the builtin function. There is no pivoting involved which is a good sign it will be unstable for some inputs. I'm also unsure it will necessarily be more resource efficient, you need a second matrix of the same size as the input and it is possible to do a matrix inversion insitu with a temporary vector of length n.

The 34S firmware does both of these -- it uses the Doolittle LU decomposition with partial pivoting as the basis for its matrix inversion. This is what HP used in 15C and I suspect it is what they still use -- writing numeric code is difficult and theirs was designed by one of, if not, the best.

Writing programs like this is always a bit of fun Smile


- Pauli
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Matrix Inversion ANA - churichuro - 06-12-2016, 06:29 PM
RE: Matrix Inversion ANA - Joe Horn - 06-12-2016, 09:30 PM
RE: Matrix Inversion ANA - churichuro - 06-13-2016, 03:27 PM
RE: Matrix Inversion ANA - rprosperi - 06-13-2016, 06:30 PM
RE: Matrix Inversion ANA - churichuro - 06-14-2016, 10:55 PM
RE: Matrix Inversion ANA - rprosperi - 06-15-2016, 01:32 AM
RE: Matrix Inversion ANA - Paul Dale - 06-16-2016 08:12 AM
RE: Matrix Inversion ANA - churichuro - 06-16-2016, 12:23 AM
RE: Matrix Inversion ANA - Werner - 06-16-2016, 10:27 AM
RE: Matrix Inversion ANA - Paul Dale - 06-16-2016, 10:57 AM
RE: Matrix Inversion ANA - Werner - 06-16-2016, 11:06 AM
RE: Matrix Inversion ANA - Paul Dale - 06-16-2016, 11:20 AM
RE: Matrix Inversion ANA - Werner - 06-16-2016, 11:21 AM
RE: Matrix Inversion ANA - Paul Dale - 06-16-2016, 09:45 PM



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