29namespace func_sketch::math {
34 "exp", [](
Real arg) {
return std::exp(arg); }));
40 "exp2", [](
Real arg) {
return std::exp2(arg); }));
46 "expm1", [](
Real arg) {
return std::expm1(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 exponential functions.
MathFunction exp_function()
Create exp function.
MathFunction expm1_function()
Create expm1 function.
MathFunction exp2_function()
Create exp2 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.