|
funcy
1.6.1
|
Cosine function (based on cos(double) in <cmath>). More...
#include <cosine.h>


Public Member Functions | |
| Cos (double x=0.) noexcept | |
| Constructor. More... | |
| void | update (double x) noexcept |
| Set point of evaluation. | |
| double | d0 () const noexcept |
| Function value. | |
| double | d1 (double dx=1.) const noexcept |
| First (directional) derivative. | |
| double | d2 (double dx=1., double dy=1.) const noexcept |
| Second (directional) derivative. | |
| double | d3 (double dx=1., double dy=1., double dz=1.) const noexcept |
| Third (directional) derivative. | |
Cosine function (based on cos(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.
|
inlineexplicitnoexcept |
Constructor.
| x | point of evaluation |
1.8.13