Assumes x to be in [0, 1]
| 79 | |
| 80 | // Assumes x to be in [0, 1] |
| 81 | auto MapExponentially(double x) |
| 82 | { |
| 83 | return (std::exp(C * x) - 1) / (std::exp(C) - 1.); |
| 84 | } |
| 85 | |
| 86 | auto MapExponentially(double min, double max, double x) |
| 87 | { |
no test coverage detected