LupDecomposition

class LupDecomposition<T : Any>(context: LinearSpace<T, *>, elementContext: Field<T>, lu: Matrix<T>, pivot: IntArray, even: Boolean) : LupDecompositionFeature<T> , DeterminantFeature<T>

Common implementation of LupDecompositionFeature.

Constructors

LupDecomposition
Link copied to clipboard
common
fun <T : Any> LupDecomposition(context: LinearSpace<T, *>, elementContext: Field<T>, lu: Matrix<T>, pivot: IntArray, even: Boolean)

Functions

equals
Link copied to clipboard
common
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open fun hashCode(): Int
toString
Link copied to clipboard
common
open fun toString(): String

Properties

context
Link copied to clipboard
common
val context: LinearSpace<T, *>
determinant
Link copied to clipboard
common
open override val determinant: T
Return the determinant of the matrix
elementContext
Link copied to clipboard
common
val elementContext: Field<T>
l
Link copied to clipboard
common
open override val l: Matrix<T>
Returns the matrix L of the decomposition.
lu
Link copied to clipboard
common
val lu: Matrix<T>
p
Link copied to clipboard
common
open override val p: Matrix<T>
Returns the P rows permutation matrix.
pivot
Link copied to clipboard
common
val pivot: IntArray
u
Link copied to clipboard
common
open override val u: Matrix<T>
Returns the matrix U of the decomposition.

Extensions

solveWithLup
Link copied to clipboard
common
fun <T : Any> LupDecomposition<T>.solveWithLup(factory: MutableBufferFactory<T>, matrix: Matrix<T>): Matrix<T>
inline fun <T : Any> LupDecomposition<T>.solveWithLup(matrix: Matrix<T>): Matrix<T>