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

#include <tinyfadeighteen.h>

Collaboration diagram for TinyFad< 18, 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< 18, 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 ()
 
const T & d13 () const
 
T & d13 ()
 
const T & d14 () const
 
T & d14 ()
 
const T & d15 () const
 
T & d15 ()
 
const T & d16 () const
 
T & d16 ()
 
const T & d17 () const
 
T & d17 ()
 
T & dx (int i)
 
const T & dx (int i) const
 
T & d (int i)
 
const T & d (int i) const
 
TinyFad< 18, T > & operator= (const TinyFad< 18, T > &in)
 
TinyFad< 18, T > & operator= (const T &in)
 
TinyFad< 18, T > & operator+= (const TinyFad< 18, T > &in)
 
TinyFad< 18, T > & operator-= (const TinyFad< 18, T > &in)
 
TinyFad< 18, T > & operator*= (const TinyFad< 18, T > &in)
 
TinyFad< 18, T > & operator/= (const TinyFad< 18, T > &in)
 
TinyFad< 18, T > & operator+= (const T &in)
 
TinyFad< 18, T > & operator-= (const T &in)
 
TinyFad< 18, T > & operator*= (const T &in)
 
TinyFad< 18, T > & operator/= (const T &in)
 
TinyFad< 18, T > operator++ (int)
 
TinyFad< 18, T > operator-- (int)
 
TinyFad< 18, T > & operator++ ()
 
TinyFad< 18, T > & operator-- ()
 

Protected Attributes

int n
 
val_
 
dx0_
 
dx1_
 
dx2_
 
dx3_
 
dx4_
 
dx5_
 
dx6_
 
dx7_
 
dx8_
 
dx9_
 
dx10_
 
dx11_
 
dx12_
 
dx13_
 
dx14_
 
dx15_
 
dx16_
 
dx17_
 

Detailed Description

template<class T>
class TinyFad< 18, T >

Definition at line 9 of file tinyfadeighteen.h.

Member Typedef Documentation

◆ grad_type

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

Definition at line 12 of file tinyfadeighteen.h.

◆ value_type

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

Definition at line 11 of file tinyfadeighteen.h.

Constructor & Destructor Documentation

◆ TinyFad() [1/5]

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

Definition at line 83 of file tinyfadeighteen.h.

◆ TinyFad() [2/5]

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

Definition at line 125 of file tinyfadeighteen.h.

◆ TinyFad() [3/5]

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

Definition at line 145 of file tinyfadeighteen.h.

◆ TinyFad() [4/5]

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

Definition at line 146 of file tinyfadeighteen.h.

◆ TinyFad() [5/5]

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

Definition at line 166 of file tinyfadeighteen.h.

References dx0_, dx10_, dx11_, dx12_, dx13_, dx14_, dx15_, dx16_, dx17_, dx1_, dx2_, dx3_, dx4_, dx5_, dx6_, dx7_, dx8_, and dx9_.

◆ ~TinyFad()

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

Definition at line 187 of file tinyfadeighteen.h.

Member Function Documentation

◆ d() [1/2]

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

Definition at line 294 of file tinyfadeighteen.h.

◆ d() [2/2]

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

Definition at line 317 of file tinyfadeighteen.h.

◆ d0() [1/2]

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

Definition at line 194 of file tinyfadeighteen.h.

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

◆ d0() [2/2]

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

Definition at line 195 of file tinyfadeighteen.h.

◆ d1() [1/2]

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

Definition at line 197 of file tinyfadeighteen.h.

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

◆ d1() [2/2]

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

Definition at line 198 of file tinyfadeighteen.h.

◆ d10() [1/2]

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

Definition at line 224 of file tinyfadeighteen.h.

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

◆ d10() [2/2]

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

Definition at line 225 of file tinyfadeighteen.h.

◆ d11() [1/2]

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

Definition at line 227 of file tinyfadeighteen.h.

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

◆ d11() [2/2]

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

Definition at line 228 of file tinyfadeighteen.h.

◆ d12() [1/2]

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

Definition at line 230 of file tinyfadeighteen.h.

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

◆ d12() [2/2]

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

Definition at line 231 of file tinyfadeighteen.h.

◆ d13() [1/2]

template<class T >
const T& TinyFad< 18, T >::d13 ( ) const
inline

Definition at line 233 of file tinyfadeighteen.h.

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

◆ d13() [2/2]

template<class T >
T& TinyFad< 18, T >::d13 ( )
inline

Definition at line 234 of file tinyfadeighteen.h.

◆ d14() [1/2]

template<class T >
const T& TinyFad< 18, T >::d14 ( ) const
inline

Definition at line 236 of file tinyfadeighteen.h.

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

◆ d14() [2/2]

template<class T >
T& TinyFad< 18, T >::d14 ( )
inline

Definition at line 237 of file tinyfadeighteen.h.

◆ d15() [1/2]

template<class T >
const T& TinyFad< 18, T >::d15 ( ) const
inline

Definition at line 239 of file tinyfadeighteen.h.

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

◆ d15() [2/2]

template<class T >
T& TinyFad< 18, T >::d15 ( )
inline

Definition at line 240 of file tinyfadeighteen.h.

◆ d16() [1/2]

template<class T >
const T& TinyFad< 18, T >::d16 ( ) const
inline

Definition at line 242 of file tinyfadeighteen.h.

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

◆ d16() [2/2]

template<class T >
T& TinyFad< 18, T >::d16 ( )
inline

Definition at line 243 of file tinyfadeighteen.h.

◆ d17() [1/2]

template<class T >
const T& TinyFad< 18, T >::d17 ( ) const
inline

Definition at line 245 of file tinyfadeighteen.h.

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

◆ d17() [2/2]

template<class T >
T& TinyFad< 18, T >::d17 ( )
inline

Definition at line 246 of file tinyfadeighteen.h.

◆ d2() [1/2]

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

Definition at line 200 of file tinyfadeighteen.h.

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

◆ d2() [2/2]

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

Definition at line 201 of file tinyfadeighteen.h.

◆ d3() [1/2]

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

Definition at line 203 of file tinyfadeighteen.h.

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

◆ d3() [2/2]

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

Definition at line 204 of file tinyfadeighteen.h.

◆ d4() [1/2]

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

Definition at line 206 of file tinyfadeighteen.h.

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

◆ d4() [2/2]

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

Definition at line 207 of file tinyfadeighteen.h.

◆ d5() [1/2]

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

Definition at line 209 of file tinyfadeighteen.h.

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

◆ d5() [2/2]

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

Definition at line 210 of file tinyfadeighteen.h.

◆ d6() [1/2]

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

Definition at line 212 of file tinyfadeighteen.h.

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

◆ d6() [2/2]

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

Definition at line 213 of file tinyfadeighteen.h.

◆ d7() [1/2]

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

Definition at line 215 of file tinyfadeighteen.h.

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

◆ d7() [2/2]

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

Definition at line 216 of file tinyfadeighteen.h.

◆ d8() [1/2]

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

Definition at line 218 of file tinyfadeighteen.h.

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

◆ d8() [2/2]

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

Definition at line 219 of file tinyfadeighteen.h.

◆ d9() [1/2]

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

Definition at line 221 of file tinyfadeighteen.h.

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

◆ d9() [2/2]

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

Definition at line 222 of file tinyfadeighteen.h.

◆ diff()

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

Definition at line 39 of file tinyfadeighteen.h.

◆ dx() [1/2]

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

Definition at line 248 of file tinyfadeighteen.h.

◆ dx() [2/2]

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

Definition at line 271 of file tinyfadeighteen.h.

◆ N()

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

Definition at line 189 of file tinyfadeighteen.h.

◆ operator*=() [1/2]

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

Definition at line 438 of file tinyfadeighteen.h.

References dx0_, dx10_, dx11_, dx12_, dx13_, dx14_, dx15_, dx16_, dx17_, dx1_, dx2_, dx3_, dx4_, dx5_, dx6_, dx7_, dx8_, dx9_, and val_.

◆ operator*=() [2/2]

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

Definition at line 494 of file tinyfadeighteen.h.

◆ operator++() [1/2]

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

Definition at line 544 of file tinyfadeighteen.h.

References tmp, and val_.

◆ operator++() [2/2]

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

Definition at line 554 of file tinyfadeighteen.h.

References TinyFad< Num, T >::val_.

◆ operator+=() [1/2]

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

Definition at line 391 of file tinyfadeighteen.h.

References dx0_, dx10_, dx11_, dx12_, dx13_, dx14_, dx15_, dx16_, dx17_, dx1_, dx2_, dx3_, dx4_, dx5_, dx6_, dx7_, dx8_, dx9_, and val_.

◆ operator+=() [2/2]

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

Definition at line 486 of file tinyfadeighteen.h.

◆ operator--() [1/2]

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

Definition at line 549 of file tinyfadeighteen.h.

References tmp, and val_.

◆ operator--() [2/2]

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

Definition at line 557 of file tinyfadeighteen.h.

References TinyFad< Num, T >::val_.

◆ operator-=() [1/2]

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

Definition at line 415 of file tinyfadeighteen.h.

References dx0_, dx10_, dx11_, dx12_, dx13_, dx14_, dx15_, dx16_, dx17_, dx1_, dx2_, dx3_, dx4_, dx5_, dx6_, dx7_, dx8_, dx9_, and val_.

◆ operator-=() [2/2]

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

Definition at line 490 of file tinyfadeighteen.h.

◆ operator/=() [1/2]

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

Definition at line 461 of file tinyfadeighteen.h.

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

◆ operator/=() [2/2]

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

Definition at line 518 of file tinyfadeighteen.h.

References error().

◆ operator=() [1/2]

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

Definition at line 341 of file tinyfadeighteen.h.

References dx0_, dx10_, dx11_, dx12_, dx13_, dx14_, dx15_, dx16_, dx17_, dx1_, dx2_, dx3_, dx4_, dx5_, dx6_, dx7_, dx8_, dx9_, and val_.

◆ operator=() [2/2]

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

Definition at line 366 of file tinyfadeighteen.h.

◆ val() [1/2]

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

Definition at line 191 of file tinyfadeighteen.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< 18, T >::val ( )
inline

Definition at line 192 of file tinyfadeighteen.h.

References TinyFad< Num, T >::val_.

Member Data Documentation

◆ dx0_

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

Definition at line 18 of file tinyfadeighteen.h.

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

◆ dx10_

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

Definition at line 28 of file tinyfadeighteen.h.

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

◆ dx11_

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

Definition at line 29 of file tinyfadeighteen.h.

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

◆ dx12_

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

Definition at line 30 of file tinyfadeighteen.h.

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

◆ dx13_

template<class T >
T TinyFad< 18, T >::dx13_
protected

Definition at line 31 of file tinyfadeighteen.h.

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

◆ dx14_

template<class T >
T TinyFad< 18, T >::dx14_
protected

Definition at line 32 of file tinyfadeighteen.h.

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

◆ dx15_

template<class T >
T TinyFad< 18, T >::dx15_
protected

Definition at line 33 of file tinyfadeighteen.h.

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

◆ dx16_

template<class T >
T TinyFad< 18, T >::dx16_
protected

Definition at line 34 of file tinyfadeighteen.h.

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

◆ dx17_

template<class T >
T TinyFad< 18, T >::dx17_
protected

Definition at line 35 of file tinyfadeighteen.h.

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

◆ dx1_

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

Definition at line 19 of file tinyfadeighteen.h.

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

◆ dx2_

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

Definition at line 20 of file tinyfadeighteen.h.

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

◆ dx3_

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

Definition at line 21 of file tinyfadeighteen.h.

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

◆ dx4_

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

Definition at line 22 of file tinyfadeighteen.h.

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

◆ dx5_

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

Definition at line 23 of file tinyfadeighteen.h.

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

◆ dx6_

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

Definition at line 24 of file tinyfadeighteen.h.

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

◆ dx7_

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

Definition at line 25 of file tinyfadeighteen.h.

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

◆ dx8_

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

Definition at line 26 of file tinyfadeighteen.h.

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

◆ dx9_

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

Definition at line 27 of file tinyfadeighteen.h.

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

◆ n

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

Definition at line 15 of file tinyfadeighteen.h.

◆ val_

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

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