CMLinearSpace

object CMLinearSpace : LinearSpace<Double, DoubleField>

Functions

buildMatrix
Link copied to clipboard
open override fun buildMatrix(rows: Int, columns: Int, initializer: DoubleField.(i: Int, j: Int) -> Double): CMMatrix
buildVector
Link copied to clipboard
open override fun buildVector(size: Int, initializer: DoubleField.(Int) -> Double): Point<Double>
dot
Link copied to clipboard
open infix override fun Matrix<Double>.dot(other: Matrix<Double>): CMMatrix
open infix override fun Matrix<Double>.dot(vector: Point<Double>): CMVector
getFeature
Link copied to clipboard
open override fun <F : StructureFeature> getFeature(structure: Matrix<Double>, type: KClass<out F>): F?
minus
Link copied to clipboard
open operator override fun Matrix<Double>.minus(other: Matrix<Double>): CMMatrix
open operator override fun Point<Double>.minus(other: Point<Double>): CMVector
plus
Link copied to clipboard
open operator override fun Matrix<Double>.plus(other: Matrix<Double>): CMMatrix
open operator override fun Point<Double>.plus(other: Point<Double>): CMVector
times
Link copied to clipboard
open operator override fun Double.times(m: Matrix<Double>): CMMatrix
open operator override fun Double.times(v: Point<Double>): CMVector
open operator override fun Matrix<Double>.times(value: Double): CMMatrix
open operator override fun Point<Double>.times(value: Double): CMVector
toCM
Link copied to clipboard
fun Matrix<Double>.toCM(): CMMatrix
fun Point<Double>.toCM(): CMVector
unaryMinus
Link copied to clipboard
open operator fun Matrix<Double>.unaryMinus(): Matrix<Double>
open operator fun Point<Double>.unaryMinus(): Point<Double>

Properties

elementAlgebra
Link copied to clipboard
open override val elementAlgebra: DoubleField

Extensions

inverse
Link copied to clipboard
fun CMLinearSpace.inverse(a: Matrix<Double>, decomposition: CMDecomposition = CMDecomposition.LUP): CMMatrix
solve
Link copied to clipboard
fun CMLinearSpace.solve(a: Matrix<Double>, b: Matrix<Double>, decomposition: CMDecomposition = CMDecomposition.LUP): CMMatrix
fun CMLinearSpace.solve(a: Matrix<Double>, b: Point<Double>, decomposition: CMDecomposition = CMDecomposition.LUP): CMVector
solver
Link copied to clipboard
fun CMLinearSpace.solver(a: Matrix<Double>, decomposition: CMDecomposition = CMDecomposition.LUP): DecompositionSolver