#include <SimpleFunctors.h>
Public Member Functions | |
addmul_left (const double weight) | |
T1 & | operator() (T1 &left, const T2 &right) const |
Private Member Functions | |
addmul_left () | |
Private Attributes | |
double | w_ |
In-place addition on the left side preceded by multiplication of the right argument by a double
Definition at line 270 of file SimpleFunctors.h.
npstat::addmul_left< T1, T2 >::addmul_left | ( | const double | weight | ) | [inline, explicit] |
Definition at line 272 of file SimpleFunctors.h.
npstat::addmul_left< T1, T2 >::addmul_left | ( | ) | [private] |
T1& npstat::addmul_left< T1, T2 >::operator() | ( | T1 & | left, |
const T2 & | right | ||
) | const [inline] |
Definition at line 274 of file SimpleFunctors.h.
References npstat::addmul_left< T1, T2 >::w_.
{return left += w_*right;}
double npstat::addmul_left< T1, T2 >::w_ [private] |
Definition at line 279 of file SimpleFunctors.h.
Referenced by npstat::addmul_left< T1, T2 >::operator()().