Return a copy of the array.
Parameters:Controls the memory layout of the copy. âCâ means C-order, âFâ means F-order, âAâ means âFâ if a is Fortran contiguous, âCâ otherwise. âKâ means match the layout of a as closely as possible. (Note that this function and numpy.copy
are very similar, but have different default values for their order= arguments.)
Examples
>>> x = np.array([[1,2,3],[4,5,6]], order='F')
>>> x array([[0, 0, 0], [0, 0, 0]])
>>> y array([[1, 2, 3], [4, 5, 6]])
>>> y.flags['C_CONTIGUOUS'] True
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4