Sacado Package Browser (Single Doxygen Collection) Version of the Day
Classes | Enumerations | Functions
Sacado::Fad Namespace Reference

Namespace for forward-mode AD classes. More...

Classes

class  ArrayTraits
struct  ArrayValueType
class  BLAS
 Fad specializations for Teuchos::BLAS wrappers. More...
class  DFad
 Forward-mode AD class using dynamic memory allocation and expression templates. More...
class  DMFad
 Forward-mode AD class using dynamic memory allocation and expression templates. More...
class  DVFad
 Forward-mode AD class using dynamic memory allocation and expression templates. More...
class  DynamicStorage
 Derivative array storage class using dynamic memory allocation. More...
class  Expr
 Wrapper for a generic expression template. More...
class  GeneralFad
 Forward-mode AD class templated on the storage for the derivative array. More...
class  Expr< GeneralFad< T, Storage > >
 GeneralFad expression template specialization. More...
class  Fad_LAPACK
 Fad specializations for Teuchos::LAPACK wrappers. More...
class  MemPool
 Memory pool. More...
class  MemPoolManager
 Class to manage memory pools for different Fad dimensions. More...
struct  mp_array
 Dynamic array allocation class that works for any type. More...
struct  mp_array< T, true >
 Dynamic array allocation class that is specialized for scalar i.e., fundamental or built-in types (float, double, etc...). More...
class  MemPoolStorage
 Derivative array storage class using dynamic memory allocation. More...
struct  SFadExprTag
 A tag for specializing Expr for SFad expressions. More...
class  Expr< SFadExprTag< T, Num > >
 Expression template forward-mode AD class with static memory allocation. More...
class  SFad
 Forward-mode AD class using static memory allocation. More...
class  SimpleFad
 Forward-mode AD class using dynamic memory allocation but no expression templates. More...
class  SLFad
 Forward-mode AD class using static memory allocation with long arrays and expression templates. More...
class  StaticStorage
 Derivative array storage class using static memory allocation. More...
class  Vector
 A class for storing a contiguously allocated array of Fad objects. This is a general definition that will work for all Fad types, and is merely a wrapper around std::vector. A specialization for Sacado::Fad::DVFad providing contiguous allocation of values and derivatives is below. More...
class  Vector< OrdinalType, Sacado::Fad::DVFad< ValueType > >
 A class for storing a contiguously allocated array of Fad objects where the values and derivative arrays for each Fad object are stored in contiguous memory. To preserve this structure, many vector operations aren't supported (like resizing). More...
class  VectorDynamicStorage
 Derivative array storage class using dynamic memory allocation. More...

Enumerations

enum  VectorDerivOrientation { Row, Column }

Functions

template<typename ExprT >
bool operator! (const Expr< ExprT > &expr)
template<typename ExprT >
bool toBool (const Expr< ExprT > &x)
template<typename ExprT >
std::ostream & operator<< (std::ostream &os, const Expr< ExprT > &x)
template<typename ValueT >
SimpleFad< ValueT > operator+ (const SimpleFad< ValueT > &a)
template<typename ValueT >
SimpleFad< ValueT > operator- (const SimpleFad< ValueT > &a)
template<typename ValueT >
SimpleFad< ValueT > exp (const SimpleFad< ValueT > &a)
template<typename ValueT >
SimpleFad< ValueT > log (const SimpleFad< ValueT > &a)
template<typename ValueT >
SimpleFad< ValueT > log10 (const SimpleFad< ValueT > &a)
template<typename ValueT >
SimpleFad< ValueT > sqrt (const SimpleFad< ValueT > &a)
template<typename ValueT >
SimpleFad< ValueT > cos (const SimpleFad< ValueT > &a)
template<typename ValueT >
SimpleFad< ValueT > sin (const SimpleFad< ValueT > &a)
template<typename ValueT >
SimpleFad< ValueT > tan (const SimpleFad< ValueT > &a)
template<typename ValueT >
SimpleFad< ValueT > acos (const SimpleFad< ValueT > &a)
template<typename ValueT >
SimpleFad< ValueT > asin (const SimpleFad< ValueT > &a)
template<typename ValueT >
SimpleFad< ValueT > atan (const SimpleFad< ValueT > &a)
template<typename ValueT >
SimpleFad< ValueT > cosh (const SimpleFad< ValueT > &a)
template<typename ValueT >
SimpleFad< ValueT > sinh (const SimpleFad< ValueT > &a)
template<typename ValueT >
SimpleFad< ValueT > tanh (const SimpleFad< ValueT > &a)
template<typename ValueT >
SimpleFad< ValueT > acosh (const SimpleFad< ValueT > &a)
template<typename ValueT >
SimpleFad< ValueT > asinh (const SimpleFad< ValueT > &a)
template<typename ValueT >
SimpleFad< ValueT > atanh (const SimpleFad< ValueT > &a)
template<typename ValueT >
SimpleFad< ValueT > abs (const SimpleFad< ValueT > &a)
template<typename ValueT >
SimpleFad< ValueT > fabs (const SimpleFad< ValueT > &a)
template<typename ValueT >
SimpleFad< ValueT > operator+ (const SimpleFad< ValueT > &a, const SimpleFad< ValueT > &b)
template<typename ValueT >
SimpleFad< ValueT > operator+ (const typename SimpleFad< ValueT >::value_type &a, const SimpleFad< ValueT > &b)
template<typename ValueT >
SimpleFad< ValueT > operator+ (const SimpleFad< ValueT > &a, const typename SimpleFad< ValueT >::value_type &b)
template<typename ValueT >
SimpleFad< ValueT > operator- (const SimpleFad< ValueT > &a, const SimpleFad< ValueT > &b)
template<typename ValueT >
SimpleFad< ValueT > operator- (const typename SimpleFad< ValueT >::value_type &a, const SimpleFad< ValueT > &b)
template<typename ValueT >
SimpleFad< ValueT > operator- (const SimpleFad< ValueT > &a, const typename SimpleFad< ValueT >::value_type &b)
template<typename ValueT >
SimpleFad< ValueT > operator* (const SimpleFad< ValueT > &a, const SimpleFad< ValueT > &b)
template<typename ValueT >
SimpleFad< ValueT > operator* (const typename SimpleFad< ValueT >::value_type &a, const SimpleFad< ValueT > &b)
template<typename ValueT >
SimpleFad< ValueT > operator* (const SimpleFad< ValueT > &a, const typename SimpleFad< ValueT >::value_type &b)
template<typename ValueT >
SimpleFad< ValueT > operator/ (const SimpleFad< ValueT > &a, const SimpleFad< ValueT > &b)
template<typename ValueT >
SimpleFad< ValueT > operator/ (const typename SimpleFad< ValueT >::value_type &a, const SimpleFad< ValueT > &b)
template<typename ValueT >
SimpleFad< ValueT > operator/ (const SimpleFad< ValueT > &a, const typename SimpleFad< ValueT >::value_type &b)
template<typename ValueT >
SimpleFad< ValueT > pow (const SimpleFad< ValueT > &a, const SimpleFad< ValueT > &b)
template<typename ValueT >
SimpleFad< ValueT > pow (const typename SimpleFad< ValueT >::value_type &a, const SimpleFad< ValueT > &b)
template<typename ValueT >
SimpleFad< ValueT > pow (const SimpleFad< ValueT > &a, const typename SimpleFad< ValueT >::value_type &b)
template<typename ValueT >
SimpleFad< ValueT > atan2 (const SimpleFad< ValueT > &a, const SimpleFad< ValueT > &b)
template<typename ValueT >
SimpleFad< ValueT > atan2 (const typename SimpleFad< ValueT >::value_type &a, const SimpleFad< ValueT > &b)
template<typename ValueT >
SimpleFad< ValueT > atan2 (const SimpleFad< ValueT > &a, const typename SimpleFad< ValueT >::value_type &b)
template<typename ValueT >
SimpleFad< ValueT > max (const SimpleFad< ValueT > &a, const SimpleFad< ValueT > &b)
template<typename ValueT >
SimpleFad< ValueT > max (const typename SimpleFad< ValueT >::value_type &a, const SimpleFad< ValueT > &b)
template<typename ValueT >
SimpleFad< ValueT > max (const SimpleFad< ValueT > &a, const typename SimpleFad< ValueT >::value_type &b)
template<typename ValueT >
SimpleFad< ValueT > min (const SimpleFad< ValueT > &a, const SimpleFad< ValueT > &b)
template<typename ValueT >
SimpleFad< ValueT > min (const typename SimpleFad< ValueT >::value_type &a, const SimpleFad< ValueT > &b)
template<typename ValueT >
SimpleFad< ValueT > min (const SimpleFad< ValueT > &a, const typename SimpleFad< ValueT >::value_type &b)
template<typename ValueT >
bool operator! (const SimpleFad< ValueT > &a)
template<typename T >
bool toBool (const SimpleFad< T > &x)
template<typename ValueT >
std::ostream & operator<< (std::ostream &os, const SimpleFad< ValueT > &x)

Detailed Description

Namespace for forward-mode AD classes.


Enumeration Type Documentation

Enumerator:
Row 
Column 

Derivatives are stored row-wise (strided)

Derivatives ar stored column-wise (unit stride)

Definition at line 42 of file Sacado_Fad_Vector.hpp.


Function Documentation

template<typename ExprT >
bool Sacado::Fad::operator! ( const Expr< ExprT > &  expr) [inline]

Definition at line 782 of file Sacado_Fad_Ops.hpp.

template<typename ExprT >
bool Sacado::Fad::toBool ( const Expr< ExprT > &  x)

Definition at line 797 of file Sacado_Fad_Ops.hpp.

template<typename ExprT >
std::ostream& Sacado::Fad::operator<< ( std::ostream &  os,
const Expr< ExprT > &  x 
)

Definition at line 849 of file Sacado_Fad_Ops.hpp.

template<typename ValueT >
SimpleFad<ValueT> Sacado::Fad::operator+ ( const SimpleFad< ValueT > &  a)

Definition at line 44 of file Sacado_Fad_SimpleFadOps.hpp.

template<typename ValueT >
SimpleFad<ValueT> Sacado::Fad::operator- ( const SimpleFad< ValueT > &  a)

Definition at line 50 of file Sacado_Fad_SimpleFadOps.hpp.

template<typename ValueT >
SimpleFad<ValueT> Sacado::Fad::exp ( const SimpleFad< ValueT > &  a)

Definition at line 56 of file Sacado_Fad_SimpleFadOps.hpp.

template<typename ValueT >
SimpleFad<ValueT> Sacado::Fad::log ( const SimpleFad< ValueT > &  a)

Definition at line 63 of file Sacado_Fad_SimpleFadOps.hpp.

template<typename ValueT >
SimpleFad<ValueT> Sacado::Fad::log10 ( const SimpleFad< ValueT > &  a)

Definition at line 69 of file Sacado_Fad_SimpleFadOps.hpp.

template<typename ValueT >
SimpleFad<ValueT> Sacado::Fad::sqrt ( const SimpleFad< ValueT > &  a)

Definition at line 76 of file Sacado_Fad_SimpleFadOps.hpp.

template<typename ValueT >
SimpleFad<ValueT> Sacado::Fad::cos ( const SimpleFad< ValueT > &  a)

Definition at line 84 of file Sacado_Fad_SimpleFadOps.hpp.

template<typename ValueT >
SimpleFad<ValueT> Sacado::Fad::sin ( const SimpleFad< ValueT > &  a)

Definition at line 90 of file Sacado_Fad_SimpleFadOps.hpp.

template<typename ValueT >
SimpleFad<ValueT> Sacado::Fad::tan ( const SimpleFad< ValueT > &  a)

Definition at line 96 of file Sacado_Fad_SimpleFadOps.hpp.

template<typename ValueT >
SimpleFad<ValueT> Sacado::Fad::acos ( const SimpleFad< ValueT > &  a)

Definition at line 104 of file Sacado_Fad_SimpleFadOps.hpp.

template<typename ValueT >
SimpleFad<ValueT> Sacado::Fad::asin ( const SimpleFad< ValueT > &  a)

Definition at line 111 of file Sacado_Fad_SimpleFadOps.hpp.

template<typename ValueT >
SimpleFad<ValueT> Sacado::Fad::atan ( const SimpleFad< ValueT > &  a)

Definition at line 118 of file Sacado_Fad_SimpleFadOps.hpp.

template<typename ValueT >
SimpleFad<ValueT> Sacado::Fad::cosh ( const SimpleFad< ValueT > &  a)

Definition at line 125 of file Sacado_Fad_SimpleFadOps.hpp.

template<typename ValueT >
SimpleFad<ValueT> Sacado::Fad::sinh ( const SimpleFad< ValueT > &  a)

Definition at line 131 of file Sacado_Fad_SimpleFadOps.hpp.

template<typename ValueT >
SimpleFad<ValueT> Sacado::Fad::tanh ( const SimpleFad< ValueT > &  a)

Definition at line 137 of file Sacado_Fad_SimpleFadOps.hpp.

template<typename ValueT >
SimpleFad<ValueT> Sacado::Fad::acosh ( const SimpleFad< ValueT > &  a)

Definition at line 145 of file Sacado_Fad_SimpleFadOps.hpp.

template<typename ValueT >
SimpleFad<ValueT> Sacado::Fad::asinh ( const SimpleFad< ValueT > &  a)

Definition at line 152 of file Sacado_Fad_SimpleFadOps.hpp.

template<typename ValueT >
SimpleFad<ValueT> Sacado::Fad::atanh ( const SimpleFad< ValueT > &  a)

Definition at line 159 of file Sacado_Fad_SimpleFadOps.hpp.

template<typename ValueT >
SimpleFad<ValueT> Sacado::Fad::abs ( const SimpleFad< ValueT > &  a)

Definition at line 166 of file Sacado_Fad_SimpleFadOps.hpp.

template<typename ValueT >
SimpleFad<ValueT> Sacado::Fad::fabs ( const SimpleFad< ValueT > &  a)

Definition at line 175 of file Sacado_Fad_SimpleFadOps.hpp.

template<typename ValueT >
SimpleFad<ValueT> Sacado::Fad::operator+ ( const SimpleFad< ValueT > &  a,
const SimpleFad< ValueT > &  b 
)

Definition at line 184 of file Sacado_Fad_SimpleFadOps.hpp.

template<typename ValueT >
SimpleFad<ValueT> Sacado::Fad::operator+ ( const typename SimpleFad< ValueT >::value_type &  a,
const SimpleFad< ValueT > &  b 
)

Definition at line 203 of file Sacado_Fad_SimpleFadOps.hpp.

template<typename ValueT >
SimpleFad<ValueT> Sacado::Fad::operator+ ( const SimpleFad< ValueT > &  a,
const typename SimpleFad< ValueT >::value_type &  b 
)

Definition at line 210 of file Sacado_Fad_SimpleFadOps.hpp.

template<typename ValueT >
SimpleFad<ValueT> Sacado::Fad::operator- ( const SimpleFad< ValueT > &  a,
const SimpleFad< ValueT > &  b 
)

Definition at line 217 of file Sacado_Fad_SimpleFadOps.hpp.

template<typename ValueT >
SimpleFad<ValueT> Sacado::Fad::operator- ( const typename SimpleFad< ValueT >::value_type &  a,
const SimpleFad< ValueT > &  b 
)

Definition at line 236 of file Sacado_Fad_SimpleFadOps.hpp.

template<typename ValueT >
SimpleFad<ValueT> Sacado::Fad::operator- ( const SimpleFad< ValueT > &  a,
const typename SimpleFad< ValueT >::value_type &  b 
)

Definition at line 243 of file Sacado_Fad_SimpleFadOps.hpp.

template<typename ValueT >
SimpleFad<ValueT> Sacado::Fad::operator* ( const SimpleFad< ValueT > &  a,
const SimpleFad< ValueT > &  b 
)

Definition at line 250 of file Sacado_Fad_SimpleFadOps.hpp.

template<typename ValueT >
SimpleFad<ValueT> Sacado::Fad::operator* ( const typename SimpleFad< ValueT >::value_type &  a,
const SimpleFad< ValueT > &  b 
)

Definition at line 270 of file Sacado_Fad_SimpleFadOps.hpp.

template<typename ValueT >
SimpleFad<ValueT> Sacado::Fad::operator* ( const SimpleFad< ValueT > &  a,
const typename SimpleFad< ValueT >::value_type &  b 
)

Definition at line 277 of file Sacado_Fad_SimpleFadOps.hpp.

template<typename ValueT >
SimpleFad<ValueT> Sacado::Fad::operator/ ( const SimpleFad< ValueT > &  a,
const SimpleFad< ValueT > &  b 
)

Definition at line 284 of file Sacado_Fad_SimpleFadOps.hpp.

template<typename ValueT >
SimpleFad<ValueT> Sacado::Fad::operator/ ( const typename SimpleFad< ValueT >::value_type &  a,
const SimpleFad< ValueT > &  b 
)

Definition at line 308 of file Sacado_Fad_SimpleFadOps.hpp.

template<typename ValueT >
SimpleFad<ValueT> Sacado::Fad::operator/ ( const SimpleFad< ValueT > &  a,
const typename SimpleFad< ValueT >::value_type &  b 
)

Definition at line 315 of file Sacado_Fad_SimpleFadOps.hpp.

template<typename ValueT >
SimpleFad<ValueT> Sacado::Fad::pow ( const SimpleFad< ValueT > &  a,
const SimpleFad< ValueT > &  b 
)

Definition at line 322 of file Sacado_Fad_SimpleFadOps.hpp.

template<typename ValueT >
SimpleFad<ValueT> Sacado::Fad::pow ( const typename SimpleFad< ValueT >::value_type &  a,
const SimpleFad< ValueT > &  b 
)

Definition at line 356 of file Sacado_Fad_SimpleFadOps.hpp.

template<typename ValueT >
SimpleFad<ValueT> Sacado::Fad::pow ( const SimpleFad< ValueT > &  a,
const typename SimpleFad< ValueT >::value_type &  b 
)

Definition at line 368 of file Sacado_Fad_SimpleFadOps.hpp.

template<typename ValueT >
SimpleFad<ValueT> Sacado::Fad::atan2 ( const SimpleFad< ValueT > &  a,
const SimpleFad< ValueT > &  b 
)

Definition at line 380 of file Sacado_Fad_SimpleFadOps.hpp.

template<typename ValueT >
SimpleFad<ValueT> Sacado::Fad::atan2 ( const typename SimpleFad< ValueT >::value_type &  a,
const SimpleFad< ValueT > &  b 
)

Definition at line 408 of file Sacado_Fad_SimpleFadOps.hpp.

template<typename ValueT >
SimpleFad<ValueT> Sacado::Fad::atan2 ( const SimpleFad< ValueT > &  a,
const typename SimpleFad< ValueT >::value_type &  b 
)

Definition at line 416 of file Sacado_Fad_SimpleFadOps.hpp.

template<typename ValueT >
SimpleFad<ValueT> Sacado::Fad::max ( const SimpleFad< ValueT > &  a,
const SimpleFad< ValueT > &  b 
)

Definition at line 424 of file Sacado_Fad_SimpleFadOps.hpp.

template<typename ValueT >
SimpleFad<ValueT> Sacado::Fad::max ( const typename SimpleFad< ValueT >::value_type &  a,
const SimpleFad< ValueT > &  b 
)

Definition at line 458 of file Sacado_Fad_SimpleFadOps.hpp.

template<typename ValueT >
SimpleFad<ValueT> Sacado::Fad::max ( const SimpleFad< ValueT > &  a,
const typename SimpleFad< ValueT >::value_type &  b 
)

Definition at line 473 of file Sacado_Fad_SimpleFadOps.hpp.

template<typename ValueT >
SimpleFad<ValueT> Sacado::Fad::min ( const SimpleFad< ValueT > &  a,
const SimpleFad< ValueT > &  b 
)

Definition at line 488 of file Sacado_Fad_SimpleFadOps.hpp.

template<typename ValueT >
SimpleFad<ValueT> Sacado::Fad::min ( const typename SimpleFad< ValueT >::value_type &  a,
const SimpleFad< ValueT > &  b 
)

Definition at line 522 of file Sacado_Fad_SimpleFadOps.hpp.

template<typename ValueT >
SimpleFad<ValueT> Sacado::Fad::min ( const SimpleFad< ValueT > &  a,
const typename SimpleFad< ValueT >::value_type &  b 
)

Definition at line 537 of file Sacado_Fad_SimpleFadOps.hpp.

template<typename ValueT >
bool Sacado::Fad::operator! ( const SimpleFad< ValueT > &  a) [inline]

Definition at line 603 of file Sacado_Fad_SimpleFadOps.hpp.

template<typename T >
bool Sacado::Fad::toBool ( const SimpleFad< T > &  x)

Definition at line 618 of file Sacado_Fad_SimpleFadOps.hpp.

template<typename ValueT >
std::ostream& Sacado::Fad::operator<< ( std::ostream &  os,
const SimpleFad< ValueT > &  x 
)

Definition at line 670 of file Sacado_Fad_SimpleFadOps.hpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines