numpy.isfortran()
numpy.isfortran
-
numpy.isfortran(a)
[source] -
Returns True if the array is Fortran contiguous but not C contiguous.
This function is obsolete and, because of changes due to relaxed stride checking, its return value for the same array may differ for versions of Numpy >= 1.10 and previous versions. If you only want to check if an array is Fortran contiguous use
a.flags.f_contiguous
instead.Parameters: a : ndarray
Input array.