Concept of mathematical function types.
More...
#include <func_sketch/math/math_function_type.h>
template<typename T>
requires requires(const T& function_object) {
{ function_object.name() } -> std::convertible_to<std::string_view>;
};
requires requires(const T& function_object, const std::vector<Number>& args,
{ function_object(args, result) } -> std::same_as<void>;
};
}
std::variant< Integer, Real, Complex > Number
Type of numbers.
Concept of mathematical function types.
Concept of mathematical function types.
- Template Parameters
-
| T | Type of the function object. |
Definition at line 36 of file math_function_type.h.