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

Gateway routine to call the zggev function from LAPACKE package. More...

#include "mex.h"
#include "mkl.h"
Include dependency graph for zggev.c:

Go to the source code of this file.

Macros

#define lapack_int   long
 

Functions

void mexFunction (int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[])
 Gateway routine to call the zggev function from LAPACKE package. More...
 

Detailed Description

Gateway routine to call the zggev function from LAPACKE package.

@usage To run the compiled MEX file from MATLAB/Octave (see Installation Guide of the EQuUs MKL component) type [eigenvecs_right, eigenvecs_left, eigvals] = zggev(A, B), where A is a double valued square, nonsymmetric complex matrix, B is a double valued square, nonsymmetric complex matrix, eigenvecs_right is a matrix containing of the right sided eigenvectors in the columns of the matrix, eigenvecs_left is a matrix containing of the left sided eigenvectors in the columns of the matrix, eigvals is an array of the calculeted eigenvalues.

Definition in file zggev.c.

Macro Definition Documentation

◆ lapack_int

#define lapack_int   long

Definition at line 33 of file zggev.c.

Function Documentation

◆ mexFunction()

void mexFunction ( int  nlhs,
mxArray *  plhs[],
int  nrhs,
const mxArray *  prhs[] 
)

Gateway routine to call the zggev function from LAPACKE 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 47 of file zggev.c.