Package org.jblas.exceptions

Examples of org.jblas.exceptions.NoEigenResultException


    int[] m = new int[1];
    DoubleMatrix W = new DoubleMatrix(A.rows);
    DoubleMatrix Z = new DoubleMatrix(A.rows, A.rows);
    SimpleBlas.sygvx(1, 'N', 'V', 'U', A.dup(), B.dup(), vl, vu, 0, 0, abstol, m, W, Z);
    if (m[0] == 0) {
      throw new NoEigenResultException("No eigenvalues found for selected range");
    }
    return W.get(new IntervalRange(0, m[0]), 0);
  }
View Full Code Here


    int[] m = new int[1];
    DoubleMatrix W = new DoubleMatrix(A.rows);
    DoubleMatrix Z = new DoubleMatrix(A.rows, A.columns);
    SimpleBlas.sygvx(1, 'V', 'V', 'U', A.dup(), B.dup(), vl, vu, 0, 0, abstol, m, W, Z);
    if (m[0] == 0) {
      throw new NoEigenResultException("No eigenvalues found for selected range");
    }
    DoubleMatrix[] result = new DoubleMatrix[2];
    Range r = new IntervalRange(0, m[0]);
    result[0] = Z.get(new IntervalRange(0, A.rows), r);
    result[1] = W.get(r, 0);
View Full Code Here

    int[] m = new int[1];
    FloatMatrix W = new FloatMatrix(A.rows);
    FloatMatrix Z = new FloatMatrix(A.rows, A.rows);
    SimpleBlas.sygvx(1, 'N', 'V', 'U', A.dup(), B.dup(), vl, vu, 0, 0, abstol, m, W, Z);
    if (m[0] == 0) {
      throw new NoEigenResultException("No eigenvalues found for selected range");
    }
    return W.get(new IntervalRange(0, m[0]), 0);
  }
View Full Code Here

    int[] m = new int[1];
    FloatMatrix W = new FloatMatrix(A.rows);
    FloatMatrix Z = new FloatMatrix(A.rows, A.columns);
    SimpleBlas.sygvx(1, 'V', 'V', 'U', A.dup(), B.dup(), vl, vu, 0, 0, abstol, m, W, Z);
    if (m[0] == 0) {
      throw new NoEigenResultException("No eigenvalues found for selected range");
    }
    FloatMatrix[] result = new FloatMatrix[2];
    Range r = new IntervalRange(0, m[0]);
    result[0] = Z.get(new IntervalRange(0, A.rows), r);
    result[1] = W.get(r, 0);
View Full Code Here

TOP

Related Classes of org.jblas.exceptions.NoEigenResultException

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.