File failed to load: https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.3/config/TeX-MML-AM_CHTML/MathJax.js
DGtal 2.0.0
DGtal::functors::Floor< void > Struct Reference

Functor that rounds down. More...

#include <DGtal/base/BasicFunctors.h>

Inheritance diagram for DGtal::functors::Floor< void >:
[legend]

Public Member Functions

template<typename T>
auto operator() (const T &value) const -> decltype(std::floor(value))

Detailed Description

Functor that rounds down.

This specialization deduces the value type at evaluation.

See also
Floor

Definition at line 201 of file BasicFunctors.h.

Member Function Documentation

◆ operator()()

template<typename T>
auto DGtal::functors::Floor< void >::operator() ( const T & value) const -> decltype(std::floor(value))
inline

Definition at line 205 of file BasicFunctors.h.

207 {
208 return std::floor( value );
209 }
Functor that rounds down.

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