Scythe-1.0.3
Public Member Functions | Public Attributes
scythe::ax_plus_b< T > Struct Template Reference

A Functor encapsulating $ax+b$. More...

#include <scythestat/algorithm.h>

List of all members.

Public Member Functions

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

Public Attributes

a_

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.


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