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

Functions defined on multidual numbers for automatic differentiation of multivariable real functions. More...

#include "./multidual.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

template<unsigned int N>
multidual< N > theoretica::square (multidual< N > x)
 Return the square of a multidual number.
 
template<unsigned int N>
multidual< N > theoretica::cube (multidual< N > x)
 Return the cube of a multidual number.
 
template<unsigned int N>
multidual< N > theoretica::conjugate (multidual< N > x)
 Return the conjugate of a multidual number.
 
template<unsigned int N>
multidual< N > theoretica::pow (multidual< N > x, int n)
 Compute the n-th power of a multidual number.
 
template<unsigned int N>
multidual< N > theoretica::sqrt (multidual< N > x)
 Compute the square root of a multidual number.
 
template<unsigned int N>
multidual< N > theoretica::sin (multidual< N > x)
 Compute the sine of a multidual number.
 
template<unsigned int N>
multidual< N > theoretica::cos (multidual< N > x)
 Compute the cosine of a multidual number.
 
template<unsigned int N>
multidual< N > theoretica::tan (multidual< N > x)
 Compute the tangent of a multidual number.
 
template<unsigned int N>
multidual< N > theoretica::cot (multidual< N > x)
 Compute the cotangent of a multidual number.
 
template<unsigned int N>
multidual< N > theoretica::exp (multidual< N > x)
 Compute the exponential of a multidual number.
 
template<unsigned int N>
multidual< N > theoretica::ln (multidual< N > x)
 Compute the natural logarithm of a multidual number.
 
template<unsigned int N>
multidual< N > theoretica::log2 (multidual< N > x)
 Compute the natural logarithm of a multidual number.
 
template<unsigned int N>
multidual< N > theoretica::log10 (multidual< N > x)
 Compute the natural logarithm of a multidual number.
 
template<unsigned int N>
multidual< N > theoretica::abs (multidual< N > x)
 Compute the absolute value of a multidual number.
 
template<unsigned int N>
multidual< N > theoretica::asin (multidual< N > x)
 Compute the arcsine of a multidual number.
 
template<unsigned int N>
multidual< N > theoretica::acos (multidual< N > x)
 Compute the arccosine of a multidual number.
 
template<unsigned int N>
multidual< N > theoretica::atan (multidual< N > x)
 Compute the arctangent of a multidual number.
 
template<unsigned int N>
multidual< N > theoretica::sinh (multidual< N > x)
 Compute the hyperbolic sine of a multidual number.
 
template<unsigned int N>
multidual< N > theoretica::cosh (multidual< N > x)
 Compute the hyperbolic cosine of a multidual number.
 
template<unsigned int N>
multidual< N > theoretica::tanh (multidual< N > x)
 Compute the hyperbolic tangent of a multidual number.
 

Detailed Description

Functions defined on multidual numbers for automatic differentiation of multivariable real functions.