13 return I18n::Message::BinomialLaw;
25 assert(index >= 0 && index < 2);
29 return I18n::Message::P;
34 assert(index >= 0 && index < 2);
36 return I18n::Message::RepetitionNumber;
38 return I18n::Message::SuccessProbability;
73 if (x != (
int)x || x < 0.0f || x > 999.0f) {
78 if (x < 0.0f || x > 1.0f) {
88 if (*probability >= 1.0) {
98 if (*probability <= 0.0) {
bool authorizedValueAtIndex(float x, int index) const override
I18n::Message parameterNameAtIndex(int index) override
static constexpr float k_displayBottomMarginRatio
I18n::Message parameterDefinitionAtIndex(int index) override
I18n::Message title() override
virtual double rightIntegralInverseForProbability(double *probability)
virtual double cumulativeDistributiveInverseForProbability(double *probability)
static constexpr float k_displayTopMarginRatio
double rightIntegralInverseForProbability(double *probability) override
double cumulativeDistributiveInverseForProbability(double *probability) override
Type type() const override
T templatedApproximateAtAbscissa(T x) const
static constexpr float k_displayRightMarginRatio
static constexpr float k_displayLeftMarginRatio
bool isContinuous() const override
float evaluateAtAbscissa(float x) const override