C++ Math Library Reference | ![]() ![]() |
C++ Prototype
mwArray floor(const mwArray &A);
C++ Syntax
#include "matlab.hpp" mwArray A; // Input argument(s) mwArray B; // Return value B = floor(A);
MATLAB Syntax
B = floor(A)
See Also
floor
Calling ConventionsDescription
B = floor(A)
rounds the elements of
A
to the nearest integers less than or equal to A
. For complex A
, the imaginary and real parts are rounded independently.
![]() | flipud | flops | ![]() |