EjmlLinearSpace

abstract class EjmlLinearSpace<T : Any, out A : Ring<T>, out M : Matrix> : LinearSpace<T, A> (source)

LinearSpace implementation specialized for a certain EJML type.

Author

Iaroslav Postovalov

Parameters

T

the type of items in the matrices.

A

the element context type.

M

the EJML matrix type.

Inheritors

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
abstract override fun buildMatrix(rows: Int, columns: Int, initializer: A.(i: Int, j: Int) -> T): EjmlMatrix<T, M>
Link copied to clipboard
abstract override fun buildVector(size: Int, initializer: A.(Int) -> T): EjmlVector<T, M>
Link copied to clipboard
open fun <F : StructureFeature> computeFeature(structure: Matrix<T>, type: KClass<out F>): F?
Link copied to clipboard
open infix fun Matrix<T>.dot(other: Matrix<T>): Matrix<T>
open infix fun Matrix<T>.dot(vector: Point<T>): Point<T>
Link copied to clipboard
Link copied to clipboard
open operator fun Matrix<T>.minus(other: Matrix<T>): Matrix<T>
open operator fun Point<T>.minus(other: Point<T>): Point<T>
Link copied to clipboard
open operator fun Matrix<T>.plus(other: Matrix<T>): Matrix<T>
open operator fun Point<T>.plus(other: Point<T>): Point<T>
Link copied to clipboard
open operator fun T.times(m: Matrix<T>): Matrix<T>
open operator fun T.times(v: Point<T>): Point<T>
open operator fun Matrix<T>.times(value: T): Matrix<T>
open operator fun Point<T>.times(value: T): Point<T>
Link copied to clipboard
abstract fun Matrix<T>.toEjml(): EjmlMatrix<T, M>

Converts this matrix to EJML one.

abstract fun Point<T>.toEjml(): EjmlVector<T, M>

Converts this vector to EJML one.

Link copied to clipboard
open operator fun Matrix<T>.unaryMinus(): Matrix<T>
open operator fun Point<T>.unaryMinus(): Point<T>

Properties

Link copied to clipboard
abstract val elementAlgebra: A