Sacado
Development
|
Public Types | |
typedef ConstExpr< T1 > | ExprT1 |
typedef ExprT1::value_type | value_type_1 |
typedef ExprT2::value_type | value_type_2 |
typedef Sacado::Promote < value_type_1, value_type_2 > ::type | value_type |
typedef ExprT1::scalar_type | scalar_type_1 |
typedef ExprT2::scalar_type | scalar_type_2 |
typedef Sacado::Promote < scalar_type_1, scalar_type_2 > ::type | scalar_type |
typedef ExprT1::base_expr_type | base_expr_type_1 |
typedef ExprT2::base_expr_type | base_expr_type_2 |
typedef Sacado::Promote < base_expr_type_1, base_expr_type_2 >::type | base_expr_type |
Public Member Functions | |
Expr (const ExprT1 &expr1_, const ExprT2 &expr2_) | |
int | size () const |
template<int Arg> | |
bool | isActive () const |
bool | isActive2 (int j) const |
bool | updateValue () const |
void | cache () const |
value_type | val () const |
void | computePartials (const value_type &bar, value_type partials[]) const |
void | getTangents (int i, value_type dots[]) const |
template<int Arg> | |
const value_type & | getTangent (int i) const |
bool | isLinear () const |
bool | hasFastAccess () const |
const value_type | dx (int i) const |
const value_type | fastAccessDx (int i) const |
const value_type * | getDx (int j) const |
int | numActiveArgs () const |
void | computeActivePartials (const value_type &bar, value_type *partials) const |
Static Public Attributes | |
static const int | num_args = ExprT2::num_args |
static const bool | is_linear = ExprT2::is_linear |
Protected Attributes | |
ExprConstRef< ExprT1 >::type | expr1 |
ExprConstRef< ExprT2 >::type | expr2 |