NeoPZ
Public Types | Public Member Functions | Protected Attributes | List of all members
TinyFad< 13, T > Class Template Reference

#include <tinyfadthirteen.h>

Collaboration diagram for TinyFad< 13, T >:
[legend]

Public Types

typedef T value_type
 
typedef T grad_type
 

Public Member Functions

void diff (const size_t ith, const size_t sz)
 
 TinyFad (const T &ind, const int ini)
 
 TinyFad ()
 
 TinyFad (const No_Initialization &)
 
 TinyFad (const T &in)
 
 TinyFad (const TinyFad< 13, T > &in)
 
 ~TinyFad ()
 
int N () const
 
const T & val () const
 
T & val ()
 
const T & d0 () const
 
T & d0 ()
 
const T & d1 () const
 
T & d1 ()
 
const T & d2 () const
 
T & d2 ()
 
const T & d3 () const
 
T & d3 ()
 
const T & d4 () const
 
T & d4 ()
 
const T & d5 () const
 
T & d5 ()
 
const T & d6 () const
 
T & d6 ()
 
const T & d7 () const
 
T & d7 ()
 
const T & d8 () const
 
T & d8 ()
 
const T & d9 () const
 
T & d9 ()
 
const T & d10 () const
 
T & d10 ()
 
const T & d11 () const
 
T & d11 ()
 
const T & d12 () const
 
T & d12 ()
 
T & dx (int i)
 
const T & dx (int i) const
 
T & d (int i)
 
const T & d (int i) const
 
TinyFad< 13, T > & operator= (const TinyFad< 13, T > &in)
 
TinyFad< 13, T > & operator= (const T &in)
 
TinyFad< 13, T > & operator+= (const TinyFad< 13, T > &in)
 
TinyFad< 13, T > & operator-= (const TinyFad< 13, T > &in)
 
TinyFad< 13, T > & operator*= (const TinyFad< 13, T > &in)
 
TinyFad< 13, T > & operator/= (const TinyFad< 13, T > &in)
 
TinyFad< 13, T > & operator+= (const T &in)
 
TinyFad< 13, T > & operator-= (const T &in)
 
TinyFad< 13, T > & operator*= (const T &in)
 
TinyFad< 13, T > & operator/= (const T &in)
 
TinyFad< 13, T > operator++ (int)
 
TinyFad< 13, T > operator-- (int)
 
TinyFad< 13, T > & operator++ ()
 
TinyFad< 13, T > & operator-- ()
 

Protected Attributes

int n
 
val_
 
dx0_
 
dx1_
 
dx2_
 
dx3_
 
dx4_
 
dx5_
 
dx6_
 
dx7_
 
dx8_
 
dx9_
 
dx10_
 
dx11_
 
dx12_
 

Detailed Description

template<class T>
class TinyFad< 13, T >

Definition at line 9 of file tinyfadthirteen.h.

Member Typedef Documentation

◆ grad_type

template<class T >
typedef T TinyFad< 13, T >::grad_type

Definition at line 12 of file tinyfadthirteen.h.

◆ value_type

template<class T >
typedef T TinyFad< 13, T >::value_type

Definition at line 11 of file tinyfadthirteen.h.

Constructor & Destructor Documentation

◆ TinyFad() [1/5]

template<class T >
TinyFad< 13, T >::TinyFad ( const T &  ind,
const int  ini 
)
inline

Definition at line 68 of file tinyfadthirteen.h.

◆ TinyFad() [2/5]

template<class T >
TinyFad< 13, T >::TinyFad ( )
inline

Definition at line 100 of file tinyfadthirteen.h.

◆ TinyFad() [3/5]

template<class T >
TinyFad< 13, T >::TinyFad ( const No_Initialization )
inline

Definition at line 115 of file tinyfadthirteen.h.

◆ TinyFad() [4/5]

template<class T >
TinyFad< 13, T >::TinyFad ( const T &  in)
inline

Definition at line 116 of file tinyfadthirteen.h.

◆ TinyFad() [5/5]

template<class T >
TinyFad< 13, T >::TinyFad ( const TinyFad< 13, T > &  in)
inline

Definition at line 131 of file tinyfadthirteen.h.

References dx0_, dx10_, dx11_, dx12_, dx1_, dx2_, dx3_, dx4_, dx5_, dx6_, dx7_, dx8_, and dx9_.

◆ ~TinyFad()

template<class T >
TinyFad< 13, T >::~TinyFad ( )
inline

Definition at line 147 of file tinyfadthirteen.h.

Member Function Documentation

◆ d() [1/2]

template<class T >
T& TinyFad< 13, T >::d ( int  i)
inline

Definition at line 229 of file tinyfadthirteen.h.

◆ d() [2/2]

template<class T >
const T& TinyFad< 13, T >::d ( int  i) const
inline

Definition at line 247 of file tinyfadthirteen.h.

◆ d0() [1/2]

template<class T >
const T& TinyFad< 13, T >::d0 ( ) const
inline

Definition at line 154 of file tinyfadthirteen.h.

Referenced by cos(), exp(), log(), pow(), sin(), sqrt(), and tan().

◆ d0() [2/2]

template<class T >
T& TinyFad< 13, T >::d0 ( )
inline

Definition at line 155 of file tinyfadthirteen.h.

◆ d1() [1/2]

template<class T >
const T& TinyFad< 13, T >::d1 ( ) const
inline

Definition at line 157 of file tinyfadthirteen.h.

Referenced by cos(), exp(), log(), pow(), sin(), sqrt(), and tan().

◆ d1() [2/2]

template<class T >
T& TinyFad< 13, T >::d1 ( )
inline

Definition at line 158 of file tinyfadthirteen.h.

◆ d10() [1/2]

template<class T >
const T& TinyFad< 13, T >::d10 ( ) const
inline

Definition at line 184 of file tinyfadthirteen.h.

Referenced by cos(), exp(), log(), pow(), sin(), sqrt(), and tan().

◆ d10() [2/2]

template<class T >
T& TinyFad< 13, T >::d10 ( )
inline

Definition at line 185 of file tinyfadthirteen.h.

◆ d11() [1/2]

template<class T >
const T& TinyFad< 13, T >::d11 ( ) const
inline

Definition at line 187 of file tinyfadthirteen.h.

Referenced by cos(), exp(), log(), pow(), sin(), sqrt(), and tan().

◆ d11() [2/2]

template<class T >
T& TinyFad< 13, T >::d11 ( )
inline

Definition at line 188 of file tinyfadthirteen.h.

◆ d12() [1/2]

template<class T >
const T& TinyFad< 13, T >::d12 ( ) const
inline

Definition at line 190 of file tinyfadthirteen.h.

Referenced by cos(), exp(), log(), pow(), sin(), sqrt(), and tan().

◆ d12() [2/2]

template<class T >
T& TinyFad< 13, T >::d12 ( )
inline

Definition at line 191 of file tinyfadthirteen.h.

◆ d2() [1/2]

template<class T >
const T& TinyFad< 13, T >::d2 ( ) const
inline

Definition at line 160 of file tinyfadthirteen.h.

Referenced by cos(), exp(), log(), pow(), sin(), sqrt(), and tan().

◆ d2() [2/2]

template<class T >
T& TinyFad< 13, T >::d2 ( )
inline

Definition at line 161 of file tinyfadthirteen.h.

◆ d3() [1/2]

template<class T >
const T& TinyFad< 13, T >::d3 ( ) const
inline

Definition at line 163 of file tinyfadthirteen.h.

Referenced by cos(), exp(), log(), pow(), sin(), sqrt(), and tan().

◆ d3() [2/2]

template<class T >
T& TinyFad< 13, T >::d3 ( )
inline

Definition at line 164 of file tinyfadthirteen.h.

◆ d4() [1/2]

template<class T >
const T& TinyFad< 13, T >::d4 ( ) const
inline

Definition at line 166 of file tinyfadthirteen.h.

Referenced by cos(), exp(), log(), pow(), sin(), sqrt(), and tan().

◆ d4() [2/2]

template<class T >
T& TinyFad< 13, T >::d4 ( )
inline

Definition at line 167 of file tinyfadthirteen.h.

◆ d5() [1/2]

template<class T >
const T& TinyFad< 13, T >::d5 ( ) const
inline

Definition at line 169 of file tinyfadthirteen.h.

Referenced by cos(), exp(), log(), pow(), sin(), sqrt(), and tan().

◆ d5() [2/2]

template<class T >
T& TinyFad< 13, T >::d5 ( )
inline

Definition at line 170 of file tinyfadthirteen.h.

◆ d6() [1/2]

template<class T >
const T& TinyFad< 13, T >::d6 ( ) const
inline

Definition at line 172 of file tinyfadthirteen.h.

Referenced by cos(), exp(), log(), pow(), sin(), sqrt(), and tan().

◆ d6() [2/2]

template<class T >
T& TinyFad< 13, T >::d6 ( )
inline

Definition at line 173 of file tinyfadthirteen.h.

◆ d7() [1/2]

template<class T >
const T& TinyFad< 13, T >::d7 ( ) const
inline

Definition at line 175 of file tinyfadthirteen.h.

Referenced by cos(), exp(), log(), pow(), sin(), sqrt(), and tan().

◆ d7() [2/2]

template<class T >
T& TinyFad< 13, T >::d7 ( )
inline

Definition at line 176 of file tinyfadthirteen.h.

◆ d8() [1/2]

template<class T >
const T& TinyFad< 13, T >::d8 ( ) const
inline

Definition at line 178 of file tinyfadthirteen.h.

Referenced by cos(), exp(), log(), pow(), sin(), sqrt(), and tan().

◆ d8() [2/2]

template<class T >
T& TinyFad< 13, T >::d8 ( )
inline

Definition at line 179 of file tinyfadthirteen.h.

◆ d9() [1/2]

template<class T >
const T& TinyFad< 13, T >::d9 ( ) const
inline

Definition at line 181 of file tinyfadthirteen.h.

Referenced by cos(), exp(), log(), pow(), sin(), sqrt(), and tan().

◆ d9() [2/2]

template<class T >
T& TinyFad< 13, T >::d9 ( )
inline

Definition at line 182 of file tinyfadthirteen.h.

◆ diff()

template<class T >
void TinyFad< 13, T >::diff ( const size_t  ith,
const size_t  sz 
)
inline

Definition at line 34 of file tinyfadthirteen.h.

◆ dx() [1/2]

template<class T >
T& TinyFad< 13, T >::dx ( int  i)
inline

Definition at line 193 of file tinyfadthirteen.h.

◆ dx() [2/2]

template<class T >
const T& TinyFad< 13, T >::dx ( int  i) const
inline

Definition at line 211 of file tinyfadthirteen.h.

◆ N()

template<class T >
int TinyFad< 13, T >::N ( ) const
inline

Definition at line 149 of file tinyfadthirteen.h.

◆ operator*=() [1/2]

template<class T >
TinyFad<13,T>& TinyFad< 13, T >::operator*= ( const TinyFad< 13, T > &  in)
inline

Definition at line 343 of file tinyfadthirteen.h.

References dx0_, dx10_, dx11_, dx12_, dx1_, dx2_, dx3_, dx4_, dx5_, dx6_, dx7_, dx8_, dx9_, and val_.

◆ operator*=() [2/2]

template<class T >
TinyFad<13,T>& TinyFad< 13, T >::operator*= ( const T &  in)
inline

Definition at line 389 of file tinyfadthirteen.h.

◆ operator++() [1/2]

template<class T >
TinyFad<13,T> TinyFad< 13, T >::operator++ ( int  )
inline

Definition at line 429 of file tinyfadthirteen.h.

References tmp, and val_.

◆ operator++() [2/2]

template<class T >
TinyFad<13,T>& TinyFad< 13, T >::operator++ ( )
inline

Definition at line 439 of file tinyfadthirteen.h.

References TinyFad< Num, T >::val_.

◆ operator+=() [1/2]

template<class T >
TinyFad<13,T>& TinyFad< 13, T >::operator+= ( const TinyFad< 13, T > &  in)
inline

Definition at line 306 of file tinyfadthirteen.h.

References dx0_, dx10_, dx11_, dx12_, dx1_, dx2_, dx3_, dx4_, dx5_, dx6_, dx7_, dx8_, dx9_, and val_.

◆ operator+=() [2/2]

template<class T >
TinyFad<13,T>& TinyFad< 13, T >::operator+= ( const T &  in)
inline

Definition at line 381 of file tinyfadthirteen.h.

◆ operator--() [1/2]

template<class T >
TinyFad<13,T> TinyFad< 13, T >::operator-- ( int  )
inline

Definition at line 434 of file tinyfadthirteen.h.

References tmp, and val_.

◆ operator--() [2/2]

template<class T >
TinyFad<13,T>& TinyFad< 13, T >::operator-- ( )
inline

Definition at line 442 of file tinyfadthirteen.h.

References TinyFad< Num, T >::val_.

◆ operator-=() [1/2]

template<class T >
TinyFad<13,T>& TinyFad< 13, T >::operator-= ( const TinyFad< 13, T > &  in)
inline

Definition at line 325 of file tinyfadthirteen.h.

References dx0_, dx10_, dx11_, dx12_, dx1_, dx2_, dx3_, dx4_, dx5_, dx6_, dx7_, dx8_, dx9_, and val_.

◆ operator-=() [2/2]

template<class T >
TinyFad<13,T>& TinyFad< 13, T >::operator-= ( const T &  in)
inline

Definition at line 385 of file tinyfadthirteen.h.

◆ operator/=() [1/2]

template<class T >
TinyFad<13,T>& TinyFad< 13, T >::operator/= ( const TinyFad< 13, T > &  in)
inline

Definition at line 361 of file tinyfadthirteen.h.

References dx0_, dx10_, dx11_, dx12_, dx1_, dx2_, dx3_, dx4_, dx5_, dx6_, dx7_, dx8_, dx9_, error(), and val_.

◆ operator/=() [2/2]

template<class T >
TinyFad<13,T>& TinyFad< 13, T >::operator/= ( const T &  in)
inline

Definition at line 408 of file tinyfadthirteen.h.

References error().

◆ operator=() [1/2]

template<class T >
TinyFad<13,T>& TinyFad< 13, T >::operator= ( const TinyFad< 13, T > &  in)
inline

Definition at line 266 of file tinyfadthirteen.h.

References dx0_, dx10_, dx11_, dx12_, dx1_, dx2_, dx3_, dx4_, dx5_, dx6_, dx7_, dx8_, dx9_, and val_.

◆ operator=() [2/2]

template<class T >
TinyFad<13,T>& TinyFad< 13, T >::operator= ( const T &  in)
inline

Definition at line 286 of file tinyfadthirteen.h.

◆ val() [1/2]

template<class T >
const T& TinyFad< 13, T >::val ( ) const
inline

Definition at line 151 of file tinyfadthirteen.h.

References TinyFad< Num, T >::val_.

Referenced by abs(), cos(), exp(), log(), operator<<(), pow(), sin(), sqrt(), and tan().

◆ val() [2/2]

template<class T >
T& TinyFad< 13, T >::val ( )
inline

Definition at line 152 of file tinyfadthirteen.h.

References TinyFad< Num, T >::val_.

Member Data Documentation

◆ dx0_

template<class T >
T TinyFad< 13, T >::dx0_
protected

Definition at line 18 of file tinyfadthirteen.h.

Referenced by operator*=(), operator+=(), operator-=(), operator/=(), operator=(), and TinyFad().

◆ dx10_

template<class T >
T TinyFad< 13, T >::dx10_
protected

Definition at line 28 of file tinyfadthirteen.h.

Referenced by operator*=(), operator+=(), operator-=(), operator/=(), operator=(), and TinyFad().

◆ dx11_

template<class T >
T TinyFad< 13, T >::dx11_
protected

Definition at line 29 of file tinyfadthirteen.h.

Referenced by operator*=(), operator+=(), operator-=(), operator/=(), operator=(), and TinyFad().

◆ dx12_

template<class T >
T TinyFad< 13, T >::dx12_
protected

Definition at line 30 of file tinyfadthirteen.h.

Referenced by operator*=(), operator+=(), operator-=(), operator/=(), operator=(), and TinyFad().

◆ dx1_

template<class T >
T TinyFad< 13, T >::dx1_
protected

Definition at line 19 of file tinyfadthirteen.h.

Referenced by operator*=(), operator+=(), operator-=(), operator/=(), operator=(), and TinyFad().

◆ dx2_

template<class T >
T TinyFad< 13, T >::dx2_
protected

Definition at line 20 of file tinyfadthirteen.h.

Referenced by operator*=(), operator+=(), operator-=(), operator/=(), operator=(), and TinyFad().

◆ dx3_

template<class T >
T TinyFad< 13, T >::dx3_
protected

Definition at line 21 of file tinyfadthirteen.h.

Referenced by operator*=(), operator+=(), operator-=(), operator/=(), operator=(), and TinyFad().

◆ dx4_

template<class T >
T TinyFad< 13, T >::dx4_
protected

Definition at line 22 of file tinyfadthirteen.h.

Referenced by operator*=(), operator+=(), operator-=(), operator/=(), operator=(), and TinyFad().

◆ dx5_

template<class T >
T TinyFad< 13, T >::dx5_
protected

Definition at line 23 of file tinyfadthirteen.h.

Referenced by operator*=(), operator+=(), operator-=(), operator/=(), operator=(), and TinyFad().

◆ dx6_

template<class T >
T TinyFad< 13, T >::dx6_
protected

Definition at line 24 of file tinyfadthirteen.h.

Referenced by operator*=(), operator+=(), operator-=(), operator/=(), operator=(), and TinyFad().

◆ dx7_

template<class T >
T TinyFad< 13, T >::dx7_
protected

Definition at line 25 of file tinyfadthirteen.h.

Referenced by operator*=(), operator+=(), operator-=(), operator/=(), operator=(), and TinyFad().

◆ dx8_

template<class T >
T TinyFad< 13, T >::dx8_
protected

Definition at line 26 of file tinyfadthirteen.h.

Referenced by operator*=(), operator+=(), operator-=(), operator/=(), operator=(), and TinyFad().

◆ dx9_

template<class T >
T TinyFad< 13, T >::dx9_
protected

Definition at line 27 of file tinyfadthirteen.h.

Referenced by operator*=(), operator+=(), operator-=(), operator/=(), operator=(), and TinyFad().

◆ n

template<class T >
int TinyFad< 13, T >::n
protected

Definition at line 15 of file tinyfadthirteen.h.

◆ val_

template<class T >
T TinyFad< 13, T >::val_
protected

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