Dieses Untermodul stellt verschiedene Verfahren aus der linearen Algebra zur Verfügung, so z.B. eine Methode zur Lösung eines linearen Gleichungssystems:
(I) 3x + 2y -z = 1
(II) 2x – 2y + 4z = -1
(III) -x +y -z = 1
Lösung:
>>> x = np.array([[3,2,-1],[2,-2,4],[-1,1,-1]])
>>> y = np.array([1,-1,1])
>>> np.linalg.solve(x,y)
array([-0.3, 1.2, 0.5])
>>>