Function \(2^x\).
More...
#include <exp.h>
|
| Exp2 (double x=0.) noexcept |
| Constructor. More...
|
|
void | update (double x) noexcept |
| Set point of evaluation. More...
|
|
double | d0 () const noexcept |
| Function value. More...
|
|
double | d1 (double dx=1.) const noexcept |
| First (directional) derivative. More...
|
|
double | d2 (double dx=1., double dy=1.) const noexcept |
| Second (directional) derivative. More...
|
|
double | d3 (double dx=1., double dy=1., double dz=1.) const noexcept |
| Third (directional) derivative. More...
|
|
Function \(2^x\).
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.
◆ Exp2()
funcy::Exp2::Exp2 |
( |
double |
x = 0. | ) |
|
|
inlineexplicitnoexcept |
◆ d0()
double funcy::Exp2::d0 |
( |
| ) |
const |
|
inlinenoexcept |
◆ d1()
double funcy::Exp2::d1 |
( |
double |
dx = 1. | ) |
const |
|
inlinenoexcept |
First (directional) derivative.
◆ d2()
double funcy::Exp2::d2 |
( |
double |
dx = 1. , |
|
|
double |
dy = 1. |
|
) |
| const |
|
inlinenoexcept |
Second (directional) derivative.
◆ d3()
double funcy::Exp2::d3 |
( |
double |
dx = 1. , |
|
|
double |
dy = 1. , |
|
|
double |
dz = 1. |
|
) |
| const |
|
inlinenoexcept |
Third (directional) derivative.
◆ update()
void funcy::Exp2::update |
( |
double |
x | ) |
|
|
inlinenoexcept |
The documentation for this struct was generated from the following file:
- include/funcy/cmath/exp.h