Files
Upsilon/apps/probability/calculation/left_integral_calculation.h
Émilie Feral 30d9a1e227 [apps/probability] Correct error: confusion between left and right
integrals

Change-Id: Ic1fe49701ec37fffb2bd09f83b2e65a50a03e2a6
2017-01-09 15:08:54 +01:00

26 lines
624 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();
~LeftIntegralCalculation() override {};
int numberOfParameters() override;
const char * legendForParameterAtIndex(int index) override;
void setParameterAtIndex(float f, int index) override;
float parameterAtIndex(int index) override;
float upperBound() override;
private:
void compute(int indexKnownElement) override;
float m_upperBound;
float m_result;
};
}
#endif