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

Go to the source code of this file.

Classes

class  TinyFad< 1, T >
 

Functions

template<class T >
TinyFad< 1, T > operator+ (const TinyFad< 1, T > &in)
 
template<class T >
TinyFad< 1, T > operator- (const TinyFad< 1, T > &in)
 
template<class L , class R >
TinyFad< 1, typename NumericalTraits< L, R >::promote > operator+ (const TinyFad< 1, L > &un, const TinyFad< 1, R > &deux)
 
template<class L , class R >
TinyFad< 1, typename NumericalTraits< L, R >::promote > operator+ (const TinyFad< 1, L > &un, const R &deux)
 
template<class L , class R >
TinyFad< 1, typename NumericalTraits< L, R >::promote > operator+ (const L &un, const TinyFad< 1, R > &deux)
 
template<class L , class R >
TinyFad< 1, typename NumericalTraits< L, R >::promote > operator* (const TinyFad< 1, L > &un, const TinyFad< 1, R > &deux)
 
template<class L , class R >
TinyFad< 1, typename NumericalTraits< L, R >::promote > operator* (const TinyFad< 1, L > &un, const R &deux)
 
template<class L , class R >
TinyFad< 1, typename NumericalTraits< L, R >::promote > operator* (const L &un, const TinyFad< 1, R > &deux)
 
template<class L , class R >
TinyFad< 1, typename NumericalTraits< L, R >::promote > operator- (const TinyFad< 1, L > &un, const TinyFad< 1, R > &deux)
 
template<class L , class R >
TinyFad< 1, typename NumericalTraits< L, R >::promote > operator- (const L &un, const TinyFad< 1, R > &deux)
 
template<class L , class R >
TinyFad< 1, typename NumericalTraits< L, R >::promote > operator- (const TinyFad< 1, L > &un, const R &deux)
 
template<class L , class R >
TinyFad< 1, typename NumericalTraits< L, R >::promote > operator/ (const TinyFad< 1, L > &un, const TinyFad< 1, R > &deux)
 
template<class L , class R >
TinyFad< 1, typename NumericalTraits< L, R >::promote > operator/ (const L &un, const TinyFad< 1, R > &deux)
 
template<class L , class R >
TinyFad< 1, typename NumericalTraits< L, R >::promote > operator/ (const TinyFad< 1, L > &un, const R &deux)
 
template<class T >
TinyFad< 1, T > exp (const TinyFad< 1, T > &in)
 
template<class T >
TinyFad< 1, T > log (const TinyFad< 1, T > &in)
 
template<class T >
TinyFad< 1, T > sqrt (const TinyFad< 1, T > &in)
 
template<class T >
TinyFad< 1, T > sin (const TinyFad< 1, T > &in)
 
template<class T >
TinyFad< 1, T > cos (const TinyFad< 1, T > &in)
 
template<class T >
TinyFad< 1, T > tan (const TinyFad< 1, T > &in)
 
template<class T >
TinyFad< 1, T > pow (const TinyFad< 1, T > &in, double e)
 
template<class T >
TinyFad< 1, T > pow (const TinyFad< 1, T > &un, const TinyFad< 1, T > &deux)
 
template<class T >
TinyFad< 1, T > pow (const TinyFad< 1, T > &in, const int e)
 
template<class T >
TinyFad< 1, T > abs (const TinyFad< 1, T > &in)
 
template<class T >
std::ostream & operator<< (std::ostream &os, const TinyFad< 1, T > &a)
 

Function Documentation

◆ abs()

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

Definition at line 461 of file tinyfadone.h.

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

◆ cos()

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

Definition at line 412 of file tinyfadone.h.

References TinyFad< 1, T >::d0(), sin(), tmp, and TinyFad< 1, T >::val().

Referenced by sin(), and tan().

◆ exp()

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

Definition at line 365 of file tinyfadone.h.

References TinyFad< 1, T >::d0(), tmp, and TinyFad< 1, T >::val().

◆ log()

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

Definition at line 374 of file tinyfadone.h.

References TinyFad< 1, T >::d0(), error(), tmp, and TinyFad< 1, T >::val().

Referenced by pow().

◆ operator*() [1/3]

template<class L , class R >
TinyFad<1,typename NumericalTraits<L,R>::promote > operator* ( const TinyFad< 1, L > &  un,
const TinyFad< 1, R > &  deux 
)
inline

Definition at line 224 of file tinyfadone.h.

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

Referenced by operator*().

◆ operator*() [2/3]

template<class L , class R >
TinyFad<1,typename NumericalTraits<L,R>::promote > operator* ( const TinyFad< 1, L > &  un,
const R &  deux 
)
inline

Definition at line 240 of file tinyfadone.h.

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

◆ operator*() [3/3]

template<class L , class R >
TinyFad<1,typename NumericalTraits<L,R>::promote > operator* ( const L &  un,
const TinyFad< 1, R > &  deux 
)
inline

Definition at line 256 of file tinyfadone.h.

References operator*().

◆ operator+() [1/4]

template<class T >
TinyFad<1,T> operator+ ( const TinyFad< 1, T > &  in)
inline

Definition at line 172 of file tinyfadone.h.

Referenced by operator+().

◆ operator+() [2/4]

template<class L , class R >
TinyFad<1,typename NumericalTraits<L,R>::promote > operator+ ( const TinyFad< 1, L > &  un,
const TinyFad< 1, R > &  deux 
)
inline

Definition at line 186 of file tinyfadone.h.

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

◆ operator+() [3/4]

template<class L , class R >
TinyFad<1,typename NumericalTraits<L,R>::promote> operator+ ( const TinyFad< 1, L > &  un,
const R &  deux 
)
inline

Definition at line 202 of file tinyfadone.h.

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

◆ operator+() [4/4]

template<class L , class R >
TinyFad<1,typename NumericalTraits<L,R>::promote > operator+ ( const L &  un,
const TinyFad< 1, R > &  deux 
)
inline

Definition at line 218 of file tinyfadone.h.

References operator+().

◆ operator-() [1/4]

template<class T >
TinyFad<1,T> operator- ( const TinyFad< 1, T > &  in)
inline

Definition at line 177 of file tinyfadone.h.

References tmp.

◆ operator-() [2/4]

template<class L , class R >
TinyFad<1,typename NumericalTraits<L,R>::promote > operator- ( const TinyFad< 1, L > &  un,
const TinyFad< 1, R > &  deux 
)
inline

Definition at line 264 of file tinyfadone.h.

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

◆ operator-() [3/4]

template<class L , class R >
TinyFad<1,typename NumericalTraits<L,R>::promote> operator- ( const L &  un,
const TinyFad< 1, R > &  deux 
)
inline

Definition at line 280 of file tinyfadone.h.

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

◆ operator-() [4/4]

template<class L , class R >
TinyFad<1, typename NumericalTraits<L,R>::promote > operator- ( const TinyFad< 1, L > &  un,
const R &  deux 
)
inline

Definition at line 296 of file tinyfadone.h.

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

◆ operator/() [1/3]

template<class L , class R >
TinyFad<1, typename NumericalTraits<L,R>::promote > operator/ ( const TinyFad< 1, L > &  un,
const TinyFad< 1, R > &  deux 
)
inline

Definition at line 311 of file tinyfadone.h.

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

◆ operator/() [2/3]

template<class L , class R >
TinyFad<1, typename NumericalTraits<L,R>::promote > operator/ ( const L &  un,
const TinyFad< 1, R > &  deux 
)
inline

Definition at line 330 of file tinyfadone.h.

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

◆ operator/() [3/3]

template<class L , class R >
TinyFad<1, typename NumericalTraits<L,R>::promote > operator/ ( const TinyFad< 1, L > &  un,
const R &  deux 
)
inline

Definition at line 349 of file tinyfadone.h.

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

◆ operator<<()

template<class T >
std::ostream& operator<< ( std::ostream &  os,
const TinyFad< 1, T > &  a 
)

Definition at line 469 of file tinyfadone.h.

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

◆ pow() [1/3]

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

Definition at line 432 of file tinyfadone.h.

References TinyFad< 1, T >::d0(), tmp, and TinyFad< 1, T >::val().

Referenced by pow().

◆ pow() [2/3]

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

Definition at line 441 of file tinyfadone.h.

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

◆ pow() [3/3]

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

Definition at line 452 of file tinyfadone.h.

References TinyFad< 1, T >::d0(), pow(), tmp, and TinyFad< 1, T >::val().

◆ sin()

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

Definition at line 403 of file tinyfadone.h.

References cos(), TinyFad< 1, T >::d0(), tmp, and TinyFad< 1, T >::val().

Referenced by cos().

◆ sqrt()

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

Definition at line 384 of file tinyfadone.h.

References TinyFad< 1, T >::d0(), error(), tmp, and TinyFad< 1, T >::val().

◆ tan()

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

Definition at line 421 of file tinyfadone.h.

References cos(), TinyFad< 1, T >::d0(), error(), tmp, and TinyFad< 1, T >::val().