#include <SimpleFunctors.h>
Public Member Functions | |
diveq_right_0by0isC () | |
diveq_right_0by0isC (const T2 &value) | |
T2 & | operator() (const T1 &left, T2 &right) const |
Private Attributes | |
T2 | C |
T1 | leftZero |
T2 | rightZero |
In-place division on the right side. Allow 0/0 = const.
Definition at line 375 of file SimpleFunctors.h.
npstat::diveq_right_0by0isC< T1, T2 >::diveq_right_0by0isC | ( | ) | [inline] |
Definition at line 377 of file SimpleFunctors.h.
npstat::diveq_right_0by0isC< T1, T2 >::diveq_right_0by0isC | ( | const T2 & | value | ) | [inline, explicit] |
T2& npstat::diveq_right_0by0isC< T1, T2 >::operator() | ( | const T1 & | left, |
T2 & | right | ||
) | const [inline] |
Definition at line 382 of file SimpleFunctors.h.
References npstat::diveq_right_0by0isC< T1, T2 >::C, npstat::diveq_right_0by0isC< T1, T2 >::leftZero, and npstat::diveq_right_0by0isC< T1, T2 >::rightZero.
T2 npstat::diveq_right_0by0isC< T1, T2 >::C [private] |
Definition at line 394 of file SimpleFunctors.h.
Referenced by npstat::diveq_right_0by0isC< T1, T2 >::operator()().
T1 npstat::diveq_right_0by0isC< T1, T2 >::leftZero [private] |
Definition at line 395 of file SimpleFunctors.h.
Referenced by npstat::diveq_right_0by0isC< T1, T2 >::operator()().
T2 npstat::diveq_right_0by0isC< T1, T2 >::rightZero [private] |
Definition at line 396 of file SimpleFunctors.h.
Referenced by npstat::diveq_right_0by0isC< T1, T2 >::operator()().