Theoretica
A C++ numerical and automatic mathematical library
dual2_functions.h File Reference

Functions defined on second order dual numbers for automatic differentiation. More...

#include "./dual2.h"
#include "../core/real_analysis.h"

Go to the source code of this file.

Namespaces

 theoretica
 Main namespace of the library which contains all functions and objects.
 

Functions

dual2 theoretica::square (dual2 x)
 Return the square of a second order dual number.
 
dual2 theoretica::cube (dual2 x)
 Return the cube of a second order dual number.
 
dual2 theoretica::conjugate (dual2 x)
 Return the conjugate of a second order dual number.
 
dual2 theoretica::pow (dual2 x, int n)
 Compute the n-th power of a second order dual number.
 
dual2 theoretica::sqrt (dual2 x)
 Compute the square root of a second order dual number.
 
dual2 theoretica::sin (dual2 x)
 Compute the sine of a second order dual number.
 
dual2 theoretica::cos (dual2 x)
 Compute the cosine of a second order dual number.
 
dual2 theoretica::tan (dual2 x)
 Compute the tangent of a second order dual number.
 
dual2 theoretica::cot (dual2 x)
 Compute the cotangent of a second order dual number.
 
dual2 theoretica::exp (dual2 x)
 Compute the exponential of a second order dual number.
 
dual2 theoretica::ln (dual2 x)
 Compute the natural logarithm of a second order dual number.
 
dual2 theoretica::log2 (dual2 x)
 Compute the natural logarithm of a second order dual number.
 
dual2 theoretica::log10 (dual2 x)
 Compute the natural logarithm of a second order dual number.
 
dual2 theoretica::abs (dual2 x)
 Compute the absolute value of a second order dual number.
 
dual2 theoretica::asin (dual2 x)
 Compute the arcsine of a second order dual number.
 
dual2 theoretica::acos (dual2 x)
 Compute the arcosine of a second order dual number.
 
dual2 theoretica::atan (dual2 x)
 Compute the arctangent of a second order dual number.
 

Detailed Description

Functions defined on second order dual numbers for automatic differentiation.