tatami
C++ API for different matrix representations
Loading...
Searching...
No Matches
List of all members
tatami::DelayedUnaryIsometricRound< InputValue_ > Class Template Reference

Round a matrix entry to the nearest integer. More...

#include <math_helpers.hpp>

Detailed Description

template<typename InputValue_ = double>
class tatami::DelayedUnaryIsometricRound< InputValue_ >

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).

Template Parameters
InputValue_Type of the matrix value to use in the operation.

The documentation for this class was generated from the following file: