cartodata  5.1.2
carto::Divider< T, U > Class Template Reference

Divider functor. More...

#include <cartodata/volume/volumeutil.h>

Public Member Functions

 Divider (U x)
 
operator() (const T &x) const
 
cfloat operator() (const cfloat &x) const
 
cfloat operator() (const cfloat &x) const
 
cdouble operator() (const cdouble &x) const
 
cdouble operator() (const cdouble &x) const
 
cdouble operator() (const cdouble &x) const
 

Public Attributes

divisor
 

Detailed Description

template<typename T, typename U>
class carto::Divider< T, U >

Divider functor.

Divides the argument with a constant value. This class may move in another location later.

Definition at line 1591 of file volumeutil.h.

Constructor & Destructor Documentation

◆ Divider()

template<typename T , typename U >
carto::Divider< T, U >::Divider ( x)
inline

Definition at line 1594 of file volumeutil.h.

Member Function Documentation

◆ operator()() [1/6]

cdouble carto::Divider< cdouble, double >::operator() ( const cdouble x) const
inline

Definition at line 1613 of file volumeutil.h.

◆ operator()() [2/6]

cdouble carto::Divider< cdouble, float >::operator() ( const cdouble x) const
inline

Definition at line 1619 of file volumeutil.h.

◆ operator()() [3/6]

cdouble carto::Divider< cdouble, long >::operator() ( const cdouble x) const
inline

Definition at line 1625 of file volumeutil.h.

◆ operator()() [4/6]

cfloat carto::Divider< cfloat, double >::operator() ( const cfloat x) const
inline

Definition at line 1601 of file volumeutil.h.

◆ operator()() [5/6]

cfloat carto::Divider< cfloat, long >::operator() ( const cfloat x) const
inline

Definition at line 1607 of file volumeutil.h.

◆ operator()() [6/6]

template<typename T , typename U >
T carto::Divider< T, U >::operator() ( const T &  x) const
inline

Definition at line 1595 of file volumeutil.h.

References carto::Divider< T, U >::divisor.

Member Data Documentation

◆ divisor

template<typename T , typename U >
U carto::Divider< T, U >::divisor

Definition at line 1597 of file volumeutil.h.

Referenced by carto::Divider< T, U >::operator()().


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