Stride descriptor for memory layout
Constructors
new(shape :
Shape, contiguous :
Bool = true)
SourceInstance methods
contiguous?(shape :
Shape) :
Bool Check if memory is contiguous (row-major)
SourceCompute flat index from multi-dimensional indices
Source