Eötvös Quantum Utilities
v4.9.146
Providing the Horsepowers in the Quantum Realm
|
Gateway routine to call the zgetDiagInv subroutine from the mkl_EQuUs package. More...
#include "mex.h"
#include <stdio.h>
#include <omp.h>
Go to the source code of this file.
Classes | |
struct | comp |
Fortran compatible complex type. More... | |
Functions | |
void | getdiaginv_mp_zgetdiaginv_ (int *sizeA, int *nonzerosA, comp *a, int *ia, int *ja, double *real_invA, double *imag_invA, int *error) |
For specification see getdiaginv::zgetdiaginv. More... | |
void | mexFunction (int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]) |
Gateway routine to call the zgetdiaginv subroutine from the mkl_EQuUs package. More... | |
Gateway routine to call the zgetDiagInv subroutine from the mkl_EQuUs package.
@usage To run the compiled MEX file from MATLAB/Octave (see Installation Guide of the EQuUs MKL component) type ret = zgetDiagInv(A), where A is structurally symmetric complex valued sparse matrix, sizeInv is the dimension of the partial inverse to be calculated, ret is an array storing the calculated diagonal elements of the inverse.
Definition in file zgetDiagInv.c.
void getdiaginv_mp_zgetdiaginv_ | ( | int * | sizeA, |
int * | nonzerosA, | ||
comp * | a, | ||
int * | ia, | ||
int * | ja, | ||
double * | real_invA, | ||
double * | imag_invA, | ||
int * | error | ||
) |
void mexFunction | ( | int | nlhs, |
mxArray * | plhs[], | ||
int | nrhs, | ||
const mxArray * | prhs[] | ||
) |
Gateway routine to call the zgetdiaginv subroutine from the mkl_EQuUs package.
(see http://www.mathworks.com/help/matlab/matlab_external/standalone-example.html#zmw57dd0e18558).
nlhs | Number of output (left-side) arguments, or the size of the plhs array. |
plhs | Array of output arguments. |
nrhs | Number of input (right-side) arguments, or the size of the prhs array. |
prhs | Array of input arguments. |
Definition at line 62 of file zgetDiagInv.c.