kmath
0.3.1-dev-RC
common
kmath-multik
/
space.kscience.kmath.multik
/
MultikTensor
Multik
Tensor
@
JvmInline
value
class
MultikTensor
<
T
>
(
val
array
:
MutableMultiArray
<
T
,
DN
>
)
:
MutableStructureND
<
T
>
(
source
)
Members
Constructors
Multik
Tensor
Link copied to clipboard
constructor
(
array
:
MutableMultiArray
<
T
,
DN
>
)
Functions
elements
Link copied to clipboard
@
PerformancePitfall
open
override
fun
elements
(
)
:
Sequence
<
Pair
<
IntArray
,
T
>
>
get
Link copied to clipboard
@
PerformancePitfall
open
operator override
fun
get
(
index
:
IntArray
)
:
T
get
Feature
Link copied to clipboard
open
override
fun
<
F
:
StructureFeature
>
getFeature
(
type
:
KClass
<
out
F
>
)
:
F
?
set
Link copied to clipboard
@
PerformancePitfall
open
operator override
fun
set
(
index
:
IntArray
,
value
:
T
)
Properties
array
Link copied to clipboard
val
array
:
MutableMultiArray
<
T
,
DN
>
dimension
Link copied to clipboard
open
val
dimension
:
Int
indices
Link copied to clipboard
open
val
indices
:
ShapeIndexer
shape
Link copied to clipboard
open
override
val
shape
:
ShapeND