Files
Upsilon/apps/probability/calculation/left_integral_calculation.h
Émilie Feral f0a776a670 [apps] Operations in double when precision required
Change-Id: I7168a861a76178f0bf81841e9378f7399f67914a
2017-08-17 09:31:53 +02:00

26 lines
612 B
C++

#ifndef PROBABILITE_LEFT_INTEGRAL_CALCULATION_H
#define PROBABILITE_LEFT_INTEGRAL_CALCULATION_H
#include "calculation.h"
namespace Probability {
class LeftIntegralCalculation : public Calculation {
public:
LeftIntegralCalculation();
Type type() override;
int numberOfParameters() override;
I18n::Message legendForParameterAtIndex(int index) override;
void setParameterAtIndex(double f, int index) override;
double parameterAtIndex(int index) override;
double upperBound() override;
private:
void compute(int indexKnownElement) override;
double m_upperBound;
double m_result;
};
}
#endif