|
Numworks Epsilon
1.4.1
Graphing Calculator Operating System
|
#include <binomial_law.h>
Public Member Functions | |
| BinomialLaw () | |
| I18n::Message | title () override |
| Type | type () const override |
| bool | isContinuous () const override |
| float | xMin () override |
| float | yMin () override |
| float | xMax () override |
| float | yMax () override |
| I18n::Message | parameterNameAtIndex (int index) override |
| I18n::Message | parameterDefinitionAtIndex (int index) override |
| float | evaluateAtAbscissa (float x) const override |
| bool | authorizedValueAtIndex (float x, int index) const override |
| double | cumulativeDistributiveInverseForProbability (double *probability) override |
| double | rightIntegralInverseForProbability (double *probability) override |
Public Member Functions inherited from Probability::TwoParameterLaw | |
| TwoParameterLaw (float parameterValue1, float parameterValue2) | |
| int | numberOfParameter () override |
| float | parameterValueAtIndex (int index) override |
| void | setParameterAtIndex (float f, int index) override |
Public Member Functions inherited from Probability::Law | |
| Law () | |
| virtual | ~Law ()=default |
| float | xGridUnit () override |
| virtual double | cumulativeDistributiveFunctionAtAbscissa (double x) const |
| double | rightIntegralFromAbscissa (double x) const |
| double | finiteIntegralBetweenAbscissas (double a, double b) const |
Public Member Functions inherited from Shared::CurveViewRange | |
| virtual uint32_t | rangeChecksum () |
| virtual float | yGridUnit () |
| float | computeGridUnit (Axis axis, float min, float max) |
Protected Member Functions | |
| double | evaluateAtDiscreteAbscissa (int k) const override |
| template<typename T > | |
| T | templatedApproximateAtAbscissa (T x) const |
Additional Inherited Members | |
Public Types inherited from Probability::Law | |
| enum | Type : uint8_t { Type::Binomial, Type::Uniform, Type::Exponential, Type::Normal, Type::Poisson } |
Public Types inherited from Shared::CurveViewRange | |
| enum | Axis { Axis::X, Axis::Y } |
Static Public Attributes inherited from Probability::Law | |
| static constexpr int | k_maxNumberOfOperations = 1000000 |
Static Public Attributes inherited from Shared::CurveViewRange | |
| static constexpr float | k_maxNumberOfXGridUnits = 18.0f |
| static constexpr float | k_maxNumberOfYGridUnits = 13.0f |
Protected Attributes inherited from Probability::TwoParameterLaw | |
| float | m_parameter1 |
| float | m_parameter2 |
Static Protected Attributes inherited from Probability::Law | |
| static constexpr double | k_maxProbability = 0.9999995 |
| static constexpr float | k_displayTopMarginRatio = 0.05f |
| static constexpr float | k_displayBottomMarginRatio = 0.2f |
| static constexpr float | k_displayLeftMarginRatio = 0.05f |
| static constexpr float | k_displayRightMarginRatio = 0.05f |
Definition at line 8 of file binomial_law.h.
| Probability::BinomialLaw::BinomialLaw | ( | ) |
Definition at line 7 of file binomial_law.cpp.
|
overridevirtual |
Implements Probability::Law.
Definition at line 71 of file binomial_law.cpp.
|
overridevirtual |
Reimplemented from Probability::Law.
Definition at line 84 of file binomial_law.cpp.
|
inlineoverridevirtual |
Implements Probability::Law.
Definition at line 20 of file binomial_law.h.
|
inlineoverrideprotectedvirtual |
Reimplemented from Probability::Law.
Definition at line 27 of file binomial_law.h.
|
overridevirtual |
Implements Probability::Law.
Definition at line 20 of file binomial_law.cpp.
|
overridevirtual |
Implements Probability::Law.
Definition at line 33 of file binomial_law.cpp.
|
overridevirtual |
Implements Probability::Law.
Definition at line 24 of file binomial_law.cpp.
|
overridevirtual |
Reimplemented from Probability::Law.
Definition at line 94 of file binomial_law.cpp.
|
protected |
Definition at line 105 of file binomial_law.cpp.
|
overridevirtual |
Implements Probability::Law.
Definition at line 12 of file binomial_law.cpp.
|
overridevirtual |
Implements Probability::Law.
Definition at line 16 of file binomial_law.cpp.
|
overridevirtual |
Implements Shared::CurveViewRange.
Definition at line 48 of file binomial_law.cpp.
|
overridevirtual |
Implements Shared::CurveViewRange.
Definition at line 42 of file binomial_law.cpp.
|
overridevirtual |
Implements Shared::CurveViewRange.
Definition at line 61 of file binomial_law.cpp.
|
overridevirtual |
Implements Shared::CurveViewRange.
Definition at line 57 of file binomial_law.cpp.