added exponential into predefined functions
This commit is contained in:
@@ -55,6 +55,10 @@ std::function<double(double)> Product(
|
||||
return product;
|
||||
};
|
||||
}
|
||||
|
||||
std::function<double(double)> Exponential(double prefactor, double scale) {
|
||||
return [=](double x) { return prefactor * std::exp(scale * x); };
|
||||
}
|
||||
}; // namespace D1ToD1
|
||||
|
||||
namespace D3ToD1 {
|
||||
|
||||
Reference in New Issue
Block a user