tatami
C++ API for different matrix representations
|
Round a matrix entry to the nearest integer. More...
#include <math_helpers.hpp>
Round a matrix entry to the nearest integer.
This class rounds each element of a Matrix
to the nearest integer. It should be used as the Operation_
in the DelayedUnaryIsometricOperation
class. It may be used regardless of whether InputValue_
and OutputValue_
are equal (or not).
InputValue_ | Type of the matrix value to use in the operation. |