Matrices: adjoint and cofactors
|
06-09-2015, 09:07 PM
(This post was last modified: 11-17-2017 01:52 PM by salvomic.)
Post: #1
|
|||
|
|||
Matrices: adjoint and cofactors
hi,
a little program to get adjoint matrix, cofactor matrix and minor(s) of a given matrix Salvo Micciché EDIT 2017, November After the release of beta 2017 November 8 (build >13005) the CAS has also another important command: adjoint_matrix(m). It returns for a matrix the characteristic polynomial and the adjoint matrix (see help in the Prime). So the above code work in the previous version of the firmware and only with numerical entries (no literal symbolic values). Code:
After the beta 2017 November 8 and the next firmwares there is a better, fast and simple code. This code is all CAS and use the new adjoint_matrix() function to calculate: adj(m) Adjoint matrix cofactors(m) Cofactors matrix -> TRN(adj(m)) minor(m, r, c) a minor of the matrix m, suppressing row r and col c Code:
∫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: 1 Guest(s)