C++ Math Library Reference | ![]() ![]() |
Moore-Penrose pseudoinverse of a matrix
C++ Prototype
mwArray pinv(const mwArray &A); mwArray pinv(const mwArray &A, const mwArray &tol);
C++ Syntax
#include "matlab.hpp" mwArray A, tol; // Input argument(s) mwArray B; // Return value B = pinv(A); B = pinv(A,tol);
MATLAB Syntax
B = pinv(A) B = pinv(A,tol)
See Also
pinv
Calling Conventions![]() | pi | planerot | ![]() |