EjmlMatrix

abstract class EjmlMatrix<out T, out M : Matrix>(val origin: M) : Structure2D<T> (source)

space.kscience.kmath.linear.Matrix implementation based on EJML Matrix.

Author

Iaroslav Postovalov

Parameters

T

the type of elements contained in the buffer.

M

the type of EJML matrix.

Inheritors

Constructors

Link copied to clipboard
constructor(origin: M)

Functions

Link copied to clipboard
open infix override fun Matrix<Double>.dot(other: Matrix<Double>): EjmlDoubleMatrix<DMatrixRMaj>
open infix override fun Matrix<Double>.dot(vector: Point<Double>): EjmlDoubleVector<DMatrixRMaj>
open infix override fun Matrix<Double>.dot(other: Matrix<Double>): EjmlDoubleMatrix<DMatrixSparseCSC>
open infix override fun Matrix<Double>.dot(vector: Point<Double>): EjmlDoubleVector<DMatrixSparseCSC>
open infix override fun Matrix<Float>.dot(other: Matrix<Float>): EjmlFloatMatrix<FMatrixRMaj>
open infix override fun Matrix<Float>.dot(vector: Point<Float>): EjmlFloatVector<FMatrixRMaj>
open infix override fun Matrix<Float>.dot(other: Matrix<Float>): EjmlFloatMatrix<FMatrixSparseCSC>
open infix override fun Matrix<Float>.dot(vector: Point<Float>): EjmlFloatVector<FMatrixSparseCSC>
Link copied to clipboard
open override fun elements(): Sequence<Pair<IntArray, T>>
Link copied to clipboard
open operator override fun get(index: IntArray): T
abstract operator fun get(i: Int, j: Int): T
Link copied to clipboard
open override fun <F : StructureFeature> getFeature(type: KClass<out F>): F?
Link copied to clipboard
open operator override fun Matrix<Double>.minus(other: Matrix<Double>): EjmlDoubleMatrix<DMatrixRMaj>
open operator override fun Matrix<Double>.minus(other: Matrix<Double>): EjmlDoubleMatrix<DMatrixSparseCSC>
open operator override fun Matrix<Float>.minus(other: Matrix<Float>): EjmlFloatMatrix<FMatrixRMaj>
open operator override fun Matrix<Float>.minus(other: Matrix<Float>): EjmlFloatMatrix<FMatrixSparseCSC>
Link copied to clipboard
open operator override fun Matrix<Double>.plus(other: Matrix<Double>): EjmlDoubleMatrix<DMatrixRMaj>
open operator override fun Matrix<Double>.plus(other: Matrix<Double>): EjmlDoubleMatrix<DMatrixSparseCSC>
open operator override fun Matrix<Float>.plus(other: Matrix<Float>): EjmlFloatMatrix<FMatrixRMaj>
open operator override fun Matrix<Float>.plus(other: Matrix<Float>): EjmlFloatMatrix<FMatrixSparseCSC>
Link copied to clipboard
open operator override fun Matrix<Double>.times(value: Double): EjmlDoubleMatrix<DMatrixRMaj>
open operator override fun Matrix<Double>.times(value: Double): EjmlDoubleMatrix<DMatrixSparseCSC>
open operator override fun Matrix<Float>.times(value: Float): EjmlFloatMatrix<FMatrixRMaj>
open operator override fun Matrix<Float>.times(value: Float): EjmlFloatMatrix<FMatrixSparseCSC>
Link copied to clipboard
open override fun Matrix<Double>.toEjml(): EjmlDoubleMatrix<DMatrixRMaj>
open override fun Matrix<Double>.toEjml(): EjmlDoubleMatrix<DMatrixSparseCSC>
open override fun Matrix<Float>.toEjml(): EjmlFloatMatrix<FMatrixRMaj>
open override fun Matrix<Float>.toEjml(): EjmlFloatMatrix<FMatrixSparseCSC>

Converts this matrix to EJML one.

Link copied to clipboard
open operator override fun Matrix<Double>.unaryMinus(): Matrix<Double>
open operator override fun Matrix<Double>.unaryMinus(): Matrix<Double>
open operator override fun Matrix<Float>.unaryMinus(): Matrix<Float>
open operator override fun Matrix<Float>.unaryMinus(): Matrix<Float>

Properties

Link copied to clipboard
open override val colNum: Int
Link copied to clipboard
open val columns: List<Buffer<T>>
Link copied to clipboard
open val dimension: Int
Link copied to clipboard
Link copied to clipboard
open val origin: M

The underlying EJML matrix.

Link copied to clipboard
open override val rowNum: Int
Link copied to clipboard
open val rows: List<Buffer<T>>
Link copied to clipboard
open override val shape: ShapeND