Numworks Epsilon
1.4.1
Graphing Calculator Operating System
|
#include <calculation.h>
Public Types | |
enum | Type : uint8_t { Type::LeftIntegral, Type::FiniteIntegral, Type::RightIntegral, Type::Discrete } |
Public Member Functions | |
Calculation () | |
virtual | ~Calculation ()=default |
virtual Type | type ()=0 |
void | setLaw (Law *law) |
virtual int | numberOfParameters ()=0 |
virtual int | numberOfEditableParameters () |
virtual I18n::Message | legendForParameterAtIndex (int index)=0 |
virtual void | setParameterAtIndex (double f, int index)=0 |
virtual double | parameterAtIndex (int index)=0 |
virtual double | lowerBound () |
virtual double | upperBound () |
Protected Member Functions | |
virtual void | compute (int indexKnownElement)=0 |
Protected Attributes | |
Law * | m_law |
Definition at line 8 of file calculation.h.
|
strong |
Enumerator | |
---|---|
LeftIntegral | |
FiniteIntegral | |
RightIntegral | |
Discrete |
Definition at line 10 of file calculation.h.
Probability::Calculation::Calculation | ( | ) |
Definition at line 7 of file calculation.cpp.
|
virtualdefault |
|
protectedpure virtual |
|
pure virtual |
|
virtual |
Reimplemented in Probability::DiscreteCalculation, Probability::FiniteIntegralCalculation, and Probability::RightIntegralCalculation.
Definition at line 21 of file calculation.cpp.
|
virtual |
Reimplemented in Probability::DiscreteCalculation, and Probability::FiniteIntegralCalculation.
Definition at line 17 of file calculation.cpp.
|
pure virtual |
|
pure virtual |
void Probability::Calculation::setLaw | ( | Law * | law | ) |
Definition at line 12 of file calculation.cpp.
|
pure virtual |
|
pure virtual |
|
virtual |
Reimplemented in Probability::DiscreteCalculation, Probability::FiniteIntegralCalculation, and Probability::LeftIntegralCalculation.
Definition at line 25 of file calculation.cpp.
|
protected |
Definition at line 29 of file calculation.h.