casacore
Public Member Functions | List of all members
casacore::Round< T, RES > Struct Template Reference

Functor to apply round (e.g. More...

#include <Functors.h>

Public Member Functions

RES operator() (T value) const
 

Detailed Description

template<typename T, typename RES = T>
struct casacore::Round< T, RES >

Functor to apply round (e.g.

-3.7 gets -4).

Definition at line 474 of file Functors.h.

Member Function Documentation

◆ operator()()

template<typename T , typename RES = T>
RES casacore::Round< T, RES >::operator() ( value) const
inline

Definition at line 476 of file Functors.h.

References casacore::ceil(), casacore::floor(), and casacore::value().


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