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? 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 |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 4 Guest(s)