Numworks Epsilon  1.4.1
Graphing Calculator Operating System
Probability::PoissonLaw Class Reference

#include <poisson_law.h>

Inheritance diagram for Probability::PoissonLaw:
Probability::OneParameterLaw Probability::Law Shared::CurveViewRange

Public Member Functions

 PoissonLaw ()
 
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
 
- Public Member Functions inherited from Probability::OneParameterLaw
 OneParameterLaw (float parameterValue)
 
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
 
virtual double cumulativeDistributiveInverseForProbability (double *probability)
 
virtual double rightIntegralInverseForProbability (double *probability)
 
- Public Member Functions inherited from Shared::CurveViewRange
virtual uint32_t rangeChecksum ()
 
virtual float yGridUnit ()
 
float computeGridUnit (Axis axis, float min, float max)
 

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::OneParameterLaw
float m_parameter1
 
- 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
 

Detailed Description

Definition at line 8 of file poisson_law.h.

Constructor & Destructor Documentation

◆ PoissonLaw()

Probability::PoissonLaw::PoissonLaw ( )

Definition at line 8 of file poisson_law.cpp.

Member Function Documentation

◆ authorizedValueAtIndex()

bool Probability::PoissonLaw::authorizedValueAtIndex ( float  x,
int  index 
) const
overridevirtual

Implements Probability::Law.

Definition at line 58 of file poisson_law.cpp.

◆ evaluateAtAbscissa()

float Probability::PoissonLaw::evaluateAtAbscissa ( float  x) const
inlineoverridevirtual

Implements Probability::Law.

Definition at line 20 of file poisson_law.h.

◆ isContinuous()

bool Probability::PoissonLaw::isContinuous ( ) const
overridevirtual

Implements Probability::Law.

Definition at line 21 of file poisson_law.cpp.

◆ parameterDefinitionAtIndex()

I18n::Message Probability::PoissonLaw::parameterDefinitionAtIndex ( int  index)
overridevirtual

Implements Probability::Law.

Definition at line 30 of file poisson_law.cpp.

◆ parameterNameAtIndex()

I18n::Message Probability::PoissonLaw::parameterNameAtIndex ( int  index)
overridevirtual

Implements Probability::Law.

Definition at line 25 of file poisson_law.cpp.

◆ title()

I18n::Message Probability::PoissonLaw::title ( )
overridevirtual

Implements Probability::Law.

Definition at line 13 of file poisson_law.cpp.

◆ type()

Law::Type Probability::PoissonLaw::type ( ) const
overridevirtual

Implements Probability::Law.

Definition at line 17 of file poisson_law.cpp.

◆ xMax()

float Probability::PoissonLaw::xMax ( )
overridevirtual

Implements Shared::CurveViewRange.

Definition at line 39 of file poisson_law.cpp.

◆ xMin()

float Probability::PoissonLaw::xMin ( )
overridevirtual

Implements Shared::CurveViewRange.

Definition at line 35 of file poisson_law.cpp.

◆ yMax()

float Probability::PoissonLaw::yMax ( )
overridevirtual

Implements Shared::CurveViewRange.

Definition at line 48 of file poisson_law.cpp.

◆ yMin()

float Probability::PoissonLaw::yMin ( )
overridevirtual

Implements Shared::CurveViewRange.

Definition at line 44 of file poisson_law.cpp.


The documentation for this class was generated from the following files: