Math.hpp
Go to the documentation of this file.
47Evaluation<ValueType, numVars, staticSize> abs(const Evaluation<ValueType, numVars, staticSize>& x)
51Evaluation<ValueType, numVars, staticSize> min(const Evaluation<ValueType, numVars, staticSize>& x1,
69Evaluation<ValueType, numVars, staticSize> min(const Evaluation<ValueType, numVars, staticSize>& x1,
74Evaluation<ValueType, numVars, staticSize> max(const Evaluation<ValueType, numVars, staticSize>& x1,
92Evaluation<ValueType, numVars, staticSize> max(const Evaluation<ValueType, numVars, staticSize>& x1,
97Evaluation<ValueType, numVars, staticSize> tan(const Evaluation<ValueType, numVars, staticSize>& x)
115Evaluation<ValueType, numVars, staticSize> atan(const Evaluation<ValueType, numVars, staticSize>& x)
132Evaluation<ValueType, numVars, staticSize> atan2(const Evaluation<ValueType, numVars, staticSize>& x,
153Evaluation<ValueType, numVars, staticSize> atan2(const Evaluation<ValueType, numVars, staticSize>& x,
195Evaluation<ValueType, numVars, staticSize> sin(const Evaluation<ValueType, numVars, staticSize>& x)
212Evaluation<ValueType, numVars, staticSize> asin(const Evaluation<ValueType, numVars, staticSize>& x)
229Evaluation<ValueType, numVars, staticSize> sinh(const Evaluation<ValueType, numVars, staticSize>& x)
246Evaluation<ValueType, numVars, staticSize> asinh(const Evaluation<ValueType, numVars, staticSize>& x)
263Evaluation<ValueType, numVars, staticSize> cos(const Evaluation<ValueType, numVars, staticSize>& x)
280Evaluation<ValueType, numVars, staticSize> acos(const Evaluation<ValueType, numVars, staticSize>& x)
297Evaluation<ValueType, numVars, staticSize> cosh(const Evaluation<ValueType, numVars, staticSize>& x)
314Evaluation<ValueType, numVars, staticSize> acosh(const Evaluation<ValueType, numVars, staticSize>& x)
331Evaluation<ValueType, numVars, staticSize> sqrt(const Evaluation<ValueType, numVars, staticSize>& x)
350Evaluation<ValueType, numVars, staticSize> exp(const Evaluation<ValueType, numVars, staticSize>& x)
368Evaluation<ValueType, numVars, staticSize> pow(const Evaluation<ValueType, numVars, staticSize>& base,
422Evaluation<ValueType, numVars, staticSize> pow(const Evaluation<ValueType, numVars, staticSize>& base,
454Evaluation<ValueType, numVars, staticSize> log(const Evaluation<ValueType, numVars, staticSize>& x)
472Evaluation<ValueType, numVars, staticSize> log10(const Evaluation<ValueType, numVars, staticSize>& x)
Representation of an evaluation of a function and its derivatives w.r.t. a set of variables in the lo... A traits class which provides basic mathematical functions for arbitrary scalar floating point values... Represents a function evaluation and its derivatives w.r.t. a fixed set of variables. Definition: Evaluation.hpp:59 const ValueType & derivative(int varIdx) const Definition: Evaluation.hpp:536 constexpr int size() const number of derivatives Definition: Evaluation.hpp:69 void setDerivative(int varIdx, const ValueType &derVal) Definition: Evaluation.hpp:544 void setValue(const RhsValueType &val) Definition: Evaluation.hpp:532 Evaluation< ValueType, numVars, staticSize > cosh(const Evaluation< ValueType, numVars, staticSize > &x) Definition: Math.hpp:297 Evaluation< ValueType, numVars, staticSize > atan2(const ValueType &x, const Evaluation< ValueType, numVars, staticSize > &y) Definition: Math.hpp:174 Evaluation< ValueType, numVars, staticSize > pow(const Evaluation< ValueType, numVars, staticSize > &base, const Evaluation< ValueType, numVars, staticSize > &exp) Definition: Math.hpp:422 Evaluation< ValueType, numVars, staticSize > atan2(const Evaluation< ValueType, numVars, staticSize > &x, const Evaluation< ValueType, numVars, staticSize > &y) Definition: Math.hpp:132 Evaluation< ValueType, numVars, staticSize > asinh(const Evaluation< ValueType, numVars, staticSize > &x) Definition: Math.hpp:246 Evaluation< ValueType, numVars, staticSize > abs(const Evaluation< ValueType, numVars, staticSize > &x) Definition: Math.hpp:47 Evaluation< ValueType, numVars, staticSize > sqrt(const Evaluation< ValueType, numVars, staticSize > &x) Definition: Math.hpp:331 Evaluation< ValueType, numVars, staticSize > atan(const Evaluation< ValueType, numVars, staticSize > &x) Definition: Math.hpp:115 Evaluation< ValueType, numVars, staticSize > tan(const Evaluation< ValueType, numVars, staticSize > &x) Definition: Math.hpp:97 Evaluation< ValueType, numVars, staticSize > sin(const Evaluation< ValueType, numVars, staticSize > &x) Definition: Math.hpp:195 Evaluation< ValueType, numVars, staticSize > cos(const Evaluation< ValueType, numVars, staticSize > &x) Definition: Math.hpp:263 Evaluation< ValueType, numVars, staticSize > asin(const Evaluation< ValueType, numVars, staticSize > &x) Definition: Math.hpp:212 Evaluation< ValueType, numVars, staticSize > pow(const Evaluation< ValueType, numVars, staticSize > &base, const ExpType &exp) Definition: Math.hpp:368 Evaluation< ValueType, numVars, staticSize > acosh(const Evaluation< ValueType, numVars, staticSize > &x) Definition: Math.hpp:314 Evaluation< ValueType, numVars, staticSize > acos(const Evaluation< ValueType, numVars, staticSize > &x) Definition: Math.hpp:280 Evaluation< ValueType, numVars, staticSize > exp(const Evaluation< ValueType, numVars, staticSize > &x) Definition: Math.hpp:350 Evaluation< ValueType, numVars, staticSize > min(const Evaluation< ValueType, numVars, staticSize > &x1, const Evaluation< ValueType, numVars, staticSize > &x2) Definition: Math.hpp:51 Evaluation< ValueType, numVars, staticSize > max(const Evaluation< ValueType, numVars, staticSize > &x1, const Evaluation< ValueType, numVars, staticSize > &x2) Definition: Math.hpp:74 Evaluation< ValueType, numVars, staticSize > sinh(const Evaluation< ValueType, numVars, staticSize > &x) Definition: Math.hpp:229 Evaluation< ValueType, numVars, staticSize > log(const Evaluation< ValueType, numVars, staticSize > &x) Definition: Math.hpp:454 Evaluation< ValueType, numVars, staticSize > log10(const Evaluation< ValueType, numVars, staticSize > &x) Definition: Math.hpp:472 Definition: Air_Mesitylene.hpp:34 static Evaluation pow(const Evaluation &arg1, const Evaluation &arg2) Definition: Math.hpp:625 static std::enable_if< std::is_same< Evaluation, LhsEval >::value, LhsEval >::type decay(const Evaluation &&eval) Definition: Math.hpp:538 static Evaluation cos(const Evaluation &arg) Definition: Math.hpp:599 static Evaluation createConstant(unsigned numDeriv, const ValueType value) Definition: Math.hpp:520 static Evaluation log(const Evaluation &arg) Definition: Math.hpp:611 static Evaluation asin(const Evaluation &arg) Definition: Math.hpp:596 static Evaluation createConstantOne(const Evaluation &x) Definition: Math.hpp:514 static std::enable_if< std::is_floating_point< LhsEval >::value, LhsEval >::type decay(const Evaluation &eval) Definition: Math.hpp:544 InnerToolbox::Scalar Scalar Definition: Math.hpp:499 static Evaluation createConstant(ValueType value) Definition: Math.hpp:517 static Evaluation atan(const Evaluation &arg) Definition: Math.hpp:579 static Evaluation acos(const Evaluation &arg) Definition: Math.hpp:602 static std::enable_if< std::is_same< Evaluation, LhsEval >::value, LhsEval >::type decay(const Evaluation &eval) Definition: Math.hpp:532 static Evaluation abs(const Evaluation &arg) Definition: Math.hpp:573 static bool isfinite(const Evaluation &arg) Definition: Math.hpp:628 static Evaluation pow(const RhsValueType &arg1, const Evaluation &arg2) Definition: Math.hpp:622 static Evaluation createConstant(const Evaluation &x, const ValueType value) Definition: Math.hpp:523 static Evaluation sqrt(const Evaluation &arg) Definition: Math.hpp:605 static ValueType value(const Evaluation &eval) Definition: Math.hpp:502 DenseAd::Evaluation< ValueType, numVars, staticSize > Evaluation Definition: Math.hpp:500 static Evaluation atan2(const Evaluation &arg1, const Evaluation &arg2) Definition: Math.hpp:582 static bool isSame(const Evaluation &a, const Evaluation &b, Scalar tolerance) Definition: Math.hpp:548 static Evaluation exp(const Evaluation &arg) Definition: Math.hpp:608 static Evaluation min(const Arg1Eval &arg1, const Arg2Eval &arg2) Definition: Math.hpp:570 static Evaluation createVariable(ValueType value, int varIdx) Definition: Math.hpp:526 static Evaluation createBlank(const Evaluation &x) Definition: Math.hpp:508 static Evaluation log10(const Evaluation &arg) Definition: Math.hpp:614 static Evaluation createConstantZero(const Evaluation &x) Definition: Math.hpp:511 static Evaluation sin(const Evaluation &arg) Definition: Math.hpp:593 static Evaluation atan2(const Evaluation &arg1, const Eval2 &arg2) Definition: Math.hpp:586 static decltype(InnerToolbox::scalarValue(0.0)) scalarValue(const Evaluation &eval) Definition: Math.hpp:505 ValueT ValueType Definition: Math.hpp:497 static Evaluation atan2(const Eval1 &arg1, const Evaluation &arg2) Definition: Math.hpp:590 MathToolbox< ValueType > InnerToolbox Definition: Math.hpp:498 static Evaluation tan(const Evaluation &arg) Definition: Math.hpp:576 static Evaluation pow(const Evaluation &arg1, const RhsValueType &arg2) Definition: Math.hpp:618 static Evaluation max(const Arg1Eval &arg1, const Arg2Eval &arg2) Definition: Math.hpp:566 static bool isnan(const Evaluation &arg) Definition: Math.hpp:640 Definition: MathToolbox.hpp:50 static Scalar value(Scalar value) Return the value of the function at a given evaluation point. Definition: MathToolbox.hpp:83 ScalarT Scalar The type used to represent "primitive" scalar values. Definition: MathToolbox.hpp:57 static bool isfinite(Scalar arg) Return true iff the argument's value and all its derivatives are finite values. Definition: MathToolbox.hpp:273 static Scalar scalarValue(Scalar value) Return the primitive scalar value of a value object. Definition: MathToolbox.hpp:92 static bool isnan(Scalar arg) Return true iff the argument's value or any of its derivatives are NaN values. Definition: MathToolbox.hpp:277 |