mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[apps/probability] Remove TODOs
This commit is contained in:
@@ -47,7 +47,7 @@ double IncompleteBetaFunction(double a, double b, double x) {
|
||||
/*Use Lentz's algorithm to evaluate the continued fraction.*/
|
||||
double f = 1.0, c = 1.0, d = 0.0;
|
||||
|
||||
//TODO LEA: Use Helper::ContinuedFractionEvaluation
|
||||
//TODO Use Helper::ContinuedFractionEvaluation
|
||||
int i, m;
|
||||
for (i = 0; i <= 200; ++i) {
|
||||
m = i/2;
|
||||
|
||||
@@ -8,9 +8,6 @@ namespace Probability {
|
||||
|
||||
class StudentDistribution : public OneParameterDistribution {
|
||||
public:
|
||||
static constexpr int k_maxHypergeometricFunctionIterations = 1000; // TODO LEA factorize with Chi Squared
|
||||
static constexpr double k_hypergeometricFunctionPrecision = DBL_EPSILON;
|
||||
|
||||
StudentDistribution() : OneParameterDistribution(1.0f) {}
|
||||
I18n::Message title() override { return I18n::Message::StudentDistribution; }
|
||||
Type type() const override { return Type::Student; }
|
||||
|
||||
Reference in New Issue
Block a user