[SciPy-user] array += matrix leads to ValueError

Bastian Weber bastian.weber@gmx-topmail...
Fri Dec 19 17:29:18 CST 2008


>> ...
>> Can anyone explain me why it is implemented this way? I mean, it is not
>> that intuitive.
> 
> In-place operations require that the result is broadcastable [1] to the 
> same size as the left-hand side.
> 

OK, thanks for making that clear. Although I still dont think it is very
intuitive, at least I understand the reason.

Bastian


More information about the SciPy-user mailing list