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

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

Properties

Link copied to clipboard
val context: LinearSpace<T, *>
Link copied to clipboard
open override val determinant: T

Return the determinant of the matrix

Link copied to clipboard
val elementContext: Field<T>
Link copied to clipboard
open val key: FeatureKey<StructureFeature>

A key used for extraction

Link copied to clipboard
open override val l: Matrix<T>

Returns the matrix L of the decomposition.

Link copied to clipboard
val lu: Matrix<T>
Link copied to clipboard
open override val p: Matrix<T>

Returns the P rows permutation matrix.

Link copied to clipboard
val pivot: IntArray
Link copied to clipboard
open override val u: Matrix<T>

Returns the matrix U of the decomposition.

Sources

Link copied to clipboard