Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python solve linear equation system

a = np.array([[1, 2], [3, 5]])
>>> b = np.array([1, 2])
>>> x = np.linalg.solve(a, b)
>>> x
array([-1.,  1.])
Source by numpy.org #
 
PREVIOUS NEXT
Tagged: #python #solve #linear #equation #system
ADD COMMENT
Topic
Name
3+8 =