#include <SimpleFunctors.h>
Public Member Functions | |
diveq_left_0by0isC () | |
diveq_left_0by0isC (const T1 &value) | |
T1 & | operator() (T1 &left, const T2 &right) const |
Private Attributes | |
T1 | C |
T1 | leftZero |
T2 | rightZero |
In-place division on the left side. Allow 0/0 = const.
Definition at line 349 of file SimpleFunctors.h.
npstat::diveq_left_0by0isC< T1, T2 >::diveq_left_0by0isC | ( | ) | [inline] |
Definition at line 351 of file SimpleFunctors.h.
npstat::diveq_left_0by0isC< T1, T2 >::diveq_left_0by0isC | ( | const T1 & | value | ) | [inline, explicit] |
T1& npstat::diveq_left_0by0isC< T1, T2 >::operator() | ( | T1 & | left, |
const T2 & | right | ||
) | const [inline] |
Definition at line 356 of file SimpleFunctors.h.
References npstat::diveq_left_0by0isC< T1, T2 >::C, npstat::diveq_left_0by0isC< T1, T2 >::leftZero, and npstat::diveq_left_0by0isC< T1, T2 >::rightZero.
T1 npstat::diveq_left_0by0isC< T1, T2 >::C [private] |
Definition at line 368 of file SimpleFunctors.h.
Referenced by npstat::diveq_left_0by0isC< T1, T2 >::operator()().
T1 npstat::diveq_left_0by0isC< T1, T2 >::leftZero [private] |
Definition at line 369 of file SimpleFunctors.h.
Referenced by npstat::diveq_left_0by0isC< T1, T2 >::operator()().
T2 npstat::diveq_left_0by0isC< T1, T2 >::rightZero [private] |
Definition at line 370 of file SimpleFunctors.h.
Referenced by npstat::diveq_left_0by0isC< T1, T2 >::operator()().