C++ Math Library Reference | ![]() ![]() |
Sort complex numbers into complex conjugate pairs
C++ Prototype
mwArray cplxpair(const mwArray &A); mwArray cplxpair(const mwArray &A, const mwArray &tol); mwArray cplxpair(const mwArray &A, const mwArray &tol, const mwArray &dim);
C++ Syntax
#include "matlab.hpp"
mwArray A, tol, dim; // Input argument(s)
mwArray B; // Return value
B = cplxpair(A);
B = cplxpair(A,
tol);
B = cplxpair(A,empty(),dim);
B = cplxpair(A,tol,dim);
MATLAB Syntax
B = cplxpair(A) B = cplxpair(A,
tol
) B = cplxpair(A,[],dim) B = cplxpair(A,tol
,dim)
See Also
cplxpair
Calling Conventions![]() | cov | cross | ![]() |