probly.representation.array_like.ArrayFlagsLike

class probly.representation.array_like.ArrayFlagsLike(*args, **kwargs)[source]

Bases: Protocol

Protocol for array flags.

aligned: bool
property behaved: bool

True if the array is well-behaved, i.e. it is aligned and writeable.

property c_contiguous: bool

True if the array is C-contiguous.

property carray: bool

True if the array is C-contiguous.

property contiguous: bool

True if the array is contiguous.

property f_contiguous: bool

True if the array is Fortran-contiguous.

property farray: bool

True if the array is Fortran-contiguous.

property fnc: bool

True if the array is Fortran-contiguous but not C-contiguous.

property forc: bool

True if the array is C-contiguous or Fortran-contiguous.

property fortran: bool

True if the array is Fortran-contiguous.

property owndata: bool

True if the array owns its own data.

writeable: bool
writebackifcopy: bool