funcy  1.6.1
Public Member Functions | List of all members
funcy::ACos Struct Reference

Arc cosine function (based on acos(double) in <cmath>). More...

#include <arccos.h>

Inheritance diagram for funcy::ACos:
Inheritance graph
[legend]
Collaboration diagram for funcy::ACos:
Collaboration graph
[legend]

Public Member Functions

 ACos (double x=0.) FUNCY_NOEXCEPT
 Constructor. More...
 
void update (double x) FUNCY_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...
 

Detailed Description

Arc cosine function (based on acos(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.

Constructor & Destructor Documentation

◆ ACos()

funcy::ACos::ACos ( double  x = 0.)
inlineexplicit

Constructor.

Parameters
xpoint of evaluation

Member Function Documentation

◆ d0()

double funcy::ACos::d0 ( ) const
inlinenoexcept

Function value.

◆ d1()

double funcy::ACos::d1 ( double  dx = 1) const
inlinenoexcept

First (directional) derivative.

◆ d2()

double funcy::ACos::d2 ( double  dx = 1,
double  dy = 1 
) const
inlinenoexcept

Second (directional) derivative.

◆ d3()

double funcy::ACos::d3 ( double  dx = 1,
double  dy = 1,
double  dz = 1 
) const
inlinenoexcept

Third (directional) derivative.

◆ update()

void funcy::ACos::update ( double  x)
inline

Set point of evaluation.


The documentation for this struct was generated from the following file: