[SciPy-User] How to solve a single linear equation
Fri Oct 22 10:53:27 CDT 2010
Ive just started using scipy and im learning some algebra. Ive read the
scipy tutorial and noticed they have an example of solving linear equations
and it uses 3 of them and takes a matrice for the params and one for the
constants. How do solve for a single linear equation like this x+3y+5z =
10 ? ive tried it like this
A = mat('[1 3 5')
b = mat('')
but i get
raise ValueError, 'expected square matrix'
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the SciPy-User