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

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

#include <unistd.h>
#include "mex.h"
Include dependency graph for zgetPartialInv.c:

Go to the source code of this file.

Classes

struct  comp
 Fortran compatible complex type. More...
 

Functions

void getpartialinv_mp_zgetpartialinv_ (int *sizeA, int *nonzerosA, comp *a, int *ia, int *ja, int *sizeInv, double *real_invA, double *imag_invA, int *error)
 For specification see getpartialinv::zgetpartialinv. More...
 
void mexFunction (int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[])
 Gateway routine to call the zgetpartialinv subroutine from the mkl_EQuUs package. More...
 

Detailed Description

Gateway routine to call the zgetpartialinv 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, sizeInv), where A is structurally symmetric complex valued sparse matrix, sizeInv is the dimension of the partial inverse to be calculated, ret is the calculated partial inverse.

Definition in file zgetPartialInv.c.

Function Documentation

◆ getpartialinv_mp_zgetpartialinv_()

void getpartialinv_mp_zgetpartialinv_ ( int *  sizeA,
int *  nonzerosA,
comp a,
int *  ia,
int *  ja,
int *  sizeInv,
double *  real_invA,
double *  imag_invA,
int *  error 
)

For specification see getpartialinv::zgetpartialinv.

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 zgetpartialinv 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 59 of file zgetPartialInv.c.

Here is the call graph for this function: