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 |
vcl_complex< double > | operator() (vcl_complex< double > x) const |
Private Attributes | |
double | s_ |
Functor class to scale by s.
Definition at line 363 of file vil_math.h.
vil_math_scale_functor::vil_math_scale_functor | ( | double | s | ) | [inline] |
Definition at line 367 of file vil_math.h.
vxl_byte vil_math_scale_functor::operator() | ( | vxl_byte | x | ) | const [inline] |
Definition at line 368 of file vil_math.h.
unsigned vil_math_scale_functor::operator() | ( | unsigned | x | ) | const [inline] |
Definition at line 369 of file vil_math.h.
short vil_math_scale_functor::operator() | ( | short | x | ) | const [inline] |
Definition at line 370 of file vil_math.h.
int vil_math_scale_functor::operator() | ( | int | x | ) | const [inline] |
Definition at line 371 of file vil_math.h.
float vil_math_scale_functor::operator() | ( | float | x | ) | const [inline] |
Definition at line 372 of file vil_math.h.
double vil_math_scale_functor::operator() | ( | double | x | ) | const [inline] |
Definition at line 373 of file vil_math.h.
vcl_complex<double> vil_math_scale_functor::operator() | ( | vcl_complex< double > | x | ) | const [inline] |
Definition at line 374 of file vil_math.h.
double vil_math_scale_functor::s_ [private] |
Definition at line 365 of file vil_math.h.