kmath
0.3.1-dev-RC
common
kmath-core
/
space.kscience.kmath.nd
/
structureND
structure
ND
fun
<
T
,
A
:
Algebra
<
T
>
>
BufferAlgebraND
<
T
,
A
>
.
structureND
(
vararg
shape
:
Int
,
initializer
:
A
.
(
IntArray
)
->
T
)
:
BufferND
<
T
>
(
source
)
fun
<
T
,
EA
:
Algebra
<
T
>
,
A
:
BufferAlgebraND
<
T
,
EA
>
,
WithShape
>
A
.
structureND
(
initializer
:
EA
.
(
IntArray
)
->
T
)
:
BufferND
<
T
>
(
source
)
fun
<
T
,
A
:
Algebra
<
T
>
>
AlgebraND
<
T
,
A
>
.
structureND
(
shapeFirst
:
Int
,
vararg
shapeRest
:
Int
,
initializer
:
A
.
(
IntArray
)
->
T
)
:
StructureND
<
T
>
(
source
)