On 9/12/2011 7:18 AM, Jonas Wallin wrote:
> Why does
>
> MuY += MuY.transpose()
>
> and
>
> MuY = MuY + MuY.transpose()
>
> give different answers?
Because the first one is done in-place,
so you are changing MuY (and thus MuY.transpose)
as the operation proceeds.
MuY.transpose() is gene
Hello,
I am sure this question has been answered before but I can't find the right
search word to find it.
Why does
MuY += MuY.transpose()
and
MuY = MuY + MuY.transpose()
give different answers?
thanks
/Jonas Wallin
___
NumPy-Discussion m