Open tomaszsm opened 11 years ago
This matrix is not invertible; it seems to work when the matrix is invertible. Nevertheless, I will change this behavior.
what about calculating the pseudo inverse?
>>> import numpy.linalg
l
>>> numpy.linalg.pinv([[8,9,8,9], [5,6,5,6], [8,9,8,9], [5,6,5,6]])
array([[ 0.5 , -0.75 , 0.5 , -0.75 ],
[-0.41666667, 0.66666667, -0.41666667, 0.66666667],
[ 0.5 , -0.75 , 0.5 , -0.75 ],
[-0.41666667, 0.66666667, -0.41666667, 0.66666667]])
>>>
Computing "numeric.inv([[8,9,8,9], [5,6,5,6], [8,9,8,9], [5,6,5,6]]);" results in an error: "TypeError: Aj is undefined"