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 TypeClassDescriptionclassThrown when an operation defined only for square matrices is applied to non-square ones.classThrown when a matrix is singular.Methods in org.apache.commons.math.linear that throw InvalidMatrixExceptionModifier and TypeMethodDescriptiondoubleSingularValueDecompositionImpl.getConditionNumber()Return the condition number of the matrix.EigenDecompositionImpl.getD()Returns the block diagonal matrix D of the decomposition.doubleAbstractRealMatrix.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.doubleEigenDecompositionImpl.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 BigMatrixBigMatrixImpl.getLUMatrix()Deprecated.Returns the LU decomposition as a BigMatrix.doubleSingularValueDecompositionImpl.getNorm()Returns the L2 norm of the matrix.doubleEigenDecompositionImpl.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.voidAbstractRealMatrix.luDecompose()Deprecated.as of release 2.0, replaced byLUDecompositionvoidBigMatrixImpl.luDecompose()Deprecated.Computes a new LU decompostion for this matrix, storing the result for use by other methods.voidSets the entries in column numbercolumnas a column matrix.voidAbstractRealMatrix.setColumn(int column, double[] array) Sets the entries in column numbercolumnas a column matrix.voidSets the entries in column numbercolumnas a column matrix.voidBlockRealMatrix.setColumn(int column, double[] array) Sets the entries in column numbercolumnas a column matrix.voidSets the entries in column numbercolumnas a column matrix.voidRealMatrix.setColumn(int column, double[] array) Sets the entries in column numbercolumnas a column matrix.voidAbstractFieldMatrix.setColumnMatrix(int column, FieldMatrix<T> matrix) Sets the entries in column numbercolumnas a column matrix.voidAbstractRealMatrix.setColumnMatrix(int column, RealMatrix matrix) Sets the entries in column numbercolumnas a column matrix.voidBlockFieldMatrix.setColumnMatrix(int column, FieldMatrix<T> matrix) Sets the entries in column numbercolumnas a column matrix.voidBlockRealMatrix.setColumnMatrix(int column, RealMatrix matrix) Sets the entries in column numbercolumnas a column matrix.voidFieldMatrix.setColumnMatrix(int column, FieldMatrix<T> matrix) Sets the entries in column numbercolumnas a column matrix.voidRealMatrix.setColumnMatrix(int column, RealMatrix matrix) Sets the entries in column numbercolumnas a column matrix.voidAbstractFieldMatrix.setColumnVector(int column, FieldVector<T> vector) Sets the entries in column numbercolumnas a vector.voidAbstractRealMatrix.setColumnVector(int column, RealVector vector) Sets the entries in column numbercolumnas a vector.voidBlockFieldMatrix.setColumnVector(int column, FieldVector<T> vector) Sets the entries in column numbercolumnas a vector.voidBlockRealMatrix.setColumnVector(int column, RealVector vector) Sets the entries in column numbercolumnas a vector.voidFieldMatrix.setColumnVector(int column, FieldVector<T> vector) Sets the entries in column numbercolumnas a vector.voidRealMatrix.setColumnVector(int column, RealVector vector) Sets the entries in column numbercolumnas a vector.voidSets the entries in row numberrowas a row matrix.voidAbstractRealMatrix.setRow(int row, double[] array) Sets the entries in row numberrowas a row matrix.voidSets the entries in row numberrowas a row matrix.voidBlockRealMatrix.setRow(int row, double[] array) Sets the entries in row numberrowas a row matrix.voidSets the entries in row numberrowas a row matrix.voidRealMatrix.setRow(int row, double[] array) Sets the entries in row numberrowas a row matrix.voidAbstractFieldMatrix.setRowMatrix(int row, FieldMatrix<T> matrix) Sets the entries in row numberrowas a row matrix.voidAbstractRealMatrix.setRowMatrix(int row, RealMatrix matrix) Sets the entries in row numberrowas a row matrix.voidBlockFieldMatrix.setRowMatrix(int row, BlockFieldMatrix<T> matrix) Sets the entries in row numberrowas a row matrix.voidBlockFieldMatrix.setRowMatrix(int row, FieldMatrix<T> matrix) Sets the entries in row numberrowas a row matrix.voidBlockRealMatrix.setRowMatrix(int row, BlockRealMatrix matrix) Sets the entries in row numberrowas a row matrix.voidBlockRealMatrix.setRowMatrix(int row, RealMatrix matrix) Sets the entries in row numberrowas a row matrix.voidFieldMatrix.setRowMatrix(int row, FieldMatrix<T> matrix) Sets the entries in row numberrowas a row matrix.voidRealMatrix.setRowMatrix(int row, RealMatrix matrix) Sets the entries in row numberrowas a row matrix.voidAbstractFieldMatrix.setRowVector(int row, FieldVector<T> vector) Sets the entries in row numberrowas a vector.voidAbstractRealMatrix.setRowVector(int row, RealVector vector) Sets the entries in row numberrowas a vector.voidBlockFieldMatrix.setRowVector(int row, FieldVector<T> vector) Sets the entries in row numberrowas a vector.voidBlockRealMatrix.setRowVector(int row, RealVector vector) Sets the entries in row numberrowas a vector.voidFieldMatrix.setRowVector(int row, FieldVector<T> vector) Sets the entries in row numberrowas a vector.voidRealMatrix.setRowVector(int row, RealVector vector) Sets the entries in row numberrowas 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()