mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-22 15:20:39 +01:00
27 lines
648 B
C++
27 lines
648 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 {};
|
|
Type type() 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
|