kernelkit.data.ispitched

Contents

kernelkit.data.ispitched#

kernelkit.data.ispitched(array) bool#

Returns True if the array is pitched, False otherwise. If the array is a view, the base array is checked.

Parameters:
arrayarray-like

The array to check.

Returns:
bool

True if the array is pitched, False otherwise.