[SciPy-User] a=b operation in numpy
Tue Jul 2 10:33:40 CDT 2013
On Tue, Jul 2, 2013 at 11:24 AM, Frédéric Parrenin
> Dear all,
> Does anybody know what is the rational in defining for the 'a=b' operation a
> pointer copy and not a complete copy?
> It is inconsistent from an algebraic point of view, since 'a=b' is not the
> same as 'a=b+0'.
> And it is also confusing for starters.
python variables are references,
fortunately, we don't get copying of data all the time like some other
(special purpose) languages
> Best regards,
> Frédéric Parrenin
> SciPy-User mailing list
More information about the SciPy-User