kmath-core
0.3.1
common
kmath-core
/
space.kscience.kmath.nd
/
withNdAlgebra
with
Nd
Algebra
@
UnstableKMathAPI
inline
fun
<
R
>
DoubleField
.
withNdAlgebra
(
vararg
shape
:
Int
,
action
:
DoubleFieldND
.
(
)
->
R
)
:
R
Produce a context for n-dimensional operations inside this real field
inline
fun
<
R
>
IntRing
.
withNdAlgebra
(
vararg
shape
:
Int
,
action
:
IntRingND
.
(
)
->
R
)
:
R
inline
fun
<
R
>
ShortRing
.
withNdAlgebra
(
vararg
shape
:
Int
,
action
:
ShortRingND
.
(
)
->
R
)
:
R