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

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

#include "mex.h"
#include "mkl.h"
Include dependency graph for dggev.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 dggev function from LAPACKE package. More...
 

Detailed Description

Gateway routine to call the dggev 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] = dggev(A, B), where A is a double valued square, nonsymmetric real matrix, B is a double valued square, nonsymmetric real 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 dggev.c.

Macro Definition Documentation

◆ lapack_int

#define lapack_int   long

Definition at line 33 of file dggev.c.

Function Documentation

◆ mexFunction()

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

Gateway routine to call the dggev 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 46 of file dggev.c.