Uses of Class
org.apache.commons.math.linear.InvalidMatrixException

Packages that use InvalidMatrixException
Package
Description
Linear algebra support.
  • Uses of InvalidMatrixException in org.apache.commons.math.linear

    Modifier and Type
    Class
    Description
    class 
    Thrown when an operation defined only for square matrices is applied to non-square ones.
    class 
    Thrown when a matrix is singular.
    Modifier and Type
    Method
    Description
    double
    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.
    as of release 2.0, replaced by new LUDecompositionImpl(m).getSolver().getInverse()
    void
    AbstractRealMatrix.luDecompose()
    Deprecated.
    as of release 2.0, replaced by LUDecomposition
    void
    BigMatrixImpl.luDecompose()
    Deprecated.
    Computes a new LU decompostion for this matrix, storing the result for use by other methods.
    void
    AbstractFieldMatrix.setColumn(int column, T[] array)
    Sets the entries in column number column as a column matrix.
    void
    AbstractRealMatrix.setColumn(int column, double[] array)
    Sets the entries in column number column as a column matrix.
    void
    BlockFieldMatrix.setColumn(int column, T[] array)
    Sets the entries in column number column as a column matrix.
    void
    BlockRealMatrix.setColumn(int column, double[] array)
    Sets the entries in column number column as a column matrix.
    void
    FieldMatrix.setColumn(int column, T[] array)
    Sets the entries in column number column as a column matrix.
    void
    RealMatrix.setColumn(int column, double[] array)
    Sets the entries in column number column as a column matrix.
    void
    AbstractFieldMatrix.setColumnMatrix(int column, FieldMatrix<T> matrix)
    Sets the entries in column number column as a column matrix.
    void
    AbstractRealMatrix.setColumnMatrix(int column, RealMatrix matrix)
    Sets the entries in column number column as a column matrix.
    void
    BlockFieldMatrix.setColumnMatrix(int column, FieldMatrix<T> matrix)
    Sets the entries in column number column as a column matrix.
    void
    BlockRealMatrix.setColumnMatrix(int column, RealMatrix matrix)
    Sets the entries in column number column as a column matrix.
    void
    FieldMatrix.setColumnMatrix(int column, FieldMatrix<T> matrix)
    Sets the entries in column number column as a column matrix.
    void
    RealMatrix.setColumnMatrix(int column, RealMatrix matrix)
    Sets the entries in column number column as a column matrix.
    void
    AbstractFieldMatrix.setColumnVector(int column, FieldVector<T> vector)
    Sets the entries in column number column as a vector.
    void
    AbstractRealMatrix.setColumnVector(int column, RealVector vector)
    Sets the entries in column number column as a vector.
    void
    BlockFieldMatrix.setColumnVector(int column, FieldVector<T> vector)
    Sets the entries in column number column as a vector.
    void
    BlockRealMatrix.setColumnVector(int column, RealVector vector)
    Sets the entries in column number column as a vector.
    void
    FieldMatrix.setColumnVector(int column, FieldVector<T> vector)
    Sets the entries in column number column as a vector.
    void
    RealMatrix.setColumnVector(int column, RealVector vector)
    Sets the entries in column number column as a vector.
    void
    AbstractFieldMatrix.setRow(int row, T[] array)
    Sets the entries in row number row as a row matrix.
    void
    AbstractRealMatrix.setRow(int row, double[] array)
    Sets the entries in row number row as a row matrix.
    void
    BlockFieldMatrix.setRow(int row, T[] array)
    Sets the entries in row number row as a row matrix.
    void
    BlockRealMatrix.setRow(int row, double[] array)
    Sets the entries in row number row as a row matrix.
    void
    FieldMatrix.setRow(int row, T[] array)
    Sets the entries in row number row as a row matrix.
    void
    RealMatrix.setRow(int row, double[] array)
    Sets the entries in row number row as a row matrix.
    void
    AbstractFieldMatrix.setRowMatrix(int row, FieldMatrix<T> matrix)
    Sets the entries in row number row as a row matrix.
    void
    AbstractRealMatrix.setRowMatrix(int row, RealMatrix matrix)
    Sets the entries in row number row as a row matrix.
    void
    BlockFieldMatrix.setRowMatrix(int row, BlockFieldMatrix<T> matrix)
    Sets the entries in row number row as a row matrix.
    void
    BlockFieldMatrix.setRowMatrix(int row, FieldMatrix<T> matrix)
    Sets the entries in row number row as a row matrix.
    void
    BlockRealMatrix.setRowMatrix(int row, BlockRealMatrix matrix)
    Sets the entries in row number row as a row matrix.
    void
    BlockRealMatrix.setRowMatrix(int row, RealMatrix matrix)
    Sets the entries in row number row as a row matrix.
    void
    FieldMatrix.setRowMatrix(int row, FieldMatrix<T> matrix)
    Sets the entries in row number row as a row matrix.
    void
    RealMatrix.setRowMatrix(int row, RealMatrix matrix)
    Sets the entries in row number row as a row matrix.
    void
    AbstractFieldMatrix.setRowVector(int row, FieldVector<T> vector)
    Sets the entries in row number row as a vector.
    void
    AbstractRealMatrix.setRowVector(int row, RealVector vector)
    Sets the entries in row number row as a vector.
    void
    BlockFieldMatrix.setRowVector(int row, FieldVector<T> vector)
    Sets the entries in row number row as a vector.
    void
    BlockRealMatrix.setRowVector(int row, RealVector vector)
    Sets the entries in row number row as a vector.
    void
    FieldMatrix.setRowVector(int row, FieldVector<T> vector)
    Sets the entries in row number row as a vector.
    void
    RealMatrix.setRowVector(int row, RealVector vector)
    Sets the entries in row number row 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.
    BigMatrix.solve(BigMatrix b)
    Deprecated.
    Returns a matrix of (column) solution vectors for linear systems with coefficient matrix = this and constant vectors = columns of b.
    BigMatrixImpl.solve(double[] b)
    Deprecated.
    Returns a matrix of (column) solution vectors for linear systems with coefficient matrix = this and constant vectors = columns of b.
    BigMatrixImpl.solve(BigDecimal[] b)
    Deprecated.
    Returns a matrix of (column) solution vectors for linear systems with coefficient matrix = this and constant vectors = columns of b.
    BigMatrixImpl.solve(BigMatrix b)
    Deprecated.
    Returns a matrix of (column) solution vectors for linear systems with coefficient matrix = this and constant vectors = columns of b.
    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[]
    FieldDecompositionSolver.solve(T[] b)
    Solve the linear equation A × X = B for matrices A.
    double[]
    RealMatrix.solve(double[] b)
    Deprecated.
    as of release 2.0, replaced by DecompositionSolver.solve(double[])
    RealMatrix.solve(RealMatrix b)
    Deprecated.
    as of release 2.0, replaced by DecompositionSolver.solve(RealMatrix)
    Modifier
    Constructor
    Description
     
    EigenDecompositionImpl(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.
     
    Calculates the LU-decomposition of the given matrix.
     
    Calculates the compact Singular Value Decomposition of the given matrix.