Sine function including first three derivatives (based on sin(double) in <cmath>). More...
#include <arcsine.hh>
Public Member Functions | |
| ASin (double x=0.) | |
| Constructor. More... | |
| void | update (double x) |
| Reset point of evaluation. | |
| double | d0 () const noexcept |
| Function value. | |
| template<int = -1> | |
| double | d1 (double dx=1) const |
| First (directional) derivative. | |
| template<int = -1, int = -1> | |
| double | d2 (double dx=1, double dy=1) const |
| Second (directional) derivative. | |
| template<int = -1, int = -1, int = -1> | |
| double | d3 (double dx=1, double dy=1, double dz=1) const |
| Third (directional) derivative. | |
Public Member Functions inherited from RFFGen::Base | |
| template<class Arg > | |
| void | update (const Arg &) |
| Update on changed input. | |
| template<int id, class Arg > | |
| void | updateVariable (const Arg &) |
| Empty variables. | |
Sine function including first three derivatives (based on sin(double) in <cmath>).
For scalar functions directional derivatives are less interesting. Incorporating this function as building block for more complex functions requires directional derivatives. These occur during applications of the chain rule.
|
inlineexplicit |
Constructor.
| x | point of evaluation |
1.8.6