Eötvös Quantum Utilities  v4.9.146
Providing the Horsepowers in the Quantum Realm
Classes | Functions
zgetDiagInv.c File Reference

Gateway routine to call the zgetDiagInv subroutine from the mkl_EQuUs package. More...

#include "mex.h"
#include <stdio.h>
#include <omp.h>
Include dependency graph for zgetDiagInv.c:

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...
 

Detailed Description

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.

Function Documentation

◆ getdiaginv_mp_zgetdiaginv_()

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.

Here is the caller graph for this function:

◆ mexFunction()

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).

Parameters
nlhsNumber of output (left-side) arguments, or the size of the plhs array.
plhsArray of output arguments.
nrhsNumber of input (right-side) arguments, or the size of the prhs array.
prhsArray of input arguments.

Definition at line 62 of file zgetDiagInv.c.

Here is the call graph for this function: