kmath-core
/
space.kscience.kmath.nd
/
DefaultStrides
common
Default
Strides
class
DefaultStrides
:
Strides
Content copied to clipboard
Simple implementation of
Strides
.
Types
Functions
Properties
Types
Companion
Link copied to clipboard
common
object
Companion
Content copied to clipboard
Functions
equals
Link copied to clipboard
common
open operator override fun
equals
(other:
Any
?):
Boolean
Content copied to clipboard
hashCode
Link copied to clipboard
common
open override fun
hashCode
():
Int
Content copied to clipboard
index
Link copied to clipboard
common
open override fun
index
(offset:
Int
):
IntArray
Content copied to clipboard
Get multidimensional from linear
indices
Link copied to clipboard
common
open fun
indices
():
Sequence
<
IntArray
>
Content copied to clipboard
Iterate over ND indices in a natural order
offset
Link copied to clipboard
common
open fun
offset
(index:
IntArray
):
Int
Content copied to clipboard
Get linear index from multidimensional index
Properties
linearSize
Link copied to clipboard
common
open override val
linearSize
:
Int
Content copied to clipboard
The size of linear buffer to accommodate all elements of ND-structure corresponding to strides
shape
Link copied to clipboard
common
open override val
shape
:
IntArray
Content copied to clipboard
Shape of NDStructure
strides
Link copied to clipboard
common
open override val
strides
:
IntArray
Content copied to clipboard
Strides for memory access