Sacado  Development
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Classes | Public Types | Public Member Functions | List of all members
Sacado::FAD_NS::ViewFad< typename, unsigned, unsigned, typename > Class Template Reference

Forward-mode AD class using dynamic memory allocation and expression templates. More...

#include <Sacado_Fad_ViewFad_tmpl.hpp>

Inheritance diagram for Sacado::FAD_NS::ViewFad< typename, unsigned, unsigned, typename >:
Inheritance graph
[legend]
Collaboration diagram for Sacado::FAD_NS::ViewFad< typename, unsigned, unsigned, typename >:
Collaboration graph
[legend]

Classes

struct  apply
 Turn ViewFad into a meta-function class usable with mpl::apply. More...
 

Public Types

typedef Fad::ViewStorage
< ValueT, length, stride,
BaseFadT > 
StorageType
 Base classes.
 
typedef GeneralFad< ValueT,
StorageType
GeneralFadType
 
typedef Expr< GeneralFadType > ExprType
 
typedef ExprType::value_type value_type
 Typename of values.
 
typedef ExprType::scalar_type scalar_type
 Typename of scalar's (which may be different from value_type)
 
typedef ScalarType< ValueT >::type ScalarT
 Typename of scalar's (which may be different from ValueT)
 
typedef BaseFadT base_fad_type
 Fad type view is based on.
 

Public Member Functions

SACADO_INLINE_FUNCTION ~ViewFad ()
 Destructor.
 
Initialization methods
SACADO_INLINE_FUNCTION ViewFad (const StorageType &s)
 Constructor with supplied storage s.
 
SACADO_INLINE_FUNCTION ViewFad (ValueT *v, const int arg_size=0, const int arg_stride=0)
 View-specific constructor.
 
SACADO_INLINE_FUNCTION ViewFad (ValueT *dx_ptr, ValueT *val_ptr, const int arg_size=0, const int arg_stride=0)
 View-specific constructor.
 

Detailed Description

template<typename, unsigned, unsigned, typename>
class Sacado::FAD_NS::ViewFad< typename, unsigned, unsigned, typename >

Forward-mode AD class using dynamic memory allocation and expression templates.

This is the user-level class for forward mode AD with dynamic memory allocation, and is appropriate for whenever the number of derivative components is not known at compile time. The user interface is provided by Sacado::FAD_NS::GeneralFad.


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