Package org.apache.commons.math3.linear
package org.apache.commons.math3.linear
Linear algebra support.
-
ClassDescriptionAbstractFieldMatrix<T extends FieldElement<T>>Basic implementation of
FieldMatrix
methods regardless of the underlying storage.Basic implementation of RealMatrix methods regardless of the underlying storage.Interface defining very basic matrix operations.Array2DRowFieldMatrix<T extends FieldElement<T>>Implementation of FieldMatrixusing a FieldElement
[][] array to store entries.Implementation ofRealMatrix
using adouble[][]
array to store entries.ArrayFieldVector<T extends FieldElement<T>>This class implements theFieldVector
interface with aFieldElement
array.This class implements theRealVector
interface with a double array.BlockFieldMatrix<T extends FieldElement<T>>Cache-friendly implementation of FieldMatrix using a flat arrays to store square blocks of the matrix.Cache-friendly implementation of RealMatrix using a flat arrays to store square blocks of the matrix.Calculates the Cholesky decomposition of a matrix.This is an implementation of the conjugate gradient method forRealLinearOperator
.Interface handling decomposition algorithms that can solve A × X = B.DefaultFieldMatrixChangingVisitor<T extends FieldElement<T>>Default implementation of theFieldMatrixChangingVisitor
interface.DefaultFieldMatrixPreservingVisitor<T extends FieldElement<T>>Default implementation of theFieldMatrixPreservingVisitor
interface.A default concrete implementation of the abstract classIterativeLinearSolverEvent
.Default implementation of theRealMatrixChangingVisitor
interface.Default implementation of theRealMatrixPreservingVisitor
interface.Implementation of a diagonal matrix.Calculates the eigen decomposition of a real matrix.FieldDecompositionSolver<T extends FieldElement<T>>Interface handling decomposition algorithms that can solve A × X = B.FieldLUDecomposition<T extends FieldElement<T>>Calculates the LUP-decomposition of a square matrix.FieldMatrix<T extends FieldElement<T>>Interface defining field-valued matrix with basic algebraic operations.FieldMatrixChangingVisitor<T extends FieldElement<?>>Interface defining a visitor for matrix entries.FieldMatrixPreservingVisitor<T extends FieldElement<?>>Interface defining a visitor for matrix entries.FieldVector<T extends FieldElement<T>>Interface defining a field-valued vector with basic algebraic operations.FieldVectorChangingVisitor<T extends FieldElement<?>>This interface defines a visitor for the entries of a vector.FieldVectorPreservingVisitor<T extends FieldElement<?>>This interface defines a visitor for the entries of a vector.An exception to be thrown when the condition number of aRealLinearOperator
is too high.This abstract class defines an iterative solver for the linear system A · x = b.This is the base class for all events occurring during the iterations of aIterativeLinearSolver
.This class implements the standard Jacobi (diagonal) preconditioner.Calculates the LUP-decomposition of a square matrix.Exception to be thrown when either the number of rows or the number of columns of a matrix do not match the expected values.A collection of static methods that operate on or return matrices.Exception to be thrown when a positive definite matrix is expected.Exception to be thrown when a symmetric, definite positiveRealLinearOperator
is expected.Exception to be thrown when a self-adjointRealLinearOperator
is expected.Exception to be thrown when a square matrix is expected.Exception to be thrown when a square linear operator is expected.Exception to be thrown when a symmetric matrix is expected.Sparse matrix implementation based on an open addressed map.This class implements theRealVector
interface with aOpenIntToDoubleHashMap
backing store.This abstract class defines preconditioned iterative solvers.Calculates the QR-decomposition of a matrix.This class defines a linear operator operating on real (double
) vector spaces.Interface defining a real-valued matrix with basic algebraic operations.Interface defining a visitor for matrix entries.Formats anxm
matrix in components list format "{{a00,a01, ..., a0m-1},{a10, a11, ..., a1m-1},{...},{ an-10, an-11, ..., an-1m-1}}".Interface defining a visitor for matrix entries.Class defining a real-valued vector with basic algebraic operations.This interface defines a visitor for the entries of a vector.Formats a vector in components list format "{v0; v1; ...; vk-1}".This interface defines a visitor for the entries of a vector.Calculates the rectangular Cholesky decomposition of a matrix.Calculates the rank-revealing QR-decomposition of a matrix, with column pivoting.Exception to be thrown when a non-singular matrix is expected.Exception to be thrown when trying to invert a singular operator.Calculates the compact Singular Value Decomposition of a matrix.SparseFieldMatrix<T extends FieldElement<T>>Sparse matrix implementation based on an open addressed map.SparseFieldVector<T extends FieldElement<T>>This class implements theFieldVector
interface with aOpenIntToFieldHashMap
backing store.Marker interface forRealMatrix
implementations that require sparse backing storageMarker class for RealVectors that require sparse backing storageImplementation of the SYMMLQ iterative linear solver proposed by Paige and Saunders (1975).