Package org.ejml.factory

Examples of org.ejml.factory.SingularMatrixException


     * @return The inverse of this matrix.
     */
    public T invert() {
        T ret = createMatrix(mat.numRows,mat.numCols);
        if( !CommonOps.invert(mat,ret.getMatrix()) ) {
            throw new SingularMatrixException();
        }
        return ret;
    }
View Full Code Here


    public T solve( T b )
    {
        T x = createMatrix(mat.numCols,b.getMatrix().numCols);

        if( !CommonOps.solve(mat,b.getMatrix(),x.getMatrix()) )
            throw new SingularMatrixException();

        return x;
    }
View Full Code Here

TOP

Related Classes of org.ejml.factory.SingularMatrixException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.