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

Link copied to clipboard
fun <out M : Matrix> EjmlMatrix(origin: M)

Functions

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?

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
open val indices: ShapeIndexer
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: IntArray

Inheritors

Link copied to clipboard
Link copied to clipboard

Extensions

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

Sources

Link copied to clipboard