Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Solve linear equation with np.linalg.solve

A = np.array([[4, 3, 2], [-2, 2, 3], [3, -5, 2]])
B = np.array([25, -10, -4])
X = np.linalg.inv(A).dot(B)

print(X)
Source by stackabuse.com #
 
PREVIOUS NEXT
Tagged: #Solve #linear #equation
ADD COMMENT
Topic
Name
4+3 =