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

#include <Sacado_ELRCacheFad_Ops.hpp>

Inheritance diagram for Sacado::ELRCacheFad::Expr< FAbsOp< 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< FAbsOp< ExprT > >

Definition at line 375 of file Sacado_ELRCacheFad_Ops.hpp.

Member Typedef Documentation

◆ value_type

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

Definition at line 378 of file Sacado_ELRCacheFad_Ops.hpp.

◆ scalar_type

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

Definition at line 379 of file Sacado_ELRCacheFad_Ops.hpp.

◆ base_expr_type

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

Definition at line 381 of file Sacado_ELRCacheFad_Ops.hpp.

Constructor & Destructor Documentation

◆ Expr()

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

Definition at line 388 of file Sacado_ELRCacheFad_Ops.hpp.

Member Function Documentation

◆ size()

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

Definition at line 391 of file Sacado_ELRCacheFad_Ops.hpp.

◆ isActive()

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

Definition at line 395 of file Sacado_ELRCacheFad_Ops.hpp.

◆ updateValue()

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

Definition at line 398 of file Sacado_ELRCacheFad_Ops.hpp.

◆ cache()

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

Definition at line 401 of file Sacado_ELRCacheFad_Ops.hpp.

◆ val()

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

Definition at line 408 of file Sacado_ELRCacheFad_Ops.hpp.

◆ computePartials()

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

Definition at line 413 of file Sacado_ELRCacheFad_Ops.hpp.

◆ getTangents()

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

Definition at line 422 of file Sacado_ELRCacheFad_Ops.hpp.

◆ getTangent()

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

Definition at line 427 of file Sacado_ELRCacheFad_Ops.hpp.

◆ isLinear()

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

Definition at line 432 of file Sacado_ELRCacheFad_Ops.hpp.

◆ hasFastAccess()

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

Definition at line 437 of file Sacado_ELRCacheFad_Ops.hpp.

◆ dx()

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

Definition at line 442 of file Sacado_ELRCacheFad_Ops.hpp.

◆ fastAccessDx()

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

Definition at line 448 of file Sacado_ELRCacheFad_Ops.hpp.

◆ getDx()

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

Definition at line 454 of file Sacado_ELRCacheFad_Ops.hpp.

Member Data Documentation

◆ num_args

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

Definition at line 383 of file Sacado_ELRCacheFad_Ops.hpp.

◆ is_linear

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

Definition at line 385 of file Sacado_ELRCacheFad_Ops.hpp.

◆ expr

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

Definition at line 460 of file Sacado_ELRCacheFad_Ops.hpp.

◆ v

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

Definition at line 461 of file Sacado_ELRCacheFad_Ops.hpp.

◆ v_pos

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

Definition at line 462 of file Sacado_ELRCacheFad_Ops.hpp.


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