multik-core
0.2.0
common
multik-core
/
org.jetbrains.kotlinx.multik.ndarray.data
/
NDArray
/
NDArray
NDArray
common
fun
<
T
,
D
:
Dimension
>
NDArray
(
data
:
ImmutableMemoryView
<
T
>
,
offset
:
Int
=
0
,
shape
:
IntArray
,
strides
:
IntArray
=
computeStrides(shape)
,
dim
:
D
,
base
:
MultiArray
<
T
,
out
Dimension
>
?
=
null
)
Content copied to clipboard
Parameters
T
type of stored values.
D
dimension.