mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-29 19:49:58 +02:00
22 lines
447 B
C++
22 lines
447 B
C++
#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
|