[Numpy-discussion] linear algebra help

Quilby quilby at gmail.com
Sun May 17 12:14:05 EDT 2009


Right the dimensions I gave were wrong.
What do I need to do for m>=n (more rows than columns)?  Can I use the
same function?

When I run the script written by Nils (thanks!) I get:
    from numpy.random import rand, seed
ImportError: No module named random

But importing numpy works ok. What do I need to install?

Thanks again!

On Sun, May 17, 2009 at 1:51 AM, Alan G Isaac <aisaac at american.edu> wrote:
> On 5/16/2009 9:01 AM Quilby apparently wrote:
>> Ax = y
>> Where A is a rational m*n matrix (m<=n), and x and y are vectors of
>> the right size. I know A and y, I don't know what x is equal to. I
>> also know that there is no x where Ax equals exactly y.
>
> If m<=n, that can only be true if there are not
> m linearly independent columns of A.  Are you
> sure you have the dimensions right?
>
> Alan Isaac
>
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion at scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>



More information about the NumPy-Discussion mailing list