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