[SciPy-user] broadcasting elementwise on sparse matrix
Wed Oct 1 11:17:36 CDT 2008
On Wed, Oct 1, 2008 at 12:11 PM, Robin <email@example.com> wrote:
> That's quite tricky... :)
> It is a CSC matrix - not sure why, but I am saving and loading it from
> Matlab files, and when I first started (a year or so again) it seemed
> CSC was the most reliable (or at least I always got a CSC from .mat
> Presumably the same thing the same thing will work though.
Yep, except it would scale rows. I'd stick with spdiags() for safety.
Nathan Bell firstname.lastname@example.org
More information about the SciPy-user