|
SPEIGS 1.0.0
|
Mexfile entry function for speigs. More...
Macros | |
| #define | V plhs[0] |
| #define | e plhs[1] |
| #define | A prhs[0] |
| #define | opts prhs[1] |
Functions | |
| static void | print_mtype (spint mtype) |
| Print type of matrix. More... | |
| void | mexFunction (int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]) |
| Matlab entry function. More... | |
Mexfile entry function for speigs.
| void mexFunction | ( | int | nlhs, |
| mxArray * | plhs[], | ||
| int | nrhs, | ||
| const mxArray * | prhs[] | ||
| ) |
Matlab entry function.
| [in] | nlhs | Number of left-hand-side parameters |
| [out] | plhs | Pointers for left-hand-side parameters |
| [in] | nrhs | Number of right-hand-side parameters |
| [out] | prhs | Pointers for left-hand-side parameters |
Matab entry for [V, e] = mex_speigs(A, opts); V is a n by r array that gives r eigenvectors and e is all the nonzero eigen-values. opts.gthresh specifies when submatrix permutation is used opts.tol specifies the criterion to decide if an eigen-value is 0 opts.quiet hides logs during factorization
|
static |
Print type of matrix.
| [in] | mtype | Type of the matrix |