MatrixBuilder

class MatrixBuilder<T : Any, out A : Ring<T>>(linearSpace: LinearSpace<T, A>, rows: Int, columns: Int)

Functions

invoke
Link copied to clipboard
common
operator fun invoke(vararg elements: T): Matrix<T>

Properties

columns
Link copied to clipboard
common
val columns: Int
linearSpace
Link copied to clipboard
common
val linearSpace: LinearSpace<T, A>
rows
Link copied to clipboard
common
val rows: Int

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>
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>

Sources

common source
Link copied to clipboard