Sacado  Development
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | Protected Attributes | List of all members
Sacado::Fad::ArrayTraits< OrdinalType, FadType > Class Template Reference
Inheritance diagram for Sacado::Fad::ArrayTraits< OrdinalType, FadType >:
Inheritance graph
[legend]
Collaboration diagram for Sacado::Fad::ArrayTraits< OrdinalType, FadType >:
Collaboration graph
[legend]

Public Member Functions

 ArrayTraits (bool use_dynamic=true, OrdinalType workspace_size=0)
 
 ArrayTraits (const ArrayTraits &a)
 
void unpack (const FadType &a, OrdinalType &n_dot, ValueType &val, const ValueType *&dot) const
 
void unpack (const FadType *a, OrdinalType n, OrdinalType inc, OrdinalType &n_dot, OrdinalType &inc_val, OrdinalType &inc_dot, const ValueType *&val, const ValueType *&dot) const
 
void unpack (const FadType *A, OrdinalType m, OrdinalType n, OrdinalType lda, OrdinalType &n_dot, OrdinalType &lda_val, OrdinalType &lda_dot, const ValueType *&val, const ValueType *&dot) const
 
void unpack (const ValueType &a, OrdinalType &n_dot, ValueType &val, const ValueType *&dot) const
 
void unpack (const ValueType *a, OrdinalType n, OrdinalType inc, OrdinalType &n_dot, OrdinalType &inc_val, OrdinalType &inc_dot, const ValueType *&val, const ValueType *&dot) const
 
void unpack (const ValueType *A, OrdinalType m, OrdinalType n, OrdinalType lda, OrdinalType &n_dot, OrdinalType &lda_val, OrdinalType &lda_dot, const ValueType *&val, const ValueType *&dot) const
 
void unpack (const ScalarType &a, OrdinalType &n_dot, ScalarType &val, const ScalarType *&dot) const
 
void unpack (const ScalarType *a, OrdinalType n, OrdinalType inc, OrdinalType &n_dot, OrdinalType &inc_val, OrdinalType &inc_dot, const ScalarType *&val, const ScalarType *&dot) const
 
void unpack (const ScalarType *A, OrdinalType m, OrdinalType n, OrdinalType lda, OrdinalType &n_dot, OrdinalType &lda_val, OrdinalType &lda_dot, const ScalarType *&val, const ScalarType *&dot) const
 
void unpack (FadType &a, OrdinalType &n_dot, OrdinalType &final_n_dot, ValueType &val, ValueType *&dot) const
 
void unpack (FadType *a, OrdinalType n, OrdinalType inc, OrdinalType &n_dot, OrdinalType &final_n_dot, OrdinalType &inc_val, OrdinalType &inc_dot, ValueType *&val, ValueType *&dot) const
 
void unpack (FadType *A, OrdinalType m, OrdinalType n, OrdinalType lda, OrdinalType &n_dot, OrdinalType &final_n_dot, OrdinalType &lda_val, OrdinalType &lda_dot, ValueType *&val, ValueType *&dot) const
 
void pack (FadType &a, OrdinalType n_dot, const ValueType &val, const ValueType *dot) const
 
void pack (FadType *a, OrdinalType n, OrdinalType inc, OrdinalType n_dot, OrdinalType inc_val, OrdinalType inc_dot, const ValueType *val, const ValueType *dot) const
 
void pack (FadType *A, OrdinalType m, OrdinalType n, OrdinalType lda, OrdinalType n_dot, OrdinalType lda_val, OrdinalType lda_dot, const ValueType *val, const ValueType *dot) const
 
void free (const FadType &a, OrdinalType n_dot, const ValueType *dot) const
 
void free (const FadType *a, OrdinalType n, OrdinalType n_dot, OrdinalType inc_val, OrdinalType inc_dot, const ValueType *val, const ValueType *dot) const
 
void free (const FadType *A, OrdinalType m, OrdinalType n, OrdinalType n_dot, OrdinalType lda_val, OrdinalType lda_dot, const ValueType *val, const ValueType *dot) const
 
void free (const ValueType &a, OrdinalType n_dot, const ValueType *dot) const
 
void free (const ValueType *a, OrdinalType n, OrdinalType n_dot, OrdinalType inc_val, OrdinalType inc_dot, const ValueType *val, const ValueType *dot) const
 
void free (const ValueType *A, OrdinalType m, OrdinalType n, OrdinalType n_dot, OrdinalType lda_val, OrdinalType lda_dot, const ValueType *val, const ValueType *dot) const
 
void free (const ScalarType &a, OrdinalType n_dot, const ScalarType *dot) const
 
void free (const ScalarType *a, OrdinalType n, OrdinalType n_dot, OrdinalType inc_val, OrdinalType inc_dot, const ScalarType *val, const ScalarType *dot) const
 
void free (const ScalarType *A, OrdinalType m, OrdinalType n, OrdinalType n_dot, OrdinalType lda_val, OrdinalType lda_dot, const ScalarType *val, const ScalarType *dot) const
 
ValueType * allocate_array (OrdinalType size) const
 
void free_array (const ValueType *ptr, OrdinalType size) const
 
bool is_array_contiguous (const FadType *a, OrdinalType n, OrdinalType n_dot) const
 
 ArrayTraits (bool use_dynamic=true, OrdinalType workspace_size=0)
 
 ArrayTraits (const ArrayTraits &a)
 
void unpack () const
 
void pack () const
 
void free () const
 
ValueType * allocate_array (OrdinalType size) const
 
void free_array (const ValueType *ptr, OrdinalType size) const
 
bool is_array_contiguous (const FadType *a, OrdinalType n, OrdinalType n_dot) const
 

Protected Attributes

bool use_dynamic
 Use dynamic memory allocation.
 
OrdinalType workspace_size
 Size of static workspace.
 
ValueType * workspace
 Workspace for holding contiguous values/derivatives.
 
ValueType * workspace_pointer
 Pointer to current free entry in workspace.
 

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