Commit Graph

350 Commits

Author SHA1 Message Date
Léa Saviot
eccdd2fb6f [apps/proba] Fix Student distribution root search bracket 2019-08-20 11:27:38 +02:00
Léa Saviot
fb6af6321f [apps/proba] Fix chi squared root search bracket for parameter < 2 2019-08-20 11:20:49 +02:00
Léa Saviot
be3b414cbc [apps/proba] Comment about geometric_distribution definition 2019-08-20 10:08:57 +02:00
Léa Saviot
6bc317df32 [app/proba] Comment about computation error 2019-08-20 10:08:57 +02:00
Léa Saviot
7ec6bea991 [apps/proba] More seamless computation
If the user computes P(x<a) which gives b, then presses OK on b, return
a.
This prevents some comutation errors such as for student distribution
with 0.05 degrees of freedom, P(x<9900000) then press ok on the result
2019-08-20 10:08:57 +02:00
Léa Saviot
56543e8886 [apps/proba] Fix Student cumulativeDistributiveInverseForProbability 2019-08-20 10:08:57 +02:00
Léa Saviot
b26cd6a4fd [apps/proba] Fix Chi2 inverse DCF interval computation 2019-08-20 10:08:57 +02:00
Léa Saviot
07e639aa80 [apps/proba] Fix cumulative inverse probability for Chi Squared 2019-08-20 10:08:57 +02:00
Léa Saviot
ef1e15e492 [apps/proba] Fix Chi Square law window 2019-08-14 17:57:00 +02:00
Léa Saviot
d48c6561cd [apps/proba] Geometric distribution 2019-08-14 17:57:00 +02:00
Léa Saviot
99f5861080 [apps/proba] Fix cumulDistInvForProbaUsingBrentRoots 2019-08-14 17:57:00 +02:00
Léa Saviot
d8f94ad61d [apps/proba] ChiSquared parameter is in N+ 2019-08-14 17:57:00 +02:00
Léa Saviot
53dfb5630e [apps/proba] Test the laws 2019-08-14 17:57:00 +02:00
Léa Saviot
52087515e6 [apps/proba] Test about hypergeometric function 2019-08-14 17:57:00 +02:00
Léa Saviot
a280207449 [apps/proba] Student cumulativeDistributiveInverseForProbability 2019-08-14 17:57:00 +02:00
Léa Saviot
ee8f2bc2df [apps/proba] Fix typo 2019-08-14 17:57:00 +02:00
Léa Saviot
4c342cd933 [apps/probability] Helper for contonued fractions and infinite series 2019-08-13 18:00:15 +02:00
Léa Saviot
ff347b955e [apps/proba] Share chiSquared cumDistInvForProb with Student 2019-08-13 18:00:15 +02:00
Léa Saviot
bfee68d10f [apps/proba] Fix precision in chi squared law
To pass the tests
2019-08-13 18:00:15 +02:00
Léa Saviot
6b25cd1712 [apps/probability] Add tests about regularized gamma algo 2019-08-13 18:00:15 +02:00
Léa Saviot
c0ac4fb6d0 [apps/proba] Use brent algorithm for chi-squred cumulDistInvForProba 2019-08-13 18:00:15 +02:00
Léa Saviot
ffb731c321 [apps/probability] Regularized gamma 2019-08-13 18:00:15 +02:00
Léa Saviot
0c8242d721 [apps/probability] Student and Chi2 icons 2019-08-13 18:00:15 +02:00
Léa Saviot
9ddf8d4843 [apps/proba] Fix Student and Chi2 parameter name and initialisation 2019-08-13 18:00:15 +02:00
Ruben Dashyan
4ede2aa751 [apps/probability/law_controller] Append the Student and chi-squared distributions 2019-08-13 18:00:15 +02:00
Ruben Dashyan
c7fb66983d [apps/probability/law_controller] Replace magic number 2019-08-13 18:00:15 +02:00
Ruben Dashyan
ddf9dc222b [apps/probability] Define the Student distribution 2019-08-13 18:00:15 +02:00
Ruben Dashyan
386ca7f1d6 [apps/probability] Define the chi-squared distribution 2019-08-13 18:00:15 +02:00
Émilie Feral
12060e2ae7 [escher] TextField: all text fields use the same draft text buffer 2019-08-13 09:44:00 +02:00
Léa Saviot
b0b10f184e [poincare/print_float] convertFloatToText -> ConvertFloatToText 2019-08-08 17:22:06 +02:00
Léa Saviot
e75701f0fa [apps] Clean convertFloatToText uses 2019-08-08 17:22:06 +02:00
Ruben Dashyan
d4afcfd9fd [apps/*_curve_view_range] Mark accessors const 2019-08-08 17:22:04 +02:00
Ruben Dashyan
771e0f7c0f [apps] Simplify Shared::CurveViewRange::x|yGridUnit() 2019-08-08 17:22:04 +02:00
Ruben Dashyan
ffee032e4c [apps/probability/law] Factor yMin() 2019-08-08 17:22:04 +02:00
Émilie Feral
c1cd0302b8 [poincare] Fix typo: explicite --> explicit, implicite --> implicit 2019-08-08 17:22:04 +02:00
Ruben Dashyan
3bf1d233f7 [apps/probability] Turn P(14<X) into P(X>14) 2019-08-08 17:22:03 +02:00
Ruben Dashyan
a1fa7d71dc [apps/probability] FiniteIntegralCalculation does not use RightIntegralFirstLegend 2019-08-08 17:22:03 +02:00
Ruben Dashyan
0329eb78cc [apps/probability/calculation] Remove unused method 2019-08-08 17:22:03 +02:00
Ruben Dashyan
162e547d9d [apps] Move some specific i18n to probability 2019-08-08 17:22:03 +02:00
Émilie Feral
869ab35c54 Makefile: build only necessary files for test target 2019-08-08 17:22:01 +02:00
Émilie Feral
059c596a80 Makefiles: avoid building all sources for each target; introduce more
modularity
2019-08-08 17:22:01 +02:00
Ruben Dashyan
9ab55e6a04 [apps/shared/curve_view] drawCurve does not call straightJoinDots anymore
Remove the "bool continuously" parameter of the method drawCurve that allowed
to bypass the call to jointDots and call straightJoinDots directly
instead.
2019-07-30 14:15:08 +02:00
Ruben Dashyan
01d2db1342 [apps/probability/law_curve_view] No need to convert from pixel to float back and forth 2019-07-30 14:15:08 +02:00
Ruben Dashyan
c22754fa63 [apps/shared/curve_view] Make curveViewRange() method const 2019-07-30 14:15:08 +02:00
Ruben Dashyan
eb6d697927 [apps] Make app accessors static members of App classes 2019-07-19 15:06:25 +02:00
Ruben Dashyan
44809f4b3f Substitute Escher app() by Container::activeApp() 2019-07-19 15:06:25 +02:00
Ruben Dashyan
3e992a3560 [apps] Replace app() by textFieldDelegateApp() in TextFieldDelegates 2019-07-19 15:06:25 +02:00
Ruben Dashyan
055d601854 [apps] Define TextFieldDelegate::textFieldDelegateApp() directly from ::app() 2019-07-19 15:06:25 +02:00
Ruben Dashyan
4111927bae [apps] Access *DelegateApp() through app() 2019-07-19 15:06:25 +02:00
Romain Goyet
21907fb89a [apps] Get rid of App casts 2019-07-19 15:06:25 +02:00