You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It goes down to direct buffers. To understand the result try: np.eye(4).view('float32'). Directly interpreting buffers is probably wrong though when types are known...
Activity
njsmith commentedon May 22, 2013
U[0] is a void scalar, and this scalar contains a 4x4 array, so that's the
explanation for that mystery.
The behaviour's still a bug though.
On Wed, May 22, 2013 at 7:28 PM, Nicolas Rougier
[email protected]:
seberg commentedon May 23, 2013
It goes down to direct buffers. To understand the result try:
np.eye(4).view('float32'). Directly interpreting buffers is probably wrong though when types are known...MAINT: improve struct assignment, allow multi fields views
MAINT: improve struct assignment, allow multi fields views