DoubleLinearSpace

object DoubleLinearSpace : LinearSpace<Double, DoubleField>

Functions

buildMatrix
Link copied to clipboard
common
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.
buildVector
Link copied to clipboard
common
open override fun buildVector(size: Int, initializer: DoubleField.(Int) -> Double): DoubleBuffer
Produces a point compatible with matrix space (and possibly optimized for it).
computeFeature
Link copied to clipboard
common
open fun <F : StructureFeature> computeFeature(structure: Matrix<Double>, type: KClass<out F>): F?
Compute a feature of the structure in this scope.
div
Link copied to clipboard
common
operator fun Point<Double>.div(value: Double): DoubleBuffer
dot
Link copied to clipboard
common
open infix override fun Matrix<Double>.dot(other: Matrix<Double>): Matrix<Double>
Computes the dot product of this matrix and another one.
open infix override fun Matrix<Double>.dot(vector: Point<Double>): DoubleBuffer
Computes the dot product of this matrix and a vector.
minus
Link copied to clipboard
common
open operator override fun Matrix<Double>.minus(other: Matrix<Double>): Matrix<Double>
Matrix subtraction
open operator override fun Point<Double>.minus(other: Point<Double>): DoubleBuffer
Vector subtraction
plus
Link copied to clipboard
common
open operator override fun Matrix<Double>.plus(other: Matrix<Double>): Matrix<Double>
Matrix sum
open operator override fun Point<Double>.plus(other: Point<Double>): DoubleBuffer
Vector sum
times
Link copied to clipboard
common
open operator override fun Double.times(v: Point<Double>): DoubleBuffer
Multiplies an element by a vector of it.
open operator override fun Matrix<Double>.times(value: Double): Matrix<Double>
Multiplies a matrix by its element.
open operator override fun Point<Double>.times(value: Double): DoubleBuffer
Multiplies a vector by its element.
open operator fun Double.times(m: Matrix<Double>): Matrix<Double>
Multiplies an element by a matrix of it.
unaryMinus
Link copied to clipboard
common
open operator override fun Matrix<Double>.unaryMinus(): Matrix<Double>
open operator fun Point<Double>.unaryMinus(): Point<Double>

Properties

elementAlgebra
Link copied to clipboard
common
open override val elementAlgebra: DoubleField

Sources

common source
Link copied to clipboard