Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

solve linear system python

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