|
|
int | size () const |
| | number of derivatives
|
| |
|
| Evaluation () |
| | default constructor
|
| |
|
| Evaluation (const Evaluation &other)=default |
| | copy other function evaluation
|
| |
|
| Evaluation (Evaluation &&other) |
| | move other function evaluation (this only makes sense for dynamically allocated Evaluations)
|
| |
|
Evaluation & | operator= (Evaluation &&other) |
| | move assignment
|
| |
|
| Evaluation (int numDerivatives) |
| |
|
template<class RhsValueType > |
| | Evaluation (int numDerivatives, const RhsValueType &c) |
| |
|
template<class RhsValueType > |
| | Evaluation (int nVars, const RhsValueType &c, int varPos) |
| |
|
void | clearDerivatives () |
| |
|
void | print (std::ostream &os=std::cout) const |
| |
|
void | copyDerivatives (const Evaluation &other) |
| |
|
Evaluation & | operator+= (const Evaluation &other) |
| |
|
template<class RhsValueType > |
| Evaluation & | operator+= (const RhsValueType &other) |
| |
|
Evaluation & | operator-= (const Evaluation &other) |
| |
|
template<class RhsValueType > |
| Evaluation & | operator-= (const RhsValueType &other) |
| |
|
Evaluation & | operator*= (const Evaluation &other) |
| |
|
template<class RhsValueType > |
| Evaluation & | operator*= (const RhsValueType &other) |
| |
|
Evaluation & | operator/= (const Evaluation &other) |
| |
|
template<class RhsValueType > |
| Evaluation & | operator/= (const RhsValueType &other) |
| |
|
Evaluation | operator+ (const Evaluation &other) const |
| |
|
template<class RhsValueType > |
| Evaluation | operator+ (const RhsValueType &other) const |
| |
|
Evaluation | operator- (const Evaluation &other) const |
| |
|
template<class RhsValueType > |
| Evaluation | operator- (const RhsValueType &other) const |
| |
|
Evaluation | operator- () const |
| |
|
Evaluation | operator* (const Evaluation &other) const |
| |
|
template<class RhsValueType > |
| Evaluation | operator* (const RhsValueType &other) const |
| |
|
Evaluation | operator/ (const Evaluation &other) const |
| |
|
template<class RhsValueType > |
| Evaluation | operator/ (const RhsValueType &other) const |
| |
|
template<class RhsValueType > |
| Evaluation & | operator= (const RhsValueType &other) |
| |
|
Evaluation & | operator= (const Evaluation &other)=default |
| |
|
template<class RhsValueType > |
| bool | operator== (const RhsValueType &other) const |
| |
|
bool | operator== (const Evaluation &other) const |
| |
|
bool | operator!= (const Evaluation &other) const |
| |
|
template<class RhsValueType > |
| bool | operator!= (const RhsValueType &other) const |
| |
|
template<class RhsValueType > |
| bool | operator> (RhsValueType other) const |
| |
|
bool | operator> (const Evaluation &other) const |
| |
|
template<class RhsValueType > |
| bool | operator< (RhsValueType other) const |
| |
|
bool | operator< (const Evaluation &other) const |
| |
|
template<class RhsValueType > |
| bool | operator>= (RhsValueType other) const |
| |
|
bool | operator>= (const Evaluation &other) const |
| |
|
template<class RhsValueType > |
| bool | operator<= (RhsValueType other) const |
| |
|
bool | operator<= (const Evaluation &other) const |
| |
|
const ValueType & | value () const |
| |
|
template<class RhsValueType > |
| void | setValue (const RhsValueType &val) |
| |
|
const ValueType & | derivative (int varIdx) const |
| |
|
void | setDerivative (int varIdx, const ValueType &derVal) |
| |
|
|
static Evaluation | createBlank (const Evaluation &x) |
| |
|
static Evaluation | createConstantZero (const Evaluation &x) |
| |
|
static Evaluation | createConstantOne (const Evaluation &x) |
| |
|
template<class RhsValueType > |
| static Evaluation | createVariable (const RhsValueType &, int) |
| |
|
template<class RhsValueType > |
| static Evaluation | createVariable (int nVars, const RhsValueType &value, int varPos) |
| |
|
template<class RhsValueType > |
| static Evaluation | createVariable (const Evaluation &x, const RhsValueType &value, int varPos) |
| |
|
template<class RhsValueType > |
| static Evaluation | createConstant (int nVars, const RhsValueType &value) |
| |
|
template<class RhsValueType > |
| static Evaluation | createConstant (const RhsValueType &) |
| |
|
template<class RhsValueType > |
| static Evaluation | createConstant (const Evaluation &x, const RhsValueType &value) |
| |
template<class ValueT, unsigned staticSize>
class Opm::DenseAd::Evaluation< ValueT, DynamicSize, staticSize >
Represents a function evaluation and its derivatives w.r.t.
a run-time specified set of variables.