[SciPy-User] how use the tutorial "Extending ndimage in C"
Fri Oct 22 11:15:30 CDT 2010
i try to use the tutorial named "Extending ndimage in C" but It doesn't work.
If anyone use geometric_transform() with a C function, can he help me?
On Oct 22, 2010, at 6:03 PM, Robert Kern wrote:
> On Fri, Oct 22, 2010 at 10:53, bert wiley <email@example.com> wrote:
>> 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'
> There is no unique point solution to that one equation. There is a
> plane in 3D space comprised of an infinite number of points that
> describes the solution to that equation. For three parameters,
> linalg.solve() requires three equations. That's why you get the
> ValueError saying that it expects a square matrix, 3x3 in this case.
> Robert Kern
> "I have come to believe that the whole world is an enigma, a harmless
> enigma that is made terrible by our own mad attempt to interpret it as
> though it had an underlying truth."
> -- Umberto Eco
> SciPy-User mailing list
INRIA - Virtual Plants
CIRAD, Avenue Agropolis
34398 Montpellier Cedex 5, France
04 67 61 58 00 (ask number 60 09)
email : firstname.lastname@example.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the SciPy-User