16 Apr
2013
16 Apr
'13
3:45 a.m.
Hey guys, On Tue, Apr 16, 2013 at 4:00 AM, Stéfan van der Walt <stefan@sun.ac.za>wrote:
cnp.ndarray[dtype=float, ndim=2] -> double[:, ::1]
Can you explain this syntax to me? I'd understand double[:, :], but not sure I get double[:, ::1]. Are you indicating that the array should be interpreted in C order? Would double[::1, :] indicate a Fortran-order array? And is double[:, ::1, :] invalid? Finally, can you take any array as input and reinterpret as a one-dimensional array?
4275
Age (days ago)
4275
Last active (days ago)
0 comments
1 participants
participants (1)
-
Juan Nunez-Iglesias