[SciPy-dev] Shape mismatch sparse/dense matrix vector multiplication

Nils Wagner nwagner at iam.uni-stuttgart.de
Fri Oct 20 13:39:26 EDT 2006


On Fri, 20 Oct 2006 11:54:09 -0500
  Robert Kern <robert.kern at gmail.com> wrote:
> Nils Wagner wrote:
>> Hi all,
>> 
>> I am confused by the the result of the attached script.
>> Is that a bug ?
> 
> What result did you get? 

Spare matrix vector multiplication (48,)
Dense matrix vector multiplication (1, 48)

What result did you expect?

I expected the same shape for both operations dense and 
sparse multiplication.

Am I missing something ?

Nils

> 
> -- 
> 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-dev mailing list
> Scipy-dev at scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-dev
  



More information about the SciPy-Dev mailing list