Top Description Interfaces Classes
[default module]

Package org.apache.commons.math3.linear


Linear algebra support.

Interface Summary

Modifier and TypeInterface and Description
public interface
AnyMatrix

Interface defining very basic matrix operations.

public interface
DecompositionSolver

Interface handling decomposition algorithms that can solve A × X = B.

public interface
FieldDecompositionSolver<
the type of the field elements
T extends FieldElement<T>
>

Interface handling decomposition algorithms that can solve A × X = B.

public interface
FieldMatrix<
the type of the field elements
T extends FieldElement<T>
>

Interface defining field-valued matrix with basic algebraic operations.

public interface
FieldMatrixChangingVisitor<
the type of the field elements
T extends FieldElement<?>
>

Interface defining a visitor for matrix entries.

public interface
FieldMatrixPreservingVisitor<
the type of the field elements
T extends FieldElement<?>
>

Interface defining a visitor for matrix entries.

public interface
FieldVector<
the type of the field elements
T extends FieldElement<T>
>

Interface defining a field-valued vector with basic algebraic operations.

public interface
FieldVectorChangingVisitor<
the type of the field elements
T extends FieldElement<?>
>

This interface defines a visitor for the entries of a vector.

public interface
FieldVectorPreservingVisitor<
the type of the field elements
T extends FieldElement<?>
>

This interface defines a visitor for the entries of a vector.

public interface
RealMatrix

Interface defining a real-valued matrix with basic algebraic operations.

public interface
RealMatrixChangingVisitor

Interface defining a visitor for matrix entries.

public interface
RealMatrixPreservingVisitor

Interface defining a visitor for matrix entries.

public interface
RealVectorChangingVisitor

This interface defines a visitor for the entries of a vector.

public interface
RealVectorPreservingVisitor

This interface defines a visitor for the entries of a vector.

public interface
SparseRealMatrix

Marker interface for RealMatrix implementations that require sparse backing storage

Caveat

Implementation are allowed to assume that, for any x, the equality x * 0d == 0d holds.

Class Summary

Modifier and TypeClass and Description
public abstract class
AbstractFieldMatrix<
Type of the field elements.
T extends FieldElement<T>
>

Basic implementation of FieldMatrix methods regardless of the underlying storage.

public abstract class
AbstractRealMatrix

Basic implementation of RealMatrix methods regardless of the underlying storage.

public class
Array2DRowFieldMatrix<
the type of the field elements
T extends FieldElement<T>
>

Implementation of FieldMatrix<t> using a FieldElement[][] array to store entries.

public class
Array2DRowRealMatrix

Implementation of RealMatrix using a double[][] array to store entries.

public class
ArrayFieldVector<
the type of the field elements
T extends FieldElement<T>
>

This class implements the FieldVector interface with a FieldElement array.

public class
ArrayRealVector

This class implements the RealVector interface with a double array.

pack-priv class
BiDiagonalTransformer

Class transforming any matrix to bi-diagonal shape.

public class
BlockFieldMatrix<
the type of the field elements
T extends FieldElement<T>
>

Cache-friendly implementation of FieldMatrix using a flat arrays to store square blocks of the matrix.

public class
BlockRealMatrix

Cache-friendly implementation of RealMatrix using a flat arrays to store square blocks of the matrix.

public class
CholeskyDecomposition

Calculates the Cholesky decomposition of a matrix.

public class
ConjugateGradient

This is an implementation of the conjugate gradient method for RealLinearOperator.

public class
DefaultFieldMatrixChangingVisitor<
the type of the field elements
T extends FieldElement<T>
>

Default implementation of the FieldMatrixChangingVisitor interface.

public class
DefaultFieldMatrixPreservingVisitor<
the type of the field elements
T extends FieldElement<T>
>

Default implementation of the FieldMatrixPreservingVisitor interface.

public class
DefaultIterativeLinearSolverEvent

A default concrete implementation of the abstract class IterativeLinearSolverEvent.

public class
DefaultRealMatrixChangingVisitor

Default implementation of the RealMatrixChangingVisitor interface.

public class
DefaultRealMatrixPreservingVisitor

Default implementation of the RealMatrixPreservingVisitor interface.

public class
DiagonalMatrix

Implementation of a diagonal matrix.

public class
EigenDecomposition

Calculates the eigen decomposition of a real matrix.

public class
FieldLUDecomposition<
the type of the field elements
T extends FieldElement<T>
>

Calculates the LUP-decomposition of a square matrix.

pack-priv class
HessenbergTransformer

Class transforming a general real matrix to Hessenberg form.

public class
IllConditionedOperatorException

An exception to be thrown when the condition number of a RealLinearOperator is too high.

public abstract class
IterativeLinearSolver

This abstract class defines an iterative solver for the linear system A · x = b.

public abstract class
IterativeLinearSolverEvent

This is the base class for all events occurring during the iterations of a IterativeLinearSolver.

public class
JacobiPreconditioner

This class implements the standard Jacobi (diagonal) preconditioner.

public class
LUDecomposition

Calculates the LUP-decomposition of a square matrix.

public class
MatrixDimensionMismatchException

Exception to be thrown when either the number of rows or the number of columns of a matrix do not match the expected values.

public class
MatrixUtils

A collection of static methods that operate on or return matrices.

public class
NonPositiveDefiniteMatrixException

Exception to be thrown when a positive definite matrix is expected.

public class
NonPositiveDefiniteOperatorException

Exception to be thrown when a symmetric, definite positive RealLinearOperator is expected.

public class
NonSelfAdjointOperatorException

Exception to be thrown when a self-adjoint RealLinearOperator is expected.

public class
NonSquareMatrixException

Exception to be thrown when a square matrix is expected.

public class
NonSquareOperatorException

Exception to be thrown when a square linear operator is expected.

public class
NonSymmetricMatrixException

Exception to be thrown when a symmetric matrix is expected.

public class
OpenMapRealMatrix

Sparse matrix implementation based on an open addressed map.

public class
OpenMapRealVector

This class implements the RealVector interface with a OpenIntToDoubleHashMap backing store.

public abstract class
PreconditionedIterativeLinearSolver

This abstract class defines preconditioned iterative solvers.</center></center>

public class
QRDecomposition

Calculates the QR-decomposition of a matrix.

public abstract class
RealLinearOperator

This class defines a linear operator operating on real (double) vector spaces.

public class
RealMatrixFormat

Formats a nxm matrix in components list format "{{a00,a01, ..., a0m-1},{a10, a11, ..., a1m-1},{...},{ an-10, an-11, ..., an-1m-1}}".

public abstract class
RealVector

Class defining a real-valued vector with basic algebraic operations.

public class
RealVectorFormat

Formats a vector in components list format "{v0; v1; ...; vk-1}".

public class
RectangularCholeskyDecomposition

Calculates the rectangular Cholesky decomposition of a matrix.

public class
RRQRDecomposition

Calculates the rank-revealing QR-decomposition of a matrix, with column pivoting.

pack-priv class
SchurTransformer

Class transforming a general real matrix to Schur form.

public class
SingularMatrixException

Exception to be thrown when a non-singular matrix is expected.

public class
SingularOperatorException

Exception to be thrown when trying to invert a singular operator.

public class
SingularValueDecomposition

Calculates the compact Singular Value Decomposition of a matrix.

public class
SparseFieldMatrix<
the type of the field elements
T extends FieldElement<T>
>

Sparse matrix implementation based on an open addressed map.

public class
SparseFieldVector<
the type of the field elements
T extends FieldElement<T>
>

This class implements the FieldVector interface with a OpenIntToFieldHashMap backing store.

public abstract class
SparseRealVector

Marker class for RealVectors that require sparse backing storage

Caveat

Implementation are allowed to assume that, for any x, the equality x * 0d == 0d holds.

public class
SymmLQ

Implementation of the SYMMLQ iterative linear solver proposed by Paige and Saunders (1975).

pack-priv class
TriDiagonalTransformer

Class transforming a symmetrical matrix to tridiagonal shape.