Blame view

build3/apps/probability/law/two_parameter_law.h 447 Bytes
6663b6c9   adorian   projet complet av...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
  #ifndef PROBABILITE_TWO_PARAMETER_LAW_H
  #define PROBABILITE_TWO_PARAMETER_LAW_H
  
  #include "law.h"
  
  namespace Probability {
  
  class TwoParameterLaw : public Law {
  public:
    TwoParameterLaw(float parameterValue1, float parameterValue2);
    int numberOfParameter() override;
    float parameterValueAtIndex(int index) override;
    void setParameterAtIndex(float f, int index) override;
  protected:
    float m_parameter1;
    float m_parameter2;
  };
  
  }
  
  #endif