C++ Math Library Reference | ![]() ![]() |
C++ Prototype
mwArray eig(const mwArray &A); mwArray eig(mwArray *D, const mwArray &A); mwArray eig(mwArray &A, const mwArray &B); mwArray eig(mwArray *D, const mwArray &A, const mwArray &B);
C++ Syntax
#include "matlab.hpp" mwArray A, B; // Input argument(s) mwArray D; // Output argument(s) mwArray d, V; // Return value d = eig(A); V = eig(&D,A); V = eig(&D,A,"nobalance"); d = eig(A,B); V = eig(&D,A,B);
MATLAB Syntax
d = eig(A) [V,D] = eig(A) [V,D] = eig(A,'nobalance') d = eig(A,B) [V,D] = eig(A,B)
See Also
eig
Calling Conventions![]() | double_func | eigs | ![]() |