Representation of a mathematical variable. If the supplied argument is some vector type, a traits system accesses the id-th component.
More...
#include <ct_variable.hpp>
Detailed Description
template<id_type id>
struct viennamath::ct_variable< id >
Representation of a mathematical variable. If the supplied argument is some vector type, a traits system accesses the id-th component.
- Template Parameters:
-
| id | the component of the vector for which 'variable' is evaluated |
Member Typedef Documentation
Constructor & Destructor Documentation
Member Function Documentation
variable_traits<VectorType, id>::return_type operator() |
( |
VectorType const & |
v |
) |
const [inline] |
long operator() |
( |
ct_constant< value > const & |
other |
) |
const [inline] |
std::ostream& operator<< |
( |
std::ostream & |
stream |
) |
const [inline] |
The documentation for this struct was generated from the following file: