QUGaR 0.0.4
|
Dimension independent constant function. More...
#include <primitive_funcs_lib.hpp>
Public Member Functions | |
ConstantBase (real value) | |
Constructor. | |
real | value () const |
Gets the constant value. | |
Static Public Attributes | |
static constexpr real | default_value = numbers::half |
Protected Attributes | |
real | value_ { 0.0 } |
Constant value. | |
Dimension independent constant function.
dim | Parametric dimension. |
|
explicit |
Constructor.
value | Constant value. |
|
nodiscard |
Gets the constant value.
|
staticconstexpr |