Feel++  0.91.4
Public Member Functions
Feel::math::Constant< Tag, Rep > Class Template Reference

Structure that holds a constant with different numerical representation. More...

#include <constants.hpp>

List of all members.

Public Member Functions

 operator Rep () const
template<>
 operator double () const

Detailed Description

template<typename Tag, typename Rep = double>
class Feel::math::Constant< Tag, Rep >

Structure that holds a constant with different numerical representation.

The Constant class/struct provides a place to put * the actual definition of the value of each constant. * It also turns an implicit conversion operation * (which does not need any parentheses) into an explicit call to the * correct function that actually knows (and returns) the right value.