kmath
0.3.1-dev-RC
common
kmath-dimensions
/
space.kscience.kmath.dimensions
/
DMatrixContext
/
produce
produce
inline
fun
<
R
:
Dimension
,
C
:
Dimension
>
produce
(
noinline
initializer
:
A
.
(
i
:
Int
,
j
:
Int
)
->
T
)
:
DMatrix
<
T
,
R
,
C
>
(
source
)
Produce a matrix with this context and given dimensions