Post Reply 
HP 40gs how to get a submartix from a matrix
09-01-2023, 07:27 AM
Post: #7
RE: HP 40gs how to get a submartix from a matrix
Dear Thomas,
To get an invervse of a matrix P

import numpy as np
from numpy.linalg import inv
from sympy import latex

#code to calculate the matrix
#
#defined M1, M and M3
P = M2@M@M3
P = np.matrix(P)

#prints the output of latex output. Normally output to a tex file
print(latex(inv(P)))

Thank you
Anthony, Sydney
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: HP 40gs how to get a submartix from a matrix - Anthony The Koala - 09-01-2023 07:27 AM



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