numerical-collection-cpp 0.10.0
A collection of algorithms in numerical analysis implemented in C++
Loading...
Searching...
No Matches
num_collect::ode::concepts::formula Concept Reference

Concept of formulas. More...

#include <num_collect/ode/concepts/formula.h>

Concept definition

template<typename T>
concept num_collect::ode::concepts::formula = requires(T& obj, const T& const_obj) {
typename T::problem_type;
typename T::variable_type;
typename T::scalar_type;
requires std::is_same_v<typename T::variable_type,
typename T::problem_type::variable_type>;
requires std::is_same_v<typename T::scalar_type,
typename T::problem_type::scalar_type>;
{ T(std::declval<typename T::problem_type>()) };
{
obj.step(std::declval<typename T::scalar_type>() ,
std::declval<typename T::scalar_type>() ,
std::declval<typename T::variable_type>() ,
std::declval<typename T::variable_type&>() )
};
{ obj.problem() } -> base::concepts::reference_of<typename T::problem_type>;
{
const_obj.problem()
} -> base::concepts::const_reference_of<typename T::problem_type>;
}
Concept of problems of ordinary differential equations.
Definition problem.h:35

Detailed Description

Concept of formulas.

Template Parameters
TType.

Definition at line 40 of file formula.h.