29namespace func_sketch::math {
34 "sinh", [](
Real arg) {
return std::sinh(arg); }));
40 "cosh", [](
Real arg) {
return std::cosh(arg); }));
46 "tanh", [](
Real arg) {
return std::tanh(arg); }));
52 "asinh", [](
Real arg) {
return std::asinh(arg); }));
58 "acosh", [](
Real arg) {
return std::acosh(arg); }));
64 "atanh", [](
Real arg) {
return std::atanh(arg); }));
Definition of AcceptableTypes struct.
Class of mathematical functions.
Definitions of common types.
double Real
Type of real numbers in this project.
Definition of GeneralMathFunction class.
auto make_general_math_function(std::string name, FunctionType &&function)
Make a general mathematical function.
Declaration of functions to create hyperbolic functions.
MathFunction acosh_function()
Create acosh function.
MathFunction cosh_function()
Create cosh function.
MathFunction asinh_function()
Create asinh function.
MathFunction sinh_function()
Create sinh function.
MathFunction atanh_function()
Create atanh function.
MathFunction tanh_function()
Create tanh function.
Definition of MathFunction class.
Traits struct to handle acceptable number types.