kmath-core
/
space.kscience.kmath.linear
/
one
common
one
fun <
T
:
Any
>
LinearSpace
<
T
,
Ring
<
T
>>.
one
(rows:
Int
, columns:
Int
):
Matrix
<
T
>
Content copied to clipboard
Diagonal matrix of ones. The matrix is virtual no actual matrix is created