UnaryLinear< T > Class Template Reference
[Functor: Linear]

Linear functor. More...

#include <linear.h>

List of all members.

Public Types

typedef Base::argument_type argument_type
 The argument type.
typedef Base::result_type result_type
 The result type.

Public Member Functions

 UnaryLinear (const T a_=0, const T b_=0)
 Construct from the coefficients.
result_type operator() (const argument_type &x) const
 Return the value of the linear function.

Public Attributes

a
 The multiplicative coefficient.
b
 The additive coefficient.

Detailed Description

template<typename T>
class UnaryLinear< T >

Linear functor.


The documentation for this class was generated from the following file:
Generated on Thu Jun 30 02:14:52 2016 for Algorithms and Data Structures Package by  doxygen 1.6.3