[SciPy-dev] feedback on scipy.sparse
Thu Dec 13 13:17:22 CST 2007
On Dec 13, 2007 3:21 AM, Robert Cimrman <email@example.com> wrote:
> > 1) Should we prefer 'dims' over 'shape' or vice versa? IMO 'shape'
> > is arguably more natural since all the types have a .shape attribute
> Yes, please.
I'll deprecate 'dims' then.
> Concerning the Stefan's idea of static methods for spidentity etc., we
> could use only one method for all of them, e.g.
> class spmatrix:
> def special( name, format = ... ):
> if name = 'identity':
> return spidentity(n,format=format)
> to prevent cluttering od the class you mentioned.
Good idea, I hadn't considered that option.
Nathan Bell firstname.lastname@example.org
More information about the Scipy-dev