Numworks Epsilon  1.4.1
Graphing Calculator Operating System
discrete_calculation.h
Go to the documentation of this file.
1 #ifndef PROBABILITE_DISCRETE_CALCULATION_H
2 #define PROBABILITE_DISCRETE_CALCULATION_H
3 
4 #include "calculation.h"
5 
6 namespace Probability {
7 
9 public:
11  Type type() override;
12  int numberOfParameters() override;
13  int numberOfEditableParameters() override;
14  I18n::Message legendForParameterAtIndex(int index) override;
15  void setParameterAtIndex(double f, int index) override;
16  double parameterAtIndex(int index) override;
17  double lowerBound() override;
18  double upperBound() override;
19 private:
20  void compute(int indexKnownElement) override;
21  double m_abscissa;
22  double m_result;
23 };
24 
25 }
26 
27 #endif
double parameterAtIndex(int index) override
I18n::Message legendForParameterAtIndex(int index) override
void setParameterAtIndex(double f, int index) override