EjmlVector

abstract class EjmlVector<out T, out M : Matrix>(val origin: M) : Buffer<T> (source)

Point 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
abstract operator fun get(index: Int): T
Link copied to clipboard
open operator override fun iterator(): Iterator<T>
Link copied to clipboard
open operator override fun Point<Double>.minus(other: Point<Double>): EjmlDoubleVector<DMatrixRMaj>
open operator override fun Point<Double>.minus(other: Point<Double>): EjmlDoubleVector<DMatrixSparseCSC>
open operator override fun Point<Float>.minus(other: Point<Float>): EjmlFloatVector<FMatrixRMaj>
open operator override fun Point<Float>.minus(other: Point<Float>): EjmlFloatVector<FMatrixSparseCSC>
Link copied to clipboard
open operator override fun Point<Double>.plus(other: Point<Double>): EjmlDoubleVector<DMatrixRMaj>
open operator override fun Point<Double>.plus(other: Point<Double>): EjmlDoubleVector<DMatrixSparseCSC>
open operator override fun Point<Float>.plus(other: Point<Float>): EjmlFloatVector<FMatrixRMaj>
open operator override fun Point<Float>.plus(other: Point<Float>): EjmlFloatVector<FMatrixSparseCSC>
Link copied to clipboard
open operator override fun Point<Double>.times(value: Double): EjmlDoubleVector<DMatrixRMaj>
open operator override fun Point<Double>.times(value: Double): EjmlDoubleVector<DMatrixSparseCSC>
open operator override fun Point<Float>.times(value: Float): EjmlFloatVector<FMatrixRMaj>
open operator override fun Point<Float>.times(value: Float): EjmlFloatVector<FMatrixSparseCSC>
Link copied to clipboard
open override fun Point<Double>.toEjml(): EjmlDoubleVector<DMatrixRMaj>
open override fun Point<Double>.toEjml(): EjmlDoubleVector<DMatrixSparseCSC>
open override fun Point<Float>.toEjml(): EjmlFloatVector<FMatrixRMaj>
open override fun Point<Float>.toEjml(): EjmlFloatVector<FMatrixSparseCSC>

Converts this vector to EJML one.

Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
open operator override fun Point<Double>.unaryMinus(): EjmlDoubleVector<DMatrixRMaj>
open operator override fun Point<Double>.unaryMinus(): EjmlDoubleVector<DMatrixSparseCSC>
open operator override fun Point<Float>.unaryMinus(): EjmlFloatVector<FMatrixRMaj>
open operator override fun Point<Float>.unaryMinus(): EjmlFloatVector<FMatrixSparseCSC>

Properties

Link copied to clipboard
open val origin: M

The underlying matrix, must have only one row.

Link copied to clipboard
open override val size: Int