DoubleLinearSpace
Functions
Link copied to clipboard
open override fun buildMatrix(rows: Int, columns: Int, initializer: DoubleField.(i: Int, j: Int) -> Double): Matrix<Double>
Content copied to clipboard
Produces a matrix with this context and given dimensions.
Link copied to clipboard
open override fun buildVector(size: Int, initializer: DoubleField.(Int) -> Double): DoubleBuffer
Content copied to clipboard
Produces a point compatible with matrix space (and possibly optimized for it).
Link copied to clipboard
open fun <F : StructureFeature> computeFeature(structure: Matrix<Double>, type: KClass<out F>): F?
Content copied to clipboard
Compute a feature of the structure in this scope. Structure features take precedence other context features.
Link copied to clipboard
open infix override fun Matrix<Double>.dot(other: Matrix<Double>): Matrix<Double>
Content copied to clipboard
Computes the dot product of this matrix and another one.
open infix override fun Matrix<Double>.dot(vector: Point<Double>): DoubleBuffer
Content copied to clipboard
Computes the dot product of this matrix and a vector.
Link copied to clipboard
Multiplies an element by a vector of it.
open operator override fun Matrix<Double>.times(value: Double): Matrix<Double>
Content copied to clipboard
Multiplies a matrix by its element.
open operator override fun Point<Double>.times(value: Double): DoubleBuffer
Content copied to clipboard
Multiplies a vector by its element.
Multiplies an element by a matrix of it.
Link copied to clipboard