Public Member Functions | Private Attributes | List of all members
vil_math_scale_functor Class Reference

Functor class to scale by s. More...

#include <vil_math.h>

Public Member Functions

 vil_math_scale_functor (double s)
 
vxl_byte operator() (vxl_byte x) const
 
unsigned operator() (unsigned x) const
 
short operator() (short x) const
 
int operator() (int x) const
 
float operator() (float x) const
 
double operator() (double x) const
 
std::complex< double > operator() (std::complex< double > x) const
 

Private Attributes

double s_
 

Detailed Description

Functor class to scale by s.

Definition at line 459 of file vil_math.h.

Constructor & Destructor Documentation

◆ vil_math_scale_functor()

vil_math_scale_functor::vil_math_scale_functor ( double  s)
inline

Definition at line 463 of file vil_math.h.

Member Function Documentation

◆ operator()() [1/7]

vxl_byte vil_math_scale_functor::operator() ( vxl_byte  x) const
inline

Definition at line 464 of file vil_math.h.

◆ operator()() [2/7]

unsigned vil_math_scale_functor::operator() ( unsigned  x) const
inline

Definition at line 465 of file vil_math.h.

◆ operator()() [3/7]

short vil_math_scale_functor::operator() ( short  x) const
inline

Definition at line 466 of file vil_math.h.

◆ operator()() [4/7]

int vil_math_scale_functor::operator() ( int  x) const
inline

Definition at line 467 of file vil_math.h.

◆ operator()() [5/7]

float vil_math_scale_functor::operator() ( float  x) const
inline

Definition at line 468 of file vil_math.h.

◆ operator()() [6/7]

double vil_math_scale_functor::operator() ( double  x) const
inline

Definition at line 469 of file vil_math.h.

◆ operator()() [7/7]

std::complex<double> vil_math_scale_functor::operator() ( std::complex< double >  x) const
inline

Definition at line 470 of file vil_math.h.

Member Data Documentation

◆ s_

double vil_math_scale_functor::s_
private

Definition at line 461 of file vil_math.h.


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