26 #ifndef MERCURYDPM_MATH_HELPERS_H
27 #define MERCURYDPM_MATH_HELPERS_H
double Mdouble
Definition: GeneralDefine.h:34
Definition: CommandLineHelpers.h:32
std::vector< Mdouble > linspace(Mdouble a, Mdouble b, int N)
creates a 1D linear space partition
Definition: MathHelpers.cc:34
Mdouble round(Mdouble value, unsigned int precision)
rounds a floating point number with a given precision
Definition: MathHelpers.cc:28