Uses of Class
org.apache.commons.math.linear.InvalidMatrixException
Packages that use InvalidMatrixException
-
Uses of InvalidMatrixException in org.apache.commons.math.linear
Subclasses of InvalidMatrixException in org.apache.commons.math.linearModifier and TypeClassDescriptionclass
Thrown when an operation defined only for square matrices is applied to non-square ones.class
Thrown when a matrix is singular.Methods in org.apache.commons.math.linear that throw InvalidMatrixExceptionModifier and TypeMethodDescriptiondouble
SingularValueDecompositionImpl.getConditionNumber()
Return the condition number of the matrix.EigenDecompositionImpl.getD()
Returns the block diagonal matrix D of the decomposition.double
AbstractRealMatrix.getDeterminant()
Deprecated.BigMatrix.getDeterminant()
Deprecated.Returns the determinant of this matrix.BigMatrixImpl.getDeterminant()
Deprecated.Returns the determinant of this matrix.EigenDecompositionImpl.getEigenvector
(int i) Returns a copy of the ith eigenvector of the original matrix.double
EigenDecompositionImpl.getImagEigenvalue
(int i) Returns the imaginary part of the ith eigenvalue of the original matrix.double[]
EigenDecompositionImpl.getImagEigenvalues()
Returns a copy of the imaginary parts of the eigenvalues of the original matrix.DecompositionSolver.getInverse()
Get the inverse (or pseudo-inverse) of the decomposed matrix.FieldDecompositionSolver.getInverse()
Get the inverse (or pseudo-inverse) of the decomposed matrix.protected BigMatrix
BigMatrixImpl.getLUMatrix()
Deprecated.Returns the LU decomposition as a BigMatrix.double
SingularValueDecompositionImpl.getNorm()
Returns the L2 norm of the matrix.double
EigenDecompositionImpl.getRealEigenvalue
(int i) Returns the real part of the ith eigenvalue of the original matrix.double[]
EigenDecompositionImpl.getRealEigenvalues()
Returns a copy of the real parts of the eigenvalues of the original matrix.SingularValueDecompositionImpl.getS()
Returns the diagonal matrix Σ of the decomposition.double[]
SingularValueDecompositionImpl.getSingularValues()
Returns the diagonal elements of the matrix Σ of the decomposition.SingularValueDecompositionImpl.getU()
Returns the matrix U of the decomposition.SingularValueDecompositionImpl.getUT()
Returns the transpose of the matrix U of the decomposition.EigenDecompositionImpl.getV()
Returns the matrix V of the decomposition.SingularValueDecompositionImpl.getV()
Returns the matrix V of the decomposition.EigenDecompositionImpl.getVT()
Returns the transpose of the matrix V of the decomposition.SingularValueDecompositionImpl.getVT()
Returns the transpose of the matrix V of the decomposition.AbstractRealMatrix.inverse()
Deprecated.BigMatrix.inverse()
Deprecated.Returns the inverse of this matrix.BigMatrixImpl.inverse()
Deprecated.Returns the inverse matrix if this matrix is invertible.RealMatrix.inverse()
Deprecated.void
AbstractRealMatrix.luDecompose()
Deprecated.as of release 2.0, replaced byLUDecomposition
void
BigMatrixImpl.luDecompose()
Deprecated.Computes a new LU decompostion for this matrix, storing the result for use by other methods.void
Sets the entries in column numbercolumn
as a column matrix.void
AbstractRealMatrix.setColumn
(int column, double[] array) Sets the entries in column numbercolumn
as a column matrix.void
Sets the entries in column numbercolumn
as a column matrix.void
BlockRealMatrix.setColumn
(int column, double[] array) Sets the entries in column numbercolumn
as a column matrix.void
Sets the entries in column numbercolumn
as a column matrix.void
RealMatrix.setColumn
(int column, double[] array) Sets the entries in column numbercolumn
as a column matrix.void
AbstractFieldMatrix.setColumnMatrix
(int column, FieldMatrix<T> matrix) Sets the entries in column numbercolumn
as a column matrix.void
AbstractRealMatrix.setColumnMatrix
(int column, RealMatrix matrix) Sets the entries in column numbercolumn
as a column matrix.void
BlockFieldMatrix.setColumnMatrix
(int column, FieldMatrix<T> matrix) Sets the entries in column numbercolumn
as a column matrix.void
BlockRealMatrix.setColumnMatrix
(int column, RealMatrix matrix) Sets the entries in column numbercolumn
as a column matrix.void
FieldMatrix.setColumnMatrix
(int column, FieldMatrix<T> matrix) Sets the entries in column numbercolumn
as a column matrix.void
RealMatrix.setColumnMatrix
(int column, RealMatrix matrix) Sets the entries in column numbercolumn
as a column matrix.void
AbstractFieldMatrix.setColumnVector
(int column, FieldVector<T> vector) Sets the entries in column numbercolumn
as a vector.void
AbstractRealMatrix.setColumnVector
(int column, RealVector vector) Sets the entries in column numbercolumn
as a vector.void
BlockFieldMatrix.setColumnVector
(int column, FieldVector<T> vector) Sets the entries in column numbercolumn
as a vector.void
BlockRealMatrix.setColumnVector
(int column, RealVector vector) Sets the entries in column numbercolumn
as a vector.void
FieldMatrix.setColumnVector
(int column, FieldVector<T> vector) Sets the entries in column numbercolumn
as a vector.void
RealMatrix.setColumnVector
(int column, RealVector vector) Sets the entries in column numbercolumn
as a vector.void
Sets the entries in row numberrow
as a row matrix.void
AbstractRealMatrix.setRow
(int row, double[] array) Sets the entries in row numberrow
as a row matrix.void
Sets the entries in row numberrow
as a row matrix.void
BlockRealMatrix.setRow
(int row, double[] array) Sets the entries in row numberrow
as a row matrix.void
Sets the entries in row numberrow
as a row matrix.void
RealMatrix.setRow
(int row, double[] array) Sets the entries in row numberrow
as a row matrix.void
AbstractFieldMatrix.setRowMatrix
(int row, FieldMatrix<T> matrix) Sets the entries in row numberrow
as a row matrix.void
AbstractRealMatrix.setRowMatrix
(int row, RealMatrix matrix) Sets the entries in row numberrow
as a row matrix.void
BlockFieldMatrix.setRowMatrix
(int row, BlockFieldMatrix<T> matrix) Sets the entries in row numberrow
as a row matrix.void
BlockFieldMatrix.setRowMatrix
(int row, FieldMatrix<T> matrix) Sets the entries in row numberrow
as a row matrix.void
BlockRealMatrix.setRowMatrix
(int row, BlockRealMatrix matrix) Sets the entries in row numberrow
as a row matrix.void
BlockRealMatrix.setRowMatrix
(int row, RealMatrix matrix) Sets the entries in row numberrow
as a row matrix.void
FieldMatrix.setRowMatrix
(int row, FieldMatrix<T> matrix) Sets the entries in row numberrow
as a row matrix.void
RealMatrix.setRowMatrix
(int row, RealMatrix matrix) Sets the entries in row numberrow
as a row matrix.void
AbstractFieldMatrix.setRowVector
(int row, FieldVector<T> vector) Sets the entries in row numberrow
as a vector.void
AbstractRealMatrix.setRowVector
(int row, RealVector vector) Sets the entries in row numberrow
as a vector.void
BlockFieldMatrix.setRowVector
(int row, FieldVector<T> vector) Sets the entries in row numberrow
as a vector.void
BlockRealMatrix.setRowVector
(int row, RealVector vector) Sets the entries in row numberrow
as a vector.void
FieldMatrix.setRowVector
(int row, FieldVector<T> vector) Sets the entries in row numberrow
as a vector.void
RealMatrix.setRowVector
(int row, RealVector vector) Sets the entries in row numberrow
as a vector.double[]
AbstractRealMatrix.solve
(double[] b) Deprecated.AbstractRealMatrix.solve
(RealMatrix b) Deprecated.BigMatrix.solve
(BigDecimal[] b) Deprecated.Returns the solution vector for a linear system with coefficient matrix = this and constant vector =b
.Deprecated.Returns a matrix of (column) solution vectors for linear systems with coefficient matrix = this and constant vectors = columns ofb
.BigMatrixImpl.solve
(double[] b) Deprecated.Returns a matrix of (column) solution vectors for linear systems with coefficient matrix = this and constant vectors = columns ofb
.BigMatrixImpl.solve
(BigDecimal[] b) Deprecated.Returns a matrix of (column) solution vectors for linear systems with coefficient matrix = this and constant vectors = columns ofb
.Deprecated.Returns a matrix of (column) solution vectors for linear systems with coefficient matrix = this and constant vectors = columns ofb
.double[]
DecompositionSolver.solve
(double[] b) Solve the linear equation A × X = B for matrices A.DecompositionSolver.solve
(RealMatrix b) Solve the linear equation A × X = B for matrices A.DecompositionSolver.solve
(RealVector b) Solve the linear equation A × X = B for matrices A.FieldDecompositionSolver.solve
(FieldMatrix<T> b) Solve the linear equation A × X = B for matrices A.FieldDecompositionSolver.solve
(FieldVector<T> b) Solve the linear equation A × X = B for matrices A.T[]
Solve the linear equation A × X = B for matrices A.double[]
RealMatrix.solve
(double[] b) Deprecated.as of release 2.0, replaced byDecompositionSolver.solve(double[])
RealMatrix.solve
(RealMatrix b) Deprecated.as of release 2.0, replaced byDecompositionSolver.solve(RealMatrix)
Constructors in org.apache.commons.math.linear that throw InvalidMatrixExceptionModifierConstructorDescriptionEigenDecompositionImpl
(double[] main, double[] secondary, double splitTolerance) Calculates the eigen decomposition of the symmetric tridiagonal matrix.EigenDecompositionImpl
(RealMatrix matrix, double splitTolerance) Calculates the eigen decomposition of the given symmetric matrix.LUDecompositionImpl
(RealMatrix matrix) Calculates the LU-decomposition of the given matrix.Calculates the compact Singular Value Decomposition of the given matrix.
new LUDecompositionImpl(m)
.getSolver()
.getInverse()