Post Reply 
About LU factorization
06-04-2015, 09:52 AM
Post: #3
RE: About LU factorization
(06-04-2015 09:18 AM)Paul Dale Wrote:  Have you tried reversing the decomposition to see if you get the original matrix back?

Looks like the prime swapped the second and third rows during the factorisation which changes the later results.

Earlier HP calculators use the Doolittle decomposition with partial pivots, I'd be surprised if the prime didn't do something similar.

- Pauli

hi Pauli,
swapping 2nd and 3rd row LU give same L and U and (obviously) [1,2,3] for the permutation matrix...

Prime has pivot() but this function returns only a column "pivoted", i.e.
pivot(,[[2,1,1], [4,-6,0], [-2,7,2]],1,1) returns
[[2,1,1], [0,-16,-4], [0,16,6,28]]
so then we must do a loop: divide by the nth pivot, take the minor (delete 1st row, 1st column), use pivot() again...
(In another post about pivots I'm trying to do a program, but I've still troubles)...

∫aL√0mic (IT9CLU) :: HP Prime 50g 41CX 71b 42s 39s 35s 12C 15C - DM42, DM41X - WP34s Prime Soft. Lib
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
About LU factorization - salvomic - 06-04-2015, 09:10 AM
RE: About LU factorization - Paul Dale - 06-04-2015, 09:18 AM
RE: About LU factorization - salvomic - 06-04-2015 09:52 AM
RE: About LU factorization - Tugdual - 06-04-2015, 10:15 AM
RE: About LU factorization - Paul Dale - 06-04-2015, 10:22 AM
RE: About LU factorization - Tugdual - 06-04-2015, 10:36 AM
RE: About LU factorization - DrD - 06-04-2015, 10:31 AM
RE: About LU factorization - DrD - 06-04-2015, 10:45 AM
RE: About LU factorization - salvomic - 06-04-2015, 11:06 AM
RE: About LU factorization - DrD - 06-04-2015, 11:30 AM
RE: About LU factorization - salvomic - 06-04-2015, 12:05 PM
RE: About LU factorization - salvomic - 06-04-2015, 12:48 PM
RE: About LU factorization - DrD - 06-04-2015, 01:31 PM
RE: About LU factorization - salvomic - 06-04-2015, 01:36 PM
RE: About LU factorization - DrD - 06-04-2015, 02:12 PM
RE: About LU factorization - salvomic - 06-04-2015, 02:19 PM
RE: About LU factorization - DrD - 06-04-2015, 02:19 PM
RE: About LU factorization - salvomic - 06-04-2015, 02:22 PM
RE: About LU factorization - Werner - 06-04-2015, 04:57 PM
RE: About LU factorization - Gerald H - 06-04-2015, 05:10 PM
RE: About LU factorization - salvomic - 06-04-2015, 05:10 PM
RE: About LU factorization - salvomic - 06-05-2015, 08:15 PM
RE: About LU factorization - Claudio L. - 06-05-2015, 08:38 PM
RE: About LU factorization - salvomic - 06-05-2015, 09:00 PM
RE: About LU factorization - Claudio L. - 06-08-2015, 01:12 PM
RE: About LU factorization - salvomic - 06-08-2015, 01:15 PM
RE: About LU factorization - parisse - 06-07-2015, 06:42 PM
RE: About LU factorization - salvomic - 06-07-2015, 07:20 PM



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