NeoPZ
Functions
tinyfadfunc.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<int Num, class T >
TinyFad< Num, T > exp (const TinyFad< Num, T > &in)
 
template<int Num, class T >
TinyFad< Num, T > log (const TinyFad< Num, T > &in)
 
template<int Num, class T >
TinyFad< Num, T > sqrt (const TinyFad< Num, T > &in)
 
template<int Num, class T >
TinyFad< Num, T > sin (const TinyFad< Num, T > &in)
 
template<int Num, class T >
TinyFad< Num, T > cos (const TinyFad< Num, T > &in)
 
template<int Num, class T >
TinyFad< Num, T > tan (const TinyFad< Num, T > &in)
 
template<int Num, class T >
TinyFad< Num, T > pow (const TinyFad< Num, T > &in, double e)
 
template<int Num, class T >
TinyFad< Num, T > pow (const TinyFad< Num, T > &un, const TinyFad< Num, T > &deux)
 
template<int Num, class T >
TinyFad< Num, T > pow (const TinyFad< Num, T > &in, const int e)
 
template<int Num, class T >
TinyFad< Num, T > abs (const TinyFad< Num, T > &in)
 

Function Documentation

◆ abs()

template<int Num, class T >
TinyFad<Num,T> abs ( const TinyFad< Num, T > &  in)

Definition at line 134 of file tinyfadfunc.h.

References TinyFad< Num, T >::val().

◆ cos()

template<int Num, class T >
TinyFad<Num,T> cos ( const TinyFad< Num, T > &  in)

Definition at line 76 of file tinyfadfunc.h.

References TinyFad< Num, T >::dx(), sin(), tmp, and TinyFad< Num, T >::val().

Referenced by sin(), and tan().

◆ exp()

template<int Num, class T >
TinyFad<Num,T> exp ( const TinyFad< Num, T > &  in)

Definition at line 24 of file tinyfadfunc.h.

References TinyFad< Num, T >::dx(), tmp, and TinyFad< Num, T >::val().

◆ log()

template<int Num, class T >
TinyFad<Num,T> log ( const TinyFad< Num, T > &  in)

Definition at line 34 of file tinyfadfunc.h.

References TinyFad< Num, T >::dx(), error(), tmp, and TinyFad< Num, T >::val().

Referenced by pow().

◆ pow() [1/3]

template<int Num, class T >
TinyFad<Num,T> pow ( const TinyFad< Num, T > &  in,
double  e 
)

Definition at line 99 of file tinyfadfunc.h.

References TinyFad< Num, T >::dx(), tmp, and TinyFad< Num, T >::val().

Referenced by pow().

◆ pow() [2/3]

template<int Num, class T >
TinyFad<Num,T> pow ( const TinyFad< Num, T > &  un,
const TinyFad< Num, T > &  deux 
)

Definition at line 110 of file tinyfadfunc.h.

References TinyFad< Num, T >::dx(), error(), log(), pow(), tmp, and TinyFad< Num, T >::val().

◆ pow() [3/3]

template<int Num, class T >
TinyFad<Num,T> pow ( const TinyFad< Num, T > &  in,
const int  e 
)

Definition at line 123 of file tinyfadfunc.h.

References TinyFad< Num, T >::dx(), pow(), tmp, and TinyFad< Num, T >::val().

◆ sin()

template<int Num, class T >
TinyFad<Num,T> sin ( const TinyFad< Num, T > &  in)

Definition at line 65 of file tinyfadfunc.h.

References cos(), TinyFad< Num, T >::dx(), tmp, and TinyFad< Num, T >::val().

Referenced by cos().

◆ sqrt()

template<int Num, class T >
TinyFad<Num,T> sqrt ( const TinyFad< Num, T > &  in)

Definition at line 45 of file tinyfadfunc.h.

References TinyFad< Num, T >::dx(), error(), tmp, and TinyFad< Num, T >::val().

◆ tan()

template<int Num, class T >
TinyFad<Num,T> tan ( const TinyFad< Num, T > &  in)

Definition at line 86 of file tinyfadfunc.h.

References cos(), TinyFad< Num, T >::dx(), error(), tmp, and TinyFad< Num, T >::val().