I manually change the shape and steps of the NumPy arrays, which may (or may not) invalidate adjacency flags.
- Do I have to manually check if the steps match the values you expect from the form and
NPY_C_CONTIGUOUS (or NPY_F_CONTIGUOUS )? - Is there an API function that will do this for me and automatically clear or enable flags, as appropriate?
source share