Sacado Package Browser (Single Doxygen Collection) Version of the Day
Loading...
Searching...
No Matches
Sacado::ELRCacheFad::Expr< AbsOp< ExprT > > Class Template Reference

#include <Sacado_ELRCacheFad_Ops.hpp>

Inheritance diagram for Sacado::ELRCacheFad::Expr< AbsOp< ExprT > >:

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>
SACADO_INLINE_FUNCTION 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_typegetDx (int j) const

Static Public Attributes

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

Protected Attributes

const ExprT & expr
value_type v
bool v_pos

Detailed Description

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

Definition at line 267 of file Sacado_ELRCacheFad_Ops.hpp.

Member Typedef Documentation

◆ value_type

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

Definition at line 270 of file Sacado_ELRCacheFad_Ops.hpp.

◆ scalar_type

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

Definition at line 271 of file Sacado_ELRCacheFad_Ops.hpp.

◆ base_expr_type

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

Definition at line 273 of file Sacado_ELRCacheFad_Ops.hpp.

Constructor & Destructor Documentation

◆ Expr()

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

Definition at line 280 of file Sacado_ELRCacheFad_Ops.hpp.

Member Function Documentation

◆ size()

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

Definition at line 283 of file Sacado_ELRCacheFad_Ops.hpp.

◆ isActive()

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

Definition at line 287 of file Sacado_ELRCacheFad_Ops.hpp.

◆ updateValue()

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

Definition at line 290 of file Sacado_ELRCacheFad_Ops.hpp.

◆ cache()

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

Definition at line 293 of file Sacado_ELRCacheFad_Ops.hpp.

◆ val()

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

Definition at line 300 of file Sacado_ELRCacheFad_Ops.hpp.

◆ computePartials()

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

Definition at line 305 of file Sacado_ELRCacheFad_Ops.hpp.

◆ getTangents()

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

Definition at line 314 of file Sacado_ELRCacheFad_Ops.hpp.

◆ getTangent()

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

Definition at line 319 of file Sacado_ELRCacheFad_Ops.hpp.

◆ isLinear()

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

Definition at line 324 of file Sacado_ELRCacheFad_Ops.hpp.

◆ hasFastAccess()

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

Definition at line 329 of file Sacado_ELRCacheFad_Ops.hpp.

◆ dx()

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

Definition at line 334 of file Sacado_ELRCacheFad_Ops.hpp.

◆ fastAccessDx()

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

Definition at line 340 of file Sacado_ELRCacheFad_Ops.hpp.

◆ getDx()

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

Definition at line 346 of file Sacado_ELRCacheFad_Ops.hpp.

Member Data Documentation

◆ num_args

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

Definition at line 275 of file Sacado_ELRCacheFad_Ops.hpp.

◆ is_linear

template<typename ExprT>
const bool Sacado::ELRCacheFad::Expr< AbsOp< ExprT > >::is_linear = false
static

Definition at line 277 of file Sacado_ELRCacheFad_Ops.hpp.

◆ expr

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

Definition at line 352 of file Sacado_ELRCacheFad_Ops.hpp.

◆ v

template<typename ExprT>
value_type Sacado::ELRCacheFad::Expr< AbsOp< ExprT > >::v
mutableprotected

Definition at line 353 of file Sacado_ELRCacheFad_Ops.hpp.

◆ v_pos

template<typename ExprT>
bool Sacado::ELRCacheFad::Expr< AbsOp< ExprT > >::v_pos
mutableprotected

Definition at line 354 of file Sacado_ELRCacheFad_Ops.hpp.


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