Sacado Development
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...
struct  ArrayValueType< Sacado::Fad::DFad< ValueT > >
struct  ArrayValueType< Sacado::Fad::SFad< ValueT, Num > >
struct  ArrayValueType< Sacado::Fad::SLFad< ValueT, Num > >
struct  ArrayValueType< Sacado::Fad::DMFad< ValueT > >
struct  ArrayValueType< Sacado::Fad::DVFad< ValueT > >
struct  ArrayValueType< Sacado::ELRFad::DFad< ValueT > >
struct  ArrayValueType< Sacado::ELRFad::SFad< ValueT, Num > >
struct  ArrayValueType< Sacado::ELRFad::SLFad< ValueT, Num > >
struct  ArrayValueType< Sacado::CacheFad::DFad< ValueT > >
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...
class  ViewFad
 Forward-mode AD class using dynamic memory allocation and expression templates. More...
class  ViewStorage
 Derivative array storage class that is a view into a contiguous memory allocation. It does not provide proper value semantics and thus should not be used in a general-purpose scalar type. 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)
template<typename T >
Expr< ExpOp< Expr< T > > > exp (const Expr< T > &)
template<typename T >
SimpleFad< T > exp (const SimpleFad< T > &)
template<typename T >
Expr< LogOp< Expr< T > > > log (const Expr< T > &)
template<typename T >
SimpleFad< T > log (const SimpleFad< T > &)
template<typename T >
Expr< Log10Op< Expr< T > > > log10 (const Expr< T > &)
template<typename T >
SimpleFad< T > log10 (const SimpleFad< T > &)
template<typename T >
Expr< SqrtOp< Expr< T > > > sqrt (const Expr< T > &)
template<typename T >
SimpleFad< T > sqrt (const SimpleFad< T > &)
template<typename T >
Expr< CosOp< Expr< T > > > cos (const Expr< T > &)
template<typename T >
SimpleFad< T > cos (const SimpleFad< T > &)
template<typename T >
Expr< SinOp< Expr< T > > > sin (const Expr< T > &)
template<typename T >
SimpleFad< T > sin (const SimpleFad< T > &)
template<typename T >
Expr< TanOp< Expr< T > > > tan (const Expr< T > &)
template<typename T >
SimpleFad< T > tan (const SimpleFad< T > &)
template<typename T >
Expr< ACosOp< Expr< T > > > acos (const Expr< T > &)
template<typename T >
SimpleFad< T > acos (const SimpleFad< T > &)
template<typename T >
Expr< ASinOp< Expr< T > > > asin (const Expr< T > &)
template<typename T >
SimpleFad< T > asin (const SimpleFad< T > &)
template<typename T >
Expr< ATanOp< Expr< T > > > atan (const Expr< T > &)
template<typename T >
SimpleFad< T > atan (const SimpleFad< T > &)
template<typename T >
Expr< CoshOp< Expr< T > > > cosh (const Expr< T > &)
template<typename T >
SimpleFad< T > cosh (const SimpleFad< T > &)
template<typename T >
Expr< SinhOp< Expr< T > > > sinh (const Expr< T > &)
template<typename T >
SimpleFad< T > sinh (const SimpleFad< T > &)
template<typename T >
Expr< TanhOp< Expr< T > > > tanh (const Expr< T > &)
template<typename T >
SimpleFad< T > tanh (const SimpleFad< T > &)
template<typename T >
Expr< ACoshOp< Expr< T > > > acosh (const Expr< T > &)
template<typename T >
SimpleFad< T > acosh (const SimpleFad< T > &)
template<typename T >
Expr< ASinhOp< Expr< T > > > asinh (const Expr< T > &)
template<typename T >
SimpleFad< T > asinh (const SimpleFad< T > &)
template<typename T >
Expr< ATanhOp< Expr< T > > > atanh (const Expr< T > &)
template<typename T >
SimpleFad< T > atanh (const SimpleFad< T > &)
template<typename T >
Expr< AbsOp< Expr< T > > > abs (const Expr< T > &)
template<typename T >
SimpleFad< T > abs (const SimpleFad< T > &)
template<typename T >
Expr< FAbsOp< Expr< T > > > fabs (const Expr< T > &)
template<typename T >
SimpleFad< T > fabs (const SimpleFad< T > &)
template<typename T1 , typename T2 >
Expr< Atan2Op< Expr< T1 >
, Expr< T2 > > > 
atan2 (const Expr< T1 > &, const Expr< T2 > &)
template<typename T >
Expr< Atan2Op< Expr< T >, Expr
< T > > > 
atan2 (const Expr< T > &, const Expr< T > &)
template<typename T >
Expr< Atan2Op< typename Expr
< T >::value_type, Expr< T > > > 
atan2 (const typename Expr< T >::value_type &, const Expr< T > &)
template<typename T >
Expr< Atan2Op< Expr< T >
, typename Expr< T >
::value_type > > 
atan2 (const Expr< T > &, const typename Expr< T >::value_type &)
template<typename T >
SimpleFad< T > atan2 (const SimpleFad< T > &, const SimpleFad< T > &)
template<typename T >
SimpleFad< T > atan2 (const SimpleFad< T > &, const typename SimpleFad< T >::value_type &)
template<typename T >
SimpleFad< T > atan2 (const typename SimpleFad< T >::value_type &, const SimpleFad< T > &)
template<typename T1 , typename T2 >
Expr< PowerOp< Expr< T1 >
, Expr< T2 > > > 
pow (const Expr< T1 > &, const Expr< T2 > &)
template<typename T >
Expr< PowerOp< Expr< T >, Expr
< T > > > 
pow (const Expr< T > &, const Expr< T > &)
template<typename T >
Expr< PowerOp< typename Expr
< T >::value_type, Expr< T > > > 
pow (const typename Expr< T >::value_type &, const Expr< T > &)
template<typename T >
Expr< PowerOp< Expr< T >
, typename Expr< T >
::value_type > > 
pow (const Expr< T > &, const typename Expr< T >::value_type &)
template<typename T >
SimpleFad< T > pow (const SimpleFad< T > &, const SimpleFad< T > &)
template<typename T >
SimpleFad< T > pow (const SimpleFad< T > &, const typename SimpleFad< T >::value_type &)
template<typename T >
SimpleFad< T > pow (const typename SimpleFad< T >::value_type &, const SimpleFad< T > &)
template<typename T1 , typename T2 >
Expr< MaxOp< Expr< T1 >, Expr
< T2 > > > 
max (const Expr< T1 > &, const Expr< T2 > &)
template<typename T >
Expr< MaxOp< Expr< T >, Expr
< T > > > 
max (const Expr< T > &, const Expr< T > &)
template<typename T >
Expr< MaxOp< typename Expr< T >
::value_type, Expr< T > > > 
max (const typename Expr< T >::value_type &, const Expr< T > &)
template<typename T >
Expr< MaxOp< Expr< T >
, typename Expr< T >
::value_type > > 
max (const Expr< T > &, const typename Expr< T >::value_type &)
template<typename T >
SimpleFad< T > max (const SimpleFad< T > &, const SimpleFad< T > &)
template<typename T >
SimpleFad< T > max (const SimpleFad< T > &, const typename SimpleFad< T >::value_type &)
template<typename T >
SimpleFad< T > max (const typename SimpleFad< T >::value_type &, const SimpleFad< T > &)
template<typename T1 , typename T2 >
Expr< MinOp< Expr< T1 >, Expr
< T2 > > > 
min (const Expr< T1 > &, const Expr< T2 > &)
template<typename T >
Expr< MinOp< Expr< T >, Expr
< T > > > 
min (const Expr< T > &, const Expr< T > &)
template<typename T >
Expr< MinOp< typename Expr< T >
::value_type, Expr< T > > > 
min (const typename Expr< T >::value_type &, const Expr< T > &)
template<typename T >
Expr< MinOp< Expr< T >
, typename Expr< T >
::value_type > > 
min (const Expr< T > &, const typename Expr< T >::value_type &)
template<typename T >
SimpleFad< T > min (const SimpleFad< T > &, const SimpleFad< T > &)
template<typename T >
SimpleFad< T > min (const SimpleFad< T > &, const typename SimpleFad< T >::value_type &)
template<typename T >
SimpleFad< T > min (const typename SimpleFad< T >::value_type &, const SimpleFad< T > &)

Detailed Description

Namespace for forward-mode AD classes.


Enumeration Type Documentation

Enumerator:
Column 

Derivatives are stored row-wise (strided)

Derivatives ar stored column-wise (unit stride)

 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends