#include <gpr/derivatives/CountedReal.h>
Public Member Functions | |
| CountedReal ()=default | |
| CountedReal (double value) | |
| double | value () const noexcept |
| CountedReal & | operator+= (const CountedReal &other) |
| CountedReal & | operator-= (const CountedReal &other) |
| CountedReal & | operator*= (const CountedReal &other) |
| CountedReal & | operator/= (const CountedReal &other) |
Friends | |
| CountedReal | operator+ (CountedReal a, const CountedReal &b) |
| CountedReal | operator- (CountedReal a, const CountedReal &b) |
| CountedReal | operator* (CountedReal a, const CountedReal &b) |
| CountedReal | operator/ (CountedReal a, const CountedReal &b) |
| CountedReal | operator- (const CountedReal &a) |
| CountedReal | operator+ (const CountedReal &a) |
| bool | operator< (const CountedReal &a, const CountedReal &b) |
| bool | operator> (const CountedReal &a, const CountedReal &b) |
| bool | operator<= (const CountedReal &a, const CountedReal &b) |
| bool | operator>= (const CountedReal &a, const CountedReal &b) |
| bool | operator== (const CountedReal &a, const CountedReal &b) |
| bool | operator!= (const CountedReal &a, const CountedReal &b) |
| CountedReal | exp (const CountedReal &a) |
| CountedReal | sqrt (const CountedReal &a) |
| CountedReal | pow (const CountedReal &a, const CountedReal &b) |
| CountedReal | abs (const CountedReal &a) |
| bool | isfinite (const CountedReal &a) |
A double whose arithmetic increments operationCounts(). It carries no derivative and rounds each operation as double does; Eigen does not vectorise it, so reductions can associate differently from a double evaluation of the same expression.
Definition at line 43 of file CountedReal.h.
|
default |
|
inline |
Definition at line 46 of file CountedReal.h.
|
inline |
Definition at line 65 of file CountedReal.h.
|
inline |
Definition at line 53 of file CountedReal.h.
|
inline |
Definition at line 59 of file CountedReal.h.
|
inline |
Definition at line 71 of file CountedReal.h.
|
inlinenodiscardnoexcept |
Definition at line 48 of file CountedReal.h.
|
friend |
Definition at line 141 of file CountedReal.h.
|
friend |
Definition at line 126 of file CountedReal.h.
|
friend |
Definition at line 145 of file CountedReal.h.
|
friend |
Definition at line 122 of file CountedReal.h.
|
friend |
Definition at line 85 of file CountedReal.h.
|
friend |
Definition at line 98 of file CountedReal.h.
|
friend |
Definition at line 77 of file CountedReal.h.
|
friend |
Definition at line 93 of file CountedReal.h.
|
friend |
Definition at line 81 of file CountedReal.h.
|
friend |
Definition at line 89 of file CountedReal.h.
|
friend |
Definition at line 102 of file CountedReal.h.
|
friend |
Definition at line 110 of file CountedReal.h.
|
friend |
Definition at line 118 of file CountedReal.h.
|
friend |
Definition at line 106 of file CountedReal.h.
|
friend |
Definition at line 114 of file CountedReal.h.
|
friend |
Definition at line 136 of file CountedReal.h.
|
friend |
Definition at line 131 of file CountedReal.h.