MOAB  4.9.3pre
Eigen::internal::variable_if_dynamic< T, Value > Class Template Reference

#include <XprHelper.h>

Inheritance diagram for Eigen::internal::variable_if_dynamic< T, Value >:

List of all members.

Public Member Functions

EIGEN_DEVICE_FUNC variable_if_dynamic (T v)
EIGEN_DEVICE_FUNC void setValue (T)

Static Public Member Functions

static EIGEN_DEVICE_FUNC T value ()

Detailed Description

template<typename T, int Value>
class Eigen::internal::variable_if_dynamic< T, Value >

If the template parameter Value is Dynamic, this class is just a wrapper around a T variable that can be accessed using value() and setValue(). Otherwise, this class is an empty structure and value() just returns the template parameter Value.

Definition at line 66 of file XprHelper.h.


Constructor & Destructor Documentation

template<typename T, int Value>
EIGEN_DEVICE_FUNC Eigen::internal::variable_if_dynamic< T, Value >::variable_if_dynamic ( T  v) [inline, explicit]

Definition at line 70 of file XprHelper.h.


Member Function Documentation

template<typename T, int Value>
EIGEN_DEVICE_FUNC void Eigen::internal::variable_if_dynamic< T, Value >::setValue ( T  ) [inline]

Definition at line 72 of file XprHelper.h.

{}
template<typename T, int Value>
static EIGEN_DEVICE_FUNC T Eigen::internal::variable_if_dynamic< T, Value >::value ( ) [inline, static]

Definition at line 71 of file XprHelper.h.

{ return T(Value); }

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines