23.07.2012 Views

MATLAB C++ Math Library Reference

MATLAB C++ Math Library Reference

MATLAB C++ Math Library Reference

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

trace<br />

0trace<br />

Purpose Sum of diagonal elements<br />

<strong>C++</strong> Prototype mwArray trace(const mwArray &A);<br />

<strong>C++</strong> Syntax #include "matlab.hpp"<br />

<strong>MATLAB</strong><br />

Syntax<br />

393<br />

mwArray A; // Input argument(s)<br />

mwArray b; // Return value<br />

b = trace(A);<br />

b = trace(A)<br />

See Also <strong>MATLAB</strong> trace Calling Conventions

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!