20 std::vector<double> result(values.size());
23 for (
size_t i = 0; i < values.size(); i++) {
24 result[i] = -std::log(values[i] / background);
52 std::vector<double> result(values.size());
54 for (
size_t i = 0; i < values.size(); i++) {
58 result[i] = values[i];
#define UNUSED_ARG(x)
Function arguments are sometimes unused in certain implmentations but are required for documentation ...
std::vector< double > secondDerivative(const std::vector< double > &values, double background) override
Returns the second derivative at a given point.
std::vector< double > correctValues(const std::vector< double > &values, double newValue) override
Corrects a negative value.
std::vector< double > derivative(const std::vector< double > &values, double background) override
Returns the first derivative at a given point.