Sacado Development
Loading...
Searching...
No Matches
Sacado::Fad::Exp::ViewFadPtr< T, sl, ss, U > Class Template Reference
Inheritance diagram for Sacado::Fad::Exp::ViewFadPtr< T, sl, ss, U >:
Collaboration diagram for Sacado::Fad::Exp::ViewFadPtr< T, sl, ss, U >:

Public Types

typedef ViewFad< T, sl, ss, U > view_fad_type
Public Types inherited from Sacado::Fad::Exp::GeneralFad< ViewStorage< T, static_length, static_stride, U > >
typedef ViewStorage< T, static_length, static_stride, U > StorageType
 Storage type.
typedef Expr< GeneralFad< ViewStorage< T, static_length, static_stride, U > > > ExprType
 Expression type.
typedef Extender< ViewStorage< T, static_length, static_stride, U > > ExtenderType
 Extender type.
typedef ScalarType< value_type >::type scalar_type
 Typename of scalar's (which may be different from T).
Public Types inherited from Sacado::Fad::Exp::Expr< T >
typedef T derived_type
 Typename of derived object, returned by derived().
Public Types inherited from Sacado::Fad::Exp::Extender< T, Enabled >
typedef ExprSpecDefault expr_spec_type

Public Member Functions

view_fad_type * operator-> ()
view_fad_type & operator* ()
Public Member Functions inherited from Sacado::Fad::Exp::GeneralFad< ViewStorage< T, static_length, static_stride, U > >
 GeneralFad ()=default
 Default constructor.
 GeneralFad (const GeneralFad &x)=default
 Copy constructor.
 GeneralFad (GeneralFad &&x)=default
 Move constructor.
 GeneralFad (const S &x, typename mpl::enable_if_c< std::is_convertible< S, value_type >::value &&!is_view, void * >::type=0)
 Constructor with value (disabled for ViewFad).
 GeneralFad (const Expr< S > &x, typename mpl::enable_if_c< std::is_convertible< typename Expr< S >::derived_type::value_type, value_type >::value &&(ExprLevel< typename Expr< S >::derived_type::value_type >::value==ExprLevel< value_type >::value) &&!is_view, void * >::type=0)
 Copy constructor from any Expression object (disabled for ViewFad).
 ~GeneralFad ()=default
 Destructor.
void diff (const int ith, const int n)
 Set GeneralFad object as the ith independent variable.
void setUpdateValue (bool update_val)
 Set whether this Fad object should update values.
bool updateValue () const
 Return whether this Fad object has an updated value.
void cache () const
 Cache values.
mpl::enable_if_c< std::is_convertible< typenameExpr< S >::derived_type::value_type, value_type >::value &&ExprLevel< typenameExpr< S >::derived_type::value_type >::value==ExprLevel< value_type >::value, bool >::type isEqualTo (const Expr< S > &xx) const
 Returns whether two Fad objects have the same values.
int availableSize () const
 Returns number of derivative components that can be stored without reallocation.
bool hasFastAccess () const
 Returns true if derivative array is not empty.
void setIsConstant (bool is_const)
 Set whether variable is constant.
Sacado::mpl::enable_if< std::is_convertible< S, value_type >, GeneralFad & >::type operator= (const S &v)
 Assignment operator with constant right-hand-side.
GeneralFadoperator= (const GeneralFad &x)=default
 Assignment with GeneralFad right-hand-side.
GeneralFadoperator= (GeneralFad &&x)=default
 Move assignment with GeneralFad right-hand-side.
mpl::enable_if_c< std::is_convertible< typenameExpr< S >::derived_type::value_type, value_type >::value &&ExprLevel< typenameExpr< S >::derived_type::value_type >::value==ExprLevel< value_type >::value, GeneralFad & >::type operator= (const Expr< S > &x)
 Assignment operator with any expression right-hand-side.
Sacado::mpl::enable_if< std::is_convertible< S, value_type >, GeneralFad & >::type operator+= (const S &v)
 Addition-assignment operator with constant right-hand-side.
Sacado::mpl::enable_if< std::is_convertible< S, value_type >, GeneralFad & >::type operator-= (const S &v)
 Subtraction-assignment operator with constant right-hand-side.
Sacado::mpl::enable_if< std::is_convertible< S, value_type >, GeneralFad & >::type operator*= (const S &v)
 Multiplication-assignment operator with constant right-hand-side.
Sacado::mpl::enable_if< std::is_convertible< S, value_type >, GeneralFad & >::type operator/= (const S &v)
 Division-assignment operator with constant right-hand-side.
GeneralFadoperator+= (const GeneralFad &x)
 Addition-assignment operator with GeneralFad right-hand-side.
GeneralFadoperator-= (const GeneralFad &x)
 Subtraction-assignment operator with GeneralFad right-hand-side.
GeneralFadoperator*= (const GeneralFad &x)
 Multiplication-assignment operator with GeneralFad right-hand-side.
GeneralFadoperator/= (const GeneralFad &x)
 Division-assignment operator with GeneralFad right-hand-side.
mpl::enable_if_c< std::is_convertible< typenameExpr< S >::derived_type::value_type, value_type >::value &&ExprLevel< typenameExpr< S >::derived_type::value_type >::value==ExprLevel< value_type >::value, GeneralFad & >::type operator+= (const Expr< S > &x)
 Addition-assignment operator with Expr right-hand-side.
mpl::enable_if_c< std::is_convertible< typenameExpr< S >::derived_type::value_type, value_type >::value &&ExprLevel< typenameExpr< S >::derived_type::value_type >::value==ExprLevel< value_type >::value, GeneralFad & >::type operator-= (const Expr< S > &x)
 Subtraction-assignment operator with Expr right-hand-side.
mpl::enable_if_c< std::is_convertible< typenameExpr< S >::derived_type::value_type, value_type >::value &&ExprLevel< typenameExpr< S >::derived_type::value_type >::value==ExprLevel< value_type >::value, GeneralFad & >::type operator*= (const Expr< S > &x)
 Multiplication-assignment operator with Expr right-hand-side.
mpl::enable_if_c< std::is_convertible< typenameExpr< S >::derived_type::value_type, value_type >::value &&ExprLevel< typenameExpr< S >::derived_type::value_type >::value==ExprLevel< value_type >::value, GeneralFad & >::type operator/= (const Expr< S > &x)
 Division-assignment operator with Expr right-hand-side.
Public Member Functions inherited from Sacado::Fad::Exp::Expr< T >
SACADO_INLINE_FUNCTION const derived_typederived () const
 Return derived object.
SACADO_INLINE_FUNCTION const volatile derived_typederived () const volatile
 Return derived object.

Additional Inherited Members

Static Public Attributes inherited from Sacado::Fad::Exp::GeneralFad< ViewStorage< T, static_length, static_stride, U > >
static constexpr bool is_view
 Whether we are a view.

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