[Numpy-discussion] Sparse matrices in NumPy?
Paul Gettings
gettings at mines.utah.edu
Mon Jun 5 13:56:09 EDT 2000
> I would dare to say that what you really need is
> C=A[:,NewAxis]*B
> C will be shaped as (7731,220), which is what you probably need.
Based on a simple (small) test, this is exactly what I want; the result of
the NewAxis computation is identical to a matrix multiply of the full-sized
matrices. Thanks. Now I just have to read the docs until I understand
precisely how and why this works. :)
--
101 USES FOR A DEAD MICROPROCESSOR
(62) Fungus trellis
More information about the NumPy-Discussion
mailing list