limes 3.1.0
Composable Calculus Expressions for C++20
Loading...
Searching...
No Matches
limes::expr::ConstBound< T > Struct Template Reference

Constant integration bound (e.g., 0.0, 1.0) More...

#include <integral.hpp>

+ Collaboration diagram for limes::expr::ConstBound< T >:

Public Member Functions

constexpr ConstBound () noexcept
 
constexpr ConstBound (T v) noexcept
 
template<typename Args >
constexpr T eval (Args const &) const noexcept
 
template<typename Args >
constexpr T evaluate (Args const &args) const noexcept
 
std::string to_string () const
 

Public Attributes

value
 

Detailed Description

template<typename T>
struct limes::expr::ConstBound< T >

Constant integration bound (e.g., 0.0, 1.0)

Definition at line 118 of file integral.hpp.

Constructor & Destructor Documentation

◆ ConstBound() [1/2]

template<typename T >
constexpr limes::expr::ConstBound< T >::ConstBound ( )
inlineconstexprnoexcept

Definition at line 121 of file integral.hpp.

◆ ConstBound() [2/2]

template<typename T >
constexpr limes::expr::ConstBound< T >::ConstBound ( v)
inlineexplicitconstexprnoexcept

Definition at line 122 of file integral.hpp.

Member Function Documentation

◆ eval()

template<typename T >
template<typename Args >
constexpr T limes::expr::ConstBound< T >::eval ( Args const &  ) const
inlineconstexprnoexcept

Definition at line 125 of file integral.hpp.

References limes::expr::ConstBound< T >::value.

Referenced by limes::expr::ConstBound< T >::evaluate().

◆ evaluate()

template<typename T >
template<typename Args >
constexpr T limes::expr::ConstBound< T >::evaluate ( Args const &  args) const
inlineconstexprnoexcept

Definition at line 131 of file integral.hpp.

References limes::expr::ConstBound< T >::eval().

◆ to_string()

template<typename T >
std::string limes::expr::ConstBound< T >::to_string ( ) const
inline

Definition at line 135 of file integral.hpp.

References limes::expr::ConstBound< T >::value.

Member Data Documentation

◆ value

template<typename T >
T limes::expr::ConstBound< T >::value

The documentation for this struct was generated from the following files: