29namespace func_sketch::math {
34 "erf", [](
Real arg) {
return std::erf(arg); }));
40 "erfc", [](
Real arg) {
return std::erfc(arg); }));
Definition of AcceptableTypes struct.
Class of mathematical functions.
Definitions of common types.
double Real
Type of real numbers in this project.
Declaration of functions to create error functions.
MathFunction erfc_function()
Create erfc function.
MathFunction erf_function()
Create erf function.
Definition of GeneralMathFunction class.
auto make_general_math_function(std::string name, FunctionType &&function)
Make a general mathematical function.
Definition of MathFunction class.
Traits struct to handle acceptable number types.