scythe::ax_plus_b< T > Struct Template Reference

#include <scythestat/algorithm.h>

Collaboration diagram for scythe::ax_plus_b< T >:

Collaboration graph
[legend]
List of all members.

Detailed Description

template<typename T>
struct scythe::ax_plus_b< T >

A Functor encapsulating $ax+b$.

This function object wraps the operation $ax+b$ for use in generic algorithms, where a is some constant.


Public Member Functions

 ax_plus_b (T a)
operator() (T x, T b) const

Public Attributes

a_


The documentation for this struct was generated from the following file:
Generated on Wed Aug 15 14:53:49 2007 for Scythe-1.0.2 by  doxygen 1.4.7