Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
typealias RealMatrix = Matrix<Double>

Functions

Link copied to clipboard
inline fun RealMatrix.appendColumn(crossinline mapper: (Buffer<Double>) -> Double): RealMatrix
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
operator fun Number.div(vector: DoubleVector): DoubleVector
operator fun RealMatrix.div(double: Double): RealMatrix
operator fun DoubleVector.div(number: Number): DoubleVector
Link copied to clipboard
infix fun Matrix<Double>.dot(other: Matrix<Double>): Matrix<Double>

Optimized dot product for real matrices

Link copied to clipboard
fun DoubleVector(vararg doubles: Double): DoubleVector
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Create a Buffer-based grid with equally distributed numberOfPoints points. The range could be increasing or decreasing. If range has a zero size, then the buffer consisting of numberOfPoints equal values is returned.

Link copied to clipboard

Inverse a square real matrix using LUP decomposition

Link copied to clipboard
operator fun (Double) -> Double.invoke(elementND: BufferND<Double>): BufferND<Double>

Element by element application of any operation on elements to the whole array. Just like in numpy.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun RealMatrix.map(crossinline transform: (Double) -> Double): RealMatrix
inline fun DoubleVector.map(transform: (Double) -> Double): DoubleVector
Link copied to clipboard
inline fun DoubleVector.mapIndexed(transform: (index: Int, value: Double) -> Double): DoubleVector
Link copied to clipboard
inline fun BufferND<Double>.mapInline(crossinline transform: DoubleField.(Double) -> Double): BufferND<Double>

Map one BufferND using function without indices.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
operator fun Double.minus(matrix: RealMatrix): RealMatrix
operator fun Number.minus(vector: DoubleVector): DoubleVector
operator fun RealMatrix.minus(double: Double): RealMatrix
operator fun RealMatrix.minus(other: RealMatrix): RealMatrix
operator fun DoubleVector.minus(number: Number): DoubleVector

operator fun BufferND<Double>.minus(arg: Double): BufferND<Double>

Subtraction operation between BufferND and single element

Link copied to clipboard
operator fun Double.plus(matrix: RealMatrix): RealMatrix
operator fun Number.plus(vector: DoubleVector): DoubleVector
operator fun RealMatrix.plus(double: Double): RealMatrix
operator fun RealMatrix.plus(other: RealMatrix): RealMatrix
operator fun DoubleVector.plus(number: Number): DoubleVector

operator fun BufferND<Double>.plus(arg: Double): BufferND<Double>

Summation operation for BufferND and single element

Link copied to clipboard
fun realMatrix(rowNum: Int, colNum: Int, initializer: DoubleField.(i: Int, j: Int) -> Double): RealMatrix
Link copied to clipboard

Fill the vector with given size with given value

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Convert double range to sequence.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
operator fun Double.times(matrix: RealMatrix): RealMatrix
operator fun Number.times(vector: DoubleVector): DoubleVector
operator fun RealMatrix.times(double: Double): RealMatrix
operator fun DoubleVector.times(number: Number): DoubleVector
Link copied to clipboard
Link copied to clipboard

Create a Buffer-based grid with equally distributed points with a fixed step. The range could be increasing or decreasing. If the step is larger than the range size, single point is returned.

Properties

Link copied to clipboard
Link copied to clipboard