Numworks Epsilon  1.4.1
Graphing Calculator Operating System
two_parameter_law.h
Go to the documentation of this file.
1 #ifndef PROBABILITE_TWO_PARAMETER_LAW_H
2 #define PROBABILITE_TWO_PARAMETER_LAW_H
3 
4 #include "law.h"
5 
6 namespace Probability {
7 
8 class TwoParameterLaw : public Law {
9 public:
10  TwoParameterLaw(float parameterValue1, float parameterValue2);
11  int numberOfParameter() override;
12  float parameterValueAtIndex(int index) override;
13  void setParameterAtIndex(float f, int index) override;
14 protected:
15  float m_parameter1;
16  float m_parameter2;
17 };
18 
19 }
20 
21 #endif
void setParameterAtIndex(float f, int index) override
TwoParameterLaw(float parameterValue1, float parameterValue2)
float parameterValueAtIndex(int index) override