kmath-core
/
space.kscience.kmath.linear
/
MatrixBuilder
common
Matrix
Builder
class
MatrixBuilder
<
T
:
Any
, out
A
:
Ring
<
T
>>(linearSpace:
LinearSpace
<
T
,
A
>, rows:
Int
, columns:
Int
)
Content copied to clipboard
Functions
Properties
Extensions
Sources
Functions
invoke
Link copied to clipboard
common
operator fun
invoke
(vararg elements:
T
):
Matrix
<
T
>
Content copied to clipboard
Properties
columns
Link copied to clipboard
common
val
columns
:
Int
Content copied to clipboard
linearSpace
Link copied to clipboard
common
val
linearSpace
:
LinearSpace
<
T
,
A
>
Content copied to clipboard
rows
Link copied to clipboard
common
val
rows
:
Int
Content copied to clipboard
Extensions
symmetric
Link copied to clipboard
common
fun <
T
:
Any
,
A
:
Ring
<
T
>>
MatrixBuilder
<
T
,
A
>.
symmetric
(builder: (i:
Int
, j:
Int
) ->
T
):
Matrix
<
T
>
Content copied to clipboard
Naive implementation of a symmetric matrix builder, that adds a
SymmetricMatrixFeature
tag.
virtual
Link copied to clipboard
common
fun <
T
:
Any
>
MatrixBuilder
<
T
, *>.
virtual
(generator: (i:
Int
, j:
Int
) ->
T
):
VirtualMatrix
<
T
>
Content copied to clipboard
Sources
common source
Link copied to clipboard