mimas::_normalise< T > Struct Template Reference

Linear companding function. More...

#include <functions.h>

Inheritance diagram for mimas::_normalise< T >:

Inheritance graph
[legend]
Collaboration diagram for mimas::_normalise< T >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 _normalise (T _minval, T _maxval, T _val1, T _val2)
operator() (const T &x) const

Public Attributes

double factor
double offset

Detailed Description

template<typename T>
struct mimas::_normalise< T >

Linear companding function.

Definition at line 116 of file functions.h.


Constructor & Destructor Documentation

template<typename T>
mimas::_normalise< T >::_normalise ( _minval,
_maxval,
_val1,
_val2 
) [inline]

Definition at line 119 of file functions.h.

References mimas::_normalise< T >::factor, and mimas::_normalise< T >::offset.


Member Function Documentation

template<typename T>
T mimas::_normalise< T >::operator() ( const T &  x  )  const [inline]

Definition at line 128 of file functions.h.

References mimas::_normalise< T >::factor, and mimas::_normalise< T >::offset.


Member Data Documentation

template<typename T>
double mimas::_normalise< T >::factor

Definition at line 133 of file functions.h.

Referenced by mimas::_normalise< T >::_normalise(), and mimas::_normalise< T >::operator()().

template<typename T>
double mimas::_normalise< T >::offset

Definition at line 134 of file functions.h.

Referenced by mimas::_normalise< T >::_normalise(), and mimas::_normalise< T >::operator()().


The documentation for this struct was generated from the following file:
[GNU/Linux] [Qt] [Mesa] [STL] [Lapack] [Boost] [Magick++] [Xalan-C and Xerces-C] [doxygen] [graphviz] [FFTW] [popt] [xine] [Gnuplot] [gnu-arch] [gcc] [gstreamer] [autoconf/automake/make] [freshmeat.net] [opensource.org] [sourceforge.net] [MMVL]
mimas 2.1 - Copyright Mon Oct 30 11:31:27 2006, Bala Amavasai, Stuart Meikle, Arul Selvan, Fabio Caparrelli, Jan Wedekind, Manuel Boissenin, ...