FuncSketch
Loading...
Searching...
No Matches
func_sketch::math::MathFunctionType Concept Reference

Concept of mathematical function types. More...

#include <func_sketch/math/math_function_type.h>

Concept definition

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,
Number& result) {
{ function_object(args, result) } -> std::same_as<void>;
};
}
std::variant< Integer, Real, Complex > Number
Type of numbers.
Concept of mathematical function types.

Detailed Description

Concept of mathematical function types.

Template Parameters
TType of the function object.

Definition at line 36 of file math_function_type.h.