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 45 of file Sacado_Fad_BLAS.hpp.
|
private |
Definition at line 47 of file Sacado_Fad_BLAS.hpp.
|
private |
Definition at line 48 of file Sacado_Fad_BLAS.hpp.
|
private |
Definition at line 49 of file Sacado_Fad_BLAS.hpp.
|
private |
Definition at line 47 of file Sacado_Fad_LAPACK.hpp.
|
private |
Definition at line 48 of file Sacado_Fad_LAPACK.hpp.
|
private |
Definition at line 49 of file Sacado_Fad_LAPACK.hpp.
Sacado::Fad::ArrayTraits< OrdinalType, FadType >::ArrayTraits | ( | bool | use_dynamic = true , |
OrdinalType | workspace_size = 0 |
||
) |
Definition at line 34 of file Sacado_Fad_BLASImp.hpp.
Sacado::Fad::ArrayTraits< OrdinalType, FadType >::ArrayTraits | ( | const ArrayTraits< OrdinalType, FadType > & | a | ) |
Definition at line 49 of file Sacado_Fad_BLASImp.hpp.
Sacado::Fad::ArrayTraits< OrdinalType, FadType >::~ArrayTraits | ( | ) |
Definition at line 64 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 83 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 97 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 142 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 228 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 239 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 253 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 267 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 297 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 358 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 423 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 441 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 471 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 504 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 514 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 531 of file Sacado_Fad_BLASImp.hpp.
|
inline |
Definition at line 135 of file Sacado_Fad_BLAS.hpp.
|
inline |
Definition at line 138 of file Sacado_Fad_BLAS.hpp.
|
inline |
Definition at line 142 of file Sacado_Fad_BLAS.hpp.
|
inline |
Definition at line 146 of file Sacado_Fad_BLAS.hpp.
|
inline |
Definition at line 149 of file Sacado_Fad_BLAS.hpp.
|
inline |
Definition at line 153 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 548 of file Sacado_Fad_BLASImp.hpp.
void Sacado::Fad::ArrayTraits< OrdinalType, FadType >::free_array | ( | const ValueType * | ptr, |
OrdinalType | size | ||
) | const |
Definition at line 572 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 583 of file Sacado_Fad_BLASImp.hpp.
void Sacado::Fad::ArrayTraits< OrdinalType, FadType >::unpack | ( | ) | const |
Definition at line 85 of file Sacado_Fad_LAPACKImp.hpp.
void Sacado::Fad::ArrayTraits< OrdinalType, FadType >::pack | ( | ) | const |
Definition at line 92 of file Sacado_Fad_LAPACKImp.hpp.
void Sacado::Fad::ArrayTraits< OrdinalType, FadType >::free | ( | ) | const |
Definition at line 99 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 167 of file Sacado_Fad_BLAS.hpp.
|
protected |
Size of static workspace.
Definition at line 170 of file Sacado_Fad_BLAS.hpp.
|
mutableprotected |
Workspace for holding contiguous values/derivatives.
Definition at line 173 of file Sacado_Fad_BLAS.hpp.
|
mutableprotected |
Pointer to current free entry in workspace.
Definition at line 176 of file Sacado_Fad_BLAS.hpp.