Package space.kscience.kmath.linear
Types
BufferedLinearSpace
Link copied to clipboard
class BufferedLinearSpace<T, out A : Ring<T>>(bufferAlgebra: BufferAlgebra<T, A>) : LinearSpace<T, A>
Content copied to clipboard
CholeskyDecompositionFeature
Link copied to clipboard
DeterminantFeature
Link copied to clipboard
DiagonalFeature
Link copied to clipboard
DoubleLinearSpace
Link copied to clipboard
InverseMatrixFeature
Link copied to clipboard
LFeature
Link copied to clipboard
LinearSolver
Link copied to clipboard
LinearSpace
Link copied to clipboard
LUDecompositionFeature
Link copied to clipboard
LupDecomposition
Link copied to clipboard
class LupDecomposition<T : Any>(context: LinearSpace<T, *>, elementContext: Field<T>, lu: Matrix<T>, pivot: IntArray, even: Boolean) : LupDecompositionFeature<T> , DeterminantFeature<T>
Content copied to clipboard
Common implementation of LupDecompositionFeature.
LupDecompositionFeature
Link copied to clipboard
Matrix
Link copied to clipboard
MatrixBuilder
Link copied to clipboard
MatrixFeature
Link copied to clipboard
MatrixWrapper
Link copied to clipboard
MutableMatrix
Link copied to clipboard
OrthogonalFeature
Link copied to clipboard
Matrices with this feature are orthogonal ones: a · aT = u where a is the owning matrix, u is the unit matrix (UnitFeature).
QRDecompositionFeature
Link copied to clipboard
SingularValueDecompositionFeature
Link copied to clipboard
SymmetricMatrixFeature
Link copied to clipboard
TransposedFeature
Link copied to clipboard
class TransposedFeature<out T : Any>(original: Matrix<T>) : MatrixFeature
Content copied to clipboard
UFeature
Link copied to clipboard
UnitFeature
Link copied to clipboard
VirtualMatrix
Link copied to clipboard
class VirtualMatrix<out T : Any>(rowNum: Int, colNum: Int, generator: (i: Int, j: Int) -> T) : Structure2D<T>
Content copied to clipboard
ZeroFeature
Link copied to clipboard
Functions
asMatrix
Link copied to clipboard
Creates an n × 1 VirtualMatrix, where n is the size of the given buffer.
computeFeature
Link copied to clipboard
inline fun <T : Any, F : StructureFeature> LinearSpace<T, *>.computeFeature(structure: Matrix<T>): F?
Content copied to clipboard
DeterminantFeature
Link copied to clipboard
linearSpace
Link copied to clipboard
fun <T, A : Ring<T>> A.linearSpace(bufferFactory: BufferFactory<T>): BufferedLinearSpace<T, A>
Content copied to clipboard
lup
Link copied to clipboard
inline fun <T : Comparable<T>> LinearSpace<T, Field<T>>.lup(matrix: Matrix<T>, noinline checkSingular: (T) -> Boolean): LupDecomposition<T>
Content copied to clipboard
fun LinearSpace<Double, DoubleField>.lup(matrix: Matrix<Double>, singularityThreshold: Double = 1e-11): LupDecomposition<Double>
Content copied to clipboard
fun <T : Comparable<T>> LinearSpace<T, Field<T>>.lup(factory: MutableBufferFactory<T>, matrix: Matrix<T>, checkSingular: (T) -> Boolean): LupDecomposition<T>
Content copied to clipboard
lupSolver
Link copied to clipboard
fun LinearSpace<Double, DoubleField>.lupSolver(singularityThreshold: Double = 1e-11): LinearSolver<Double>
Content copied to clipboard
fun <T : Comparable<T>, F : Field<T>> LinearSpace<T, F>.lupSolver(bufferFactory: MutableBufferFactory<T>, singularityCheck: (T) -> Boolean): LinearSolver<T>
Content copied to clipboard
plus
Link copied to clipboard
operator fun <T : Any> Matrix<T>.plus(newFeature: MatrixFeature): MatrixWrapper<T>
Content copied to clipboard
withFeature
Link copied to clipboard
fun <T : Any> Matrix<T>.withFeature(newFeature: MatrixFeature): MatrixWrapper<T>
Content copied to clipboard
Add a single feature to a Matrix
withFeatures
Link copied to clipboard
fun <T : Any> Matrix<T>.withFeatures(newFeatures: Iterable<MatrixFeature>): MatrixWrapper<T>
Content copied to clipboard
Add a collection of features to a Matrix