Sacado Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | Static Public Attributes | Protected Attributes | List of all members
Sacado::ELRCacheFad::Expr< UnaryPlusOp< ExprT > > Class Template Reference

#include <Sacado_ELRCacheFad_Ops.hpp>

Public Types

typedef ExprT::value_type value_type
 
typedef ExprT::scalar_type scalar_type
 
typedef ExprT::base_expr_type base_expr_type
 

Public Member Functions

SACADO_INLINE_FUNCTION Expr (const ExprT &expr_)
 
SACADO_INLINE_FUNCTION int size () const
 
template<int Arg>
SACADO_INLINE_FUNCTION bool isActive () const
 
SACADO_INLINE_FUNCTION bool updateValue () const
 
SACADO_INLINE_FUNCTION void cache () const
 
SACADO_INLINE_FUNCTION value_type val () const
 
SACADO_INLINE_FUNCTION void computePartials (const value_type &bar, value_type partials[]) const
 
SACADO_INLINE_FUNCTION void getTangents (int i, value_type dots[]) const
 
template<int Arg>
value_type getTangent (int i) const
 
SACADO_INLINE_FUNCTION bool isLinear () const
 
SACADO_INLINE_FUNCTION bool hasFastAccess () const
 
SACADO_INLINE_FUNCTION const
value_type 
dx (int i) const
 
SACADO_INLINE_FUNCTION const
value_type 
fastAccessDx (int i) const
 
SACADO_INLINE_FUNCTION const
value_type
getDx (int j) const
 

Static Public Attributes

static const int num_args = ExprT::num_args
 
static const bool is_linear = true
 

Protected Attributes

const ExprT & expr
 

Detailed Description

template<typename ExprT>
class Sacado::ELRCacheFad::Expr< UnaryPlusOp< ExprT > >

Definition at line 71 of file Sacado_ELRCacheFad_Ops.hpp.

Member Typedef Documentation

template<typename ExprT >
typedef ExprT::value_type Sacado::ELRCacheFad::Expr< UnaryPlusOp< ExprT > >::value_type

Definition at line 74 of file Sacado_ELRCacheFad_Ops.hpp.

template<typename ExprT >
typedef ExprT::scalar_type Sacado::ELRCacheFad::Expr< UnaryPlusOp< ExprT > >::scalar_type

Definition at line 75 of file Sacado_ELRCacheFad_Ops.hpp.

template<typename ExprT >
typedef ExprT::base_expr_type Sacado::ELRCacheFad::Expr< UnaryPlusOp< ExprT > >::base_expr_type

Definition at line 77 of file Sacado_ELRCacheFad_Ops.hpp.

Constructor & Destructor Documentation

template<typename ExprT >
SACADO_INLINE_FUNCTION Sacado::ELRCacheFad::Expr< UnaryPlusOp< ExprT > >::Expr ( const ExprT &  expr_)
inlineexplicit

Definition at line 84 of file Sacado_ELRCacheFad_Ops.hpp.

Member Function Documentation

template<typename ExprT >
SACADO_INLINE_FUNCTION int Sacado::ELRCacheFad::Expr< UnaryPlusOp< ExprT > >::size ( ) const
inline

Definition at line 87 of file Sacado_ELRCacheFad_Ops.hpp.

template<typename ExprT >
template<int Arg>
SACADO_INLINE_FUNCTION bool Sacado::ELRCacheFad::Expr< UnaryPlusOp< ExprT > >::isActive ( ) const
inline

Definition at line 91 of file Sacado_ELRCacheFad_Ops.hpp.

template<typename ExprT >
SACADO_INLINE_FUNCTION bool Sacado::ELRCacheFad::Expr< UnaryPlusOp< ExprT > >::updateValue ( ) const
inline

Definition at line 94 of file Sacado_ELRCacheFad_Ops.hpp.

template<typename ExprT >
SACADO_INLINE_FUNCTION void Sacado::ELRCacheFad::Expr< UnaryPlusOp< ExprT > >::cache ( ) const
inline

Definition at line 97 of file Sacado_ELRCacheFad_Ops.hpp.

template<typename ExprT >
SACADO_INLINE_FUNCTION value_type Sacado::ELRCacheFad::Expr< UnaryPlusOp< ExprT > >::val ( ) const
inline

Definition at line 102 of file Sacado_ELRCacheFad_Ops.hpp.

template<typename ExprT >
SACADO_INLINE_FUNCTION void Sacado::ELRCacheFad::Expr< UnaryPlusOp< ExprT > >::computePartials ( const value_type bar,
value_type  partials[] 
) const
inline

Definition at line 107 of file Sacado_ELRCacheFad_Ops.hpp.

template<typename ExprT >
SACADO_INLINE_FUNCTION void Sacado::ELRCacheFad::Expr< UnaryPlusOp< ExprT > >::getTangents ( int  i,
value_type  dots[] 
) const
inline

Definition at line 113 of file Sacado_ELRCacheFad_Ops.hpp.

template<typename ExprT >
template<int Arg>
value_type Sacado::ELRCacheFad::Expr< UnaryPlusOp< ExprT > >::getTangent ( int  i) const
inline

Definition at line 117 of file Sacado_ELRCacheFad_Ops.hpp.

template<typename ExprT >
SACADO_INLINE_FUNCTION bool Sacado::ELRCacheFad::Expr< UnaryPlusOp< ExprT > >::isLinear ( ) const
inline

Definition at line 122 of file Sacado_ELRCacheFad_Ops.hpp.

template<typename ExprT >
SACADO_INLINE_FUNCTION bool Sacado::ELRCacheFad::Expr< UnaryPlusOp< ExprT > >::hasFastAccess ( ) const
inline

Definition at line 127 of file Sacado_ELRCacheFad_Ops.hpp.

template<typename ExprT >
SACADO_INLINE_FUNCTION const value_type Sacado::ELRCacheFad::Expr< UnaryPlusOp< ExprT > >::dx ( int  i) const
inline

Definition at line 132 of file Sacado_ELRCacheFad_Ops.hpp.

template<typename ExprT >
SACADO_INLINE_FUNCTION const value_type Sacado::ELRCacheFad::Expr< UnaryPlusOp< ExprT > >::fastAccessDx ( int  i) const
inline

Definition at line 137 of file Sacado_ELRCacheFad_Ops.hpp.

template<typename ExprT >
SACADO_INLINE_FUNCTION const value_type* Sacado::ELRCacheFad::Expr< UnaryPlusOp< ExprT > >::getDx ( int  j) const
inline

Definition at line 142 of file Sacado_ELRCacheFad_Ops.hpp.

Member Data Documentation

template<typename ExprT >
const int Sacado::ELRCacheFad::Expr< UnaryPlusOp< ExprT > >::num_args = ExprT::num_args
static

Definition at line 79 of file Sacado_ELRCacheFad_Ops.hpp.

template<typename ExprT >
const bool Sacado::ELRCacheFad::Expr< UnaryPlusOp< ExprT > >::is_linear = true
static

Definition at line 81 of file Sacado_ELRCacheFad_Ops.hpp.

template<typename ExprT >
const ExprT& Sacado::ELRCacheFad::Expr< UnaryPlusOp< ExprT > >::expr
protected

Definition at line 148 of file Sacado_ELRCacheFad_Ops.hpp.


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