EjmlMatrix

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

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.

Constructors

EjmlMatrix
Link copied to clipboard
fun <out M : Matrix> EjmlMatrix(origin: M)
the type of elements contained in the buffer.

Functions

elements
Link copied to clipboard
open override fun elements(): Sequence<Pair<IntArray, T>>
get
Link copied to clipboard
open operator override fun get(index: IntArray): T
abstract operator fun get(i: Int, j: Int): T
getFeature
Link copied to clipboard
open override fun <F : StructureFeature> getFeature(type: KClass<out F>): F?

Properties

colNum
Link copied to clipboard
open override val colNum: Int
columns
Link copied to clipboard
open val columns: List<Buffer<T>>
dimension
Link copied to clipboard
open val dimension: Int
origin
Link copied to clipboard
open val origin: M
The underlying EJML matrix.
rowNum
Link copied to clipboard
open override val rowNum: Int
rows
Link copied to clipboard
open val rows: List<Buffer<T>>
shape
Link copied to clipboard
open override val shape: IntArray

Inheritors

EjmlDoubleMatrix
Link copied to clipboard
EjmlFloatMatrix
Link copied to clipboard

Extensions

inverse
Link copied to clipboard
fun EjmlMatrix<Double, *>.inverse(): Structure2D<Double>
fun EjmlMatrix<Float, *>.inverse(): Structure2D<Double>
fun EjmlMatrix<Float, *>.inverse(): Structure2D<Double>
fun EjmlMatrix<Double, *>.inverse(): Structure2D<Double>

Sources

jvm source
Link copied to clipboard