DoubleLinearSpace
Functions
Link copied to clipboard
open override fun buildMatrix(rows: Int, columns: Int, initializer: DoubleField.(i: Int, j: Int) -> Double): Matrix<Double>
Produces a matrix with this context and given dimensions.
Link copied to clipboard
Produces a point compatible with matrix space (and possibly optimized for it).
Link copied to clipboard
Compute a feature of the structure in this scope. Structure features take precedence other context features.
Link copied to clipboard
inline fun <T : Any, F : StructureFeature> LinearSpace<T, *>.computeFeature(structure: Matrix<T>): F?
Get a feature of the structure in this scope. Structure features take precedence other context features.
Link copied to clipboard
fun <T : Comparable<T>> LinearSpace<T, Ring<T>>.contentEquals(st1: StructureND<T>, st2: StructureND<T>): Boolean
Indicates whether some StructureND is equal to another one.
fun <T : Comparable<T>> LinearSpace<T, Ring<T>>.contentEquals(st1: StructureND<T>, st2: StructureND<T>, absoluteTolerance: T): Boolean
Indicates whether some StructureND is equal to another one with absoluteTolerance.
Link copied to clipboard
inline fun <T : Comparable<T>> LinearSpace<T, Field<T>>.lup(matrix: Matrix<T>, noinline checkSingular: (T) -> Boolean): LupDecomposition<T>
fun LinearSpace<Double, DoubleField>.lup(matrix: Matrix<Double>, singularityThreshold: Double = 1.0E-11): LupDecomposition<Double>
fun <T : Comparable<T>> LinearSpace<T, Field<T>>.lup(factory: MutableBufferFactory<T>, matrix: Matrix<T>, checkSingular: (T) -> Boolean): LupDecomposition<T>
Create a lup decomposition of generic matrix.
Link copied to clipboard
fun LinearSpace<Double, DoubleField>.lupSolver(singularityThreshold: Double = 1.0E-11): LinearSolver<Double>
fun <T : Comparable<T>, F : Field<T>> LinearSpace<T, F>.lupSolver(bufferFactory: MutableBufferFactory<T>, singularityCheck: (T) -> Boolean): LinearSolver<T>
Produce a generic solver based on LUP decomposition
Link copied to clipboard
Multiplies an element by a vector of it.
Multiplies a matrix by its element.
Multiplies a vector by its element.
Multiplies an element by a matrix of it.
Link copied to clipboard