Class LinearEquations2
- java.lang.Object
-
- gov.nih.mipav.model.structures.jama.LinearEquations2
-
- All Implemented Interfaces:
java.io.Serializable
public class LinearEquations2 extends java.lang.Object implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description (package private) GeneralizedEigenvalue
ge
(package private) GeneralizedInverse2
gi
private int[]
iparms
(package private) LinearEquations
le
private ViewUserInterface
UI
-
Constructor Summary
Constructors Constructor Description LinearEquations2()
Creates a new LinearEquations2 object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dchkaa()
private void
dchkge(boolean[] dotype, int nm, int[] mval, int nn, int[] nval, int nnb, int[] nbval, int nns, int[] nsval, double thresh, int nmax, double[][] A, double[][] AFAC, double[][] AINV, double[][] B, double[][] X, double[][] XACT, double[][] WORK, double[] rwork, int[] iwork)
private void
ddrvge(boolean[] dotype, int nn, int[] nval, int nrhs, double thresh, int nmax, double[][] A, double[][] AFAC, double[][] ASAV, double[][] B, double[][] BSAV, double[][] X, double[][] XACT, double[] s, double[][] WORK, double[] rwork, int[] iwork)
void
derrge()
void
derrvx()
void
dgecon(char norm, int n, double[][] A, int lda, double anorm, double[] rcond, double[] work, int[] iwork, int[] info)
private void
dgeequ(int m, int n, double[][] A, int lda, double[] r, double[] c, double[] rowcnd, double[] colcnd, double[] amax, int[] info)
private void
dgerfs(char trans, int n, int nrhs, double[][] A, int lda, double[][] AF, int ldaf, int[] ipiv, double[][] B, int ldb, double[][] X, int ldx, double[] ferr, double[] berr, double[] work, int[] iwork, int[] info)
void
dgesv(int n, int nrhs, double[][] A, int lda, int[] ipiv, double[][] B, int ldb, int[] info)
void
dgesvx(char fact, char trans, int n, int nrhs, double[][] A, int lda, double[][] AF, int ldaf, int[] ipiv, char[] equed, double[] r, double[] c, double[][] B, int ldb, double[][] X, int ldx, double[] rcond, double[] ferr, double[] berr, double[] work, int[] iwork, int[] info)
private void
dget01(int m, int n, double[][] A, int lda, double[][] AFAC, int ldafac, int[] ipiv, double[] rwork, double[] resid)
private void
dget03(int n, double[][] A, int lda, double[][] AINV, int ldainv, double[][] WORK, int ldwork, double[] rwork, double[] rcond, double[] resid)
private void
dget07(char trans, int n, int nrhs, double[][] A, int lda, double[][] B, int ldb, double[][] X, int ldx, double[][] XACT, int ldxact, double[] ferr, boolean chkferr, double[] berr, double[] reslts)
private void
dgetf2(int m, int n, double[][] A, int lda, int[] ipiv, int[] info)
void
dgetrf(int m, int n, double[][] A, int lda, int[] ipiv, int[] info)
void
dgetri(int n, double[][] A, int lda, int[] ipiv, double[] work, int lwork, int[] info)
void
dgetrs(char trans, int n, int nrhs, double[][] A, int lda, int[] ipiv, double[][] B, int ldb, int[] info)
private double
dlantr(char norm, char uplo, char diag, int m, int n, double[][] A, int lda, double[] work)
private void
dlaqge(int m, int n, double[][] A, int lda, double[] r, double[] c, double rowcnd, double colcnd, double amax, char[] equed)
private void
dlaswp(int n, double[][] A, int lda, int k1, int k2, int[] ipiv, int incx)
private void
printHeader()
private void
printsvHeader()
void
xlaenv(int ispec, int nvalue)
This is a port of version 3.1 LAPACK auxiliary routine XLAENV.
-
-
-
Field Detail
-
ge
GeneralizedEigenvalue ge
-
gi
GeneralizedInverse2 gi
-
le
LinearEquations le
-
UI
private ViewUserInterface UI
-
iparms
private int[] iparms
-
-
Method Detail
-
dchkaa
public void dchkaa()
-
ddrvge
private void ddrvge(boolean[] dotype, int nn, int[] nval, int nrhs, double thresh, int nmax, double[][] A, double[][] AFAC, double[][] ASAV, double[][] B, double[][] BSAV, double[][] X, double[][] XACT, double[] s, double[][] WORK, double[] rwork, int[] iwork)
-
printsvHeader
private void printsvHeader()
-
dchkge
private void dchkge(boolean[] dotype, int nm, int[] mval, int nn, int[] nval, int nnb, int[] nbval, int nns, int[] nsval, double thresh, int nmax, double[][] A, double[][] AFAC, double[][] AINV, double[][] B, double[][] X, double[][] XACT, double[][] WORK, double[] rwork, int[] iwork)
-
printHeader
private void printHeader()
-
derrge
public void derrge()
-
derrvx
public void derrvx()
-
dget01
private void dget01(int m, int n, double[][] A, int lda, double[][] AFAC, int ldafac, int[] ipiv, double[] rwork, double[] resid)
-
dget03
private void dget03(int n, double[][] A, int lda, double[][] AINV, int ldainv, double[][] WORK, int ldwork, double[] rwork, double[] rcond, double[] resid)
-
dget07
private void dget07(char trans, int n, int nrhs, double[][] A, int lda, double[][] B, int ldb, double[][] X, int ldx, double[][] XACT, int ldxact, double[] ferr, boolean chkferr, double[] berr, double[] reslts)
-
dgesv
public void dgesv(int n, int nrhs, double[][] A, int lda, int[] ipiv, double[][] B, int ldb, int[] info)
-
dgesvx
public void dgesvx(char fact, char trans, int n, int nrhs, double[][] A, int lda, double[][] AF, int ldaf, int[] ipiv, char[] equed, double[] r, double[] c, double[][] B, int ldb, double[][] X, int ldx, double[] rcond, double[] ferr, double[] berr, double[] work, int[] iwork, int[] info)
-
dgecon
public void dgecon(char norm, int n, double[][] A, int lda, double anorm, double[] rcond, double[] work, int[] iwork, int[] info)
-
dgeequ
private void dgeequ(int m, int n, double[][] A, int lda, double[] r, double[] c, double[] rowcnd, double[] colcnd, double[] amax, int[] info)
-
dgerfs
private void dgerfs(char trans, int n, int nrhs, double[][] A, int lda, double[][] AF, int ldaf, int[] ipiv, double[][] B, int ldb, double[][] X, int ldx, double[] ferr, double[] berr, double[] work, int[] iwork, int[] info)
-
dgetrf
public void dgetrf(int m, int n, double[][] A, int lda, int[] ipiv, int[] info)
-
dgetri
public void dgetri(int n, double[][] A, int lda, int[] ipiv, double[] work, int lwork, int[] info)
-
dgetrs
public void dgetrs(char trans, int n, int nrhs, double[][] A, int lda, int[] ipiv, double[][] B, int ldb, int[] info)
-
dgetf2
private void dgetf2(int m, int n, double[][] A, int lda, int[] ipiv, int[] info)
-
dlantr
private double dlantr(char norm, char uplo, char diag, int m, int n, double[][] A, int lda, double[] work)
-
dlaqge
private void dlaqge(int m, int n, double[][] A, int lda, double[] r, double[] c, double rowcnd, double colcnd, double amax, char[] equed)
-
dlaswp
private void dlaswp(int n, double[][] A, int lda, int k1, int k2, int[] ipiv, int incx)
-
xlaenv
public void xlaenv(int ispec, int nvalue)
This is a port of version 3.1 LAPACK auxiliary routine XLAENV. Univ. of Tennessee, Univ. of California Berkeley and NAG Ltd.. November 2006 .. Scalar Arguments .. INTEGER ISPEC, NVALUE .. Purpose ======= XLAENV sets certain machine- and problem-dependent quantities which will later be retrieved by ILAENV. Arguments ========= ISPEC (input) INTEGER Specifies the parameter to be set in the COMMON array IPARMS. = 1: the optimal blocksize; if this value is 1, an unblocked algorithm will give the best performance. = 2: the minimum block size for which the block routine should be used; if the usable block size is less than this value, an unblocked routine should be used. = 3: the crossover point (in a block routine, for N less than this value, an unblocked routine should be used) = 4: the number of shifts, used in the nonsymmetric eigenvalue routines = 5: the minimum column dimension for blocking to be used; rectangular blocks must have dimension at least k by m, where k is given by ILAENV(2,...) and m by ILAENV(5,...) = 6: the crossover point for the SVD (when reducing an m by n matrix to bidiagonal form, if max(m,n)/min(m,n) exceeds this value, a QR factorization is used first to reduce the matrix to a triangular form) = 7: the number of processors = 8: another crossover point, for the multishift QR and QZ methods for nonsymmetric eigenvalue problems. = 9: maximum size of the subproblems at the bottom of the computation tree in the divide-and-conquer algorithm (used by xGELSD and xGESDD) =10: ieee NaN arithmetic can be trusted not to trap =11: infinity arithmetic can be trusted not to trap NVALUE (input) INTEGER The value of the parameter specified by ISPEC.
-
-