Sacado Package Browser (Single Doxygen Collection)
Version of the Day
|
#include <Sacado_Fad_BLAS.hpp>
Public Member Functions | |
ArrayTraits (bool use_dynamic=true, OrdinalType workspace_size=0) | |
ArrayTraits (const ArrayTraits &a) | |
~ArrayTraits () | |
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) | |
~ArrayTraits () | |
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. More... | |
OrdinalType | workspace_size |
Size of static workspace. More... | |
ValueType * | workspace |
Workspace for holding contiguous values/derivatives. More... | |
ValueType * | workspace_pointer |
Pointer to current free entry in workspace. More... | |
Private Types | |
typedef Sacado::ValueType < FadType >::type | ValueType |
typedef Sacado::ScalarType < FadType >::type | scalar_type |
typedef Sacado::dummy < ValueType, scalar_type > ::type | ScalarType |
typedef Sacado::ValueType < FadType >::type | ValueType |
typedef Sacado::ScalarType < FadType >::type | scalar_type |
typedef Sacado::dummy < ValueType, scalar_type > ::type | ScalarType |
Definition at line 23 of file Sacado_Fad_BLAS.hpp.
|
private |
Definition at line 25 of file Sacado_Fad_BLAS.hpp.
|
private |
Definition at line 26 of file Sacado_Fad_BLAS.hpp.
|
private |
Definition at line 27 of file Sacado_Fad_BLAS.hpp.
|
private |
Definition at line 25 of file Sacado_Fad_LAPACK.hpp.
|
private |
Definition at line 26 of file Sacado_Fad_LAPACK.hpp.
|
private |
Definition at line 27 of file Sacado_Fad_LAPACK.hpp.
Sacado::Fad::ArrayTraits< OrdinalType, FadType >::ArrayTraits | ( | bool | use_dynamic = true , |
OrdinalType | workspace_size = 0 |
||
) |
Definition at line 14 of file Sacado_Fad_BLASImp.hpp.
Sacado::Fad::ArrayTraits< OrdinalType, FadType >::ArrayTraits | ( | const ArrayTraits< OrdinalType, FadType > & | a | ) |
Definition at line 29 of file Sacado_Fad_BLASImp.hpp.
Sacado::Fad::ArrayTraits< OrdinalType, FadType >::~ArrayTraits | ( | ) |
Definition at line 44 of file Sacado_Fad_BLASImp.hpp.
Sacado::Fad::ArrayTraits< OrdinalType, FadType >::ArrayTraits | ( | bool | use_dynamic = true , |
OrdinalType | workspace_size = 0 |
||
) |
Sacado::Fad::ArrayTraits< OrdinalType, FadType >::ArrayTraits | ( | const ArrayTraits< OrdinalType, FadType > & | a | ) |
Sacado::Fad::ArrayTraits< OrdinalType, FadType >::~ArrayTraits | ( | ) |
void Sacado::Fad::ArrayTraits< OrdinalType, FadType >::unpack | ( | const FadType & | a, |
OrdinalType & | n_dot, | ||
ValueType & | val, | ||
const ValueType *& | dot | ||
) | const |
Definition at line 63 of file Sacado_Fad_BLASImp.hpp.
void Sacado::Fad::ArrayTraits< OrdinalType, FadType >::unpack | ( | const FadType * | a, |
OrdinalType | n, | ||
OrdinalType | inc, | ||
OrdinalType & | n_dot, | ||
OrdinalType & | inc_val, | ||
OrdinalType & | inc_dot, | ||
const ValueType *& | val, | ||
const ValueType *& | dot | ||
) | const |
Definition at line 77 of file Sacado_Fad_BLASImp.hpp.
void Sacado::Fad::ArrayTraits< OrdinalType, FadType >::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 |
Definition at line 124 of file Sacado_Fad_BLASImp.hpp.
void Sacado::Fad::ArrayTraits< OrdinalType, FadType >::unpack | ( | const ValueType & | a, |
OrdinalType & | n_dot, | ||
ValueType & | val, | ||
const ValueType *& | dot | ||
) | const |
void Sacado::Fad::ArrayTraits< OrdinalType, FadType >::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 Sacado::Fad::ArrayTraits< OrdinalType, FadType >::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 Sacado::Fad::ArrayTraits< OrdinalType, FadType >::unpack | ( | const ScalarType & | a, |
OrdinalType & | n_dot, | ||
ScalarType & | val, | ||
const ScalarType *& | dot | ||
) | const |
Definition at line 212 of file Sacado_Fad_BLASImp.hpp.
void Sacado::Fad::ArrayTraits< OrdinalType, FadType >::unpack | ( | const ScalarType * | a, |
OrdinalType | n, | ||
OrdinalType | inc, | ||
OrdinalType & | n_dot, | ||
OrdinalType & | inc_val, | ||
OrdinalType & | inc_dot, | ||
const ScalarType *& | val, | ||
const ScalarType *& | dot | ||
) | const |
Definition at line 223 of file Sacado_Fad_BLASImp.hpp.
void Sacado::Fad::ArrayTraits< OrdinalType, FadType >::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 |
Definition at line 237 of file Sacado_Fad_BLASImp.hpp.
void Sacado::Fad::ArrayTraits< OrdinalType, FadType >::unpack | ( | FadType & | a, |
OrdinalType & | n_dot, | ||
OrdinalType & | final_n_dot, | ||
ValueType & | val, | ||
ValueType *& | dot | ||
) | const |
Definition at line 251 of file Sacado_Fad_BLASImp.hpp.
void Sacado::Fad::ArrayTraits< OrdinalType, FadType >::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 |
Definition at line 281 of file Sacado_Fad_BLASImp.hpp.
void Sacado::Fad::ArrayTraits< OrdinalType, FadType >::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 |
Definition at line 342 of file Sacado_Fad_BLASImp.hpp.
void Sacado::Fad::ArrayTraits< OrdinalType, FadType >::pack | ( | FadType & | a, |
OrdinalType | n_dot, | ||
const ValueType & | val, | ||
const ValueType * | dot | ||
) | const |
Definition at line 407 of file Sacado_Fad_BLASImp.hpp.
void Sacado::Fad::ArrayTraits< OrdinalType, FadType >::pack | ( | FadType * | a, |
OrdinalType | n, | ||
OrdinalType | inc, | ||
OrdinalType | n_dot, | ||
OrdinalType | inc_val, | ||
OrdinalType | inc_dot, | ||
const ValueType * | val, | ||
const ValueType * | dot | ||
) | const |
Definition at line 425 of file Sacado_Fad_BLASImp.hpp.
void Sacado::Fad::ArrayTraits< OrdinalType, FadType >::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 |
Definition at line 455 of file Sacado_Fad_BLASImp.hpp.
void Sacado::Fad::ArrayTraits< OrdinalType, FadType >::free | ( | const FadType & | a, |
OrdinalType | n_dot, | ||
const ValueType * | dot | ||
) | const |
Definition at line 488 of file Sacado_Fad_BLASImp.hpp.
void Sacado::Fad::ArrayTraits< OrdinalType, FadType >::free | ( | const FadType * | a, |
OrdinalType | n, | ||
OrdinalType | n_dot, | ||
OrdinalType | inc_val, | ||
OrdinalType | inc_dot, | ||
const ValueType * | val, | ||
const ValueType * | dot | ||
) | const |
Definition at line 498 of file Sacado_Fad_BLASImp.hpp.
void Sacado::Fad::ArrayTraits< OrdinalType, FadType >::free | ( | const FadType * | A, |
OrdinalType | m, | ||
OrdinalType | n, | ||
OrdinalType | n_dot, | ||
OrdinalType | lda_val, | ||
OrdinalType | lda_dot, | ||
const ValueType * | val, | ||
const ValueType * | dot | ||
) | const |
Definition at line 515 of file Sacado_Fad_BLASImp.hpp.
|
inline |
Definition at line 113 of file Sacado_Fad_BLAS.hpp.
|
inline |
Definition at line 116 of file Sacado_Fad_BLAS.hpp.
|
inline |
Definition at line 120 of file Sacado_Fad_BLAS.hpp.
|
inline |
Definition at line 124 of file Sacado_Fad_BLAS.hpp.
|
inline |
Definition at line 127 of file Sacado_Fad_BLAS.hpp.
|
inline |
Definition at line 131 of file Sacado_Fad_BLAS.hpp.
Sacado::Fad::ArrayTraits< OrdinalType, FadType >::ValueType * Sacado::Fad::ArrayTraits< OrdinalType, FadType >::allocate_array | ( | OrdinalType | size | ) | const |
Definition at line 532 of file Sacado_Fad_BLASImp.hpp.
void Sacado::Fad::ArrayTraits< OrdinalType, FadType >::free_array | ( | const ValueType * | ptr, |
OrdinalType | size | ||
) | const |
Definition at line 556 of file Sacado_Fad_BLASImp.hpp.
bool Sacado::Fad::ArrayTraits< OrdinalType, FadType >::is_array_contiguous | ( | const FadType * | a, |
OrdinalType | n, | ||
OrdinalType | n_dot | ||
) | const |
Definition at line 567 of file Sacado_Fad_BLASImp.hpp.
void Sacado::Fad::ArrayTraits< OrdinalType, FadType >::unpack | ( | ) | const |
Definition at line 63 of file Sacado_Fad_LAPACKImp.hpp.
void Sacado::Fad::ArrayTraits< OrdinalType, FadType >::pack | ( | ) | const |
Definition at line 70 of file Sacado_Fad_LAPACKImp.hpp.
void Sacado::Fad::ArrayTraits< OrdinalType, FadType >::free | ( | ) | const |
Definition at line 77 of file Sacado_Fad_LAPACKImp.hpp.
ValueType* Sacado::Fad::ArrayTraits< OrdinalType, FadType >::allocate_array | ( | OrdinalType | size | ) | const |
void Sacado::Fad::ArrayTraits< OrdinalType, FadType >::free_array | ( | const ValueType * | ptr, |
OrdinalType | size | ||
) | const |
bool Sacado::Fad::ArrayTraits< OrdinalType, FadType >::is_array_contiguous | ( | const FadType * | a, |
OrdinalType | n, | ||
OrdinalType | n_dot | ||
) | const |
|
protected |
Use dynamic memory allocation.
Definition at line 145 of file Sacado_Fad_BLAS.hpp.
|
protected |
Size of static workspace.
Definition at line 148 of file Sacado_Fad_BLAS.hpp.
|
mutableprotected |
Workspace for holding contiguous values/derivatives.
Definition at line 151 of file Sacado_Fad_BLAS.hpp.
|
mutableprotected |
Pointer to current free entry in workspace.
Definition at line 154 of file Sacado_Fad_BLAS.hpp.