kmath
0.3.1-dev-RC
common
kmath-core
/
space.kscience.kmath.nd
/
one
one
fun
<
T
,
A
:
Ring
<
T
>
>
AlgebraND
<
T
,
A
>
.
one
(
shape
:
ShapeND
)
:
StructureND
<
T
>
(
source
)
@
JvmName
(
name
=
"oneVarArg"
)
fun
<
T
,
A
:
Ring
<
T
>
>
AlgebraND
<
T
,
A
>
.
one
(
shapeFirst
:
Int
,
vararg
shapeRest
:
Int
)
:
StructureND
<
T
>
(
source
)