Gabriel Ozouf
d5ce234d4d
[probability] Align snapshot buffers
...
char buffers m_distribution and m_calculation had too weak an alignment,
causing a crash when starting the web simulator.
Change-Id: Ibfd3c2582bc4de97beb4d6cc51b9fb86300edb5e
2020-11-04 15:33:00 +01:00
Arthur Camouseigt
3dca515441
[VariableBox] Added sequences to the variable box
...
It is now possible to call the value of a defined sequence anywhere.
Change-Id: I1990e93c50f9add175b7ea274e07004ba63289e5
2020-11-04 15:32:58 +01:00
Hugo Saint-Vignes
e27c668c40
[apps,escher,kandinsky,poincare,python] Replace every "grey" with "gray"
...
Change-Id: I60a232849dce90f70e6977b6024d6e9b1ce1b731
2020-11-04 15:07:20 +01:00
Arthur Camouseigt
018dd91ca1
[Probability] Changed distribution parameter's type to double
...
Plots are still rendered in float but computations are now in double
Change-Id: I7e0a38effb780861b1443ee92a097cd319de3bc8
2020-11-04 14:45:35 +01:00
Léa Saviot
e8d97f561c
[apps/proba] Fix tests
2020-06-04 14:50:08 +02:00
Léa Saviot
9b2f91f5e1
[apps/probability] Geometric distribution default computed value is 1
2020-06-04 14:50:07 +02:00
Léa Saviot
a9c47a9468
[apps/probability] Change geometric distribution definition
...
THe distribution now represents the number of trials neded before a
success, so is defined for k in {1, 2, 3, ...}
2020-06-04 14:50:07 +02:00
Léa Saviot
d200688f20
[apps/proba] Geometric distibution should return 0, not nan for x < 0
2020-06-04 14:50:07 +02:00
Léa Saviot
503227b49b
[apps/proba] Fix float/integer comparison
2020-06-04 14:50:07 +02:00
Léa Saviot
e803ada15f
[apps/Makefiles] Automatize i18n adding for different locales
2020-06-04 14:50:02 +02:00
Roberta Rabotti
549f537ff6
[it] Add i18n files to Makefiles
2020-06-04 14:50:02 +02:00
Roberta Rabotti
3ef28ec155
[it] new translation files
2020-06-04 14:50:02 +02:00
Serenela Moreira
d0a9dabd64
[pt] changed details in home and probabilities
2020-06-04 14:50:02 +02:00
Jorick Alberga
07f924bed6
[nl] Translation Functions app And other translation
...
In file: epsilon/apps/graph/base.nl.i18n some text would look better if placed slightly to the left. I'm talking about lines 23 and 24: SelectLowerBound and SelectUpperBound
2020-06-04 14:50:01 +02:00
Jorick Alberga
8a37096680
[nl] Start translation
2020-06-04 14:50:01 +02:00
Émilie Feral
2d0d4a3a8d
[apps] Fix misc errors in German translation
2020-04-27 15:29:05 +02:00
maximilianwalter
de7aaeb188
Update base.de.i18n
2020-04-21 06:45:17 -07:00
Émilie Feral
675a0d3f4c
Add missing definition of static member variables
2020-04-15 10:34:00 -04:00
Romain Goyet
84768472bd
Explicit std::min/max template usage
...
This is unfortunately required in several cases:
- Sometimes when we use either float and double (this should be changed)
- Because KDCoordinate is not an int, so any arithmemtic promotes it to
an int
- Because we mix pointer differences and ints
2020-04-14 09:31:02 -04:00
Romain Goyet
950862f8d0
Use std::min and std::max
2020-04-14 09:31:02 -04:00
Neven Sajko
c0c73accef
[probability] Prevent soft-float in StudentDistribution::lnCoefficient
2020-04-09 13:58:56 +02:00
Neven Sajko
c92b770112
Performance fixes relating to floating point constants
...
This replaces unnecessary double-precision soft-float operations with
single-precision floating-point operations, mainly by casting.
In a couple places I also replace a function call with a constant.
2020-04-09 13:58:56 +02:00
Aleks ANDRÉ
e399472577
Anglicismes
2020-04-07 13:46:11 +02:00
Romain Goyet
ada205b1a7
[build] Use variants
...
- Move helpers functions into build/helpers.mak
- Move official warning into official targets only
2020-04-03 22:26:55 -04:00
Léa Saviot
e828491171
[apps/probability] Test on finite integral computations
2020-03-16 11:40:40 +01:00
Léa Saviot
29b4c75227
[apps/probability] Assert discrete distributions override evaluation
2020-03-16 11:40:40 +01:00
Léa Saviot
5c70fdc7a6
[apps/probability] Handle a == b case in finite integral computation
...
For non continuous distributions, P(a <= X <= a) is not necessarily
null.
2020-03-16 11:40:40 +01:00
Romain Goyet
5dee4a8166
[apps] Add screen telemetry identification
2020-02-17 10:31:24 -05:00
Romain Goyet
7f43b73049
[apps] Don't forget to call viewWillAppear
...
At the moment ViewController::viewWillAppear doesn't do anything, so
there is no real impact. But if we want to use it it needs to be called
from subclasses.
2020-02-17 10:31:24 -05:00
Émilie Feral
72ef9d5fd7
[apps/probability] Clean Makefile
2020-02-12 15:13:26 +01:00
Léa Saviot
eff0a26835
[apps/probability] Clean distribution_controller
...
Cleaner .cpp and fix the number of cells
2020-02-12 15:13:24 +01:00
Léa Saviot
155d2a4758
[apps/probability] Remove unneeded parameter
2020-02-12 15:13:21 +01:00
Léa Saviot
0260e2ffb4
[apps/proba] Fisher distribution authorized parameter values
2020-02-12 15:13:21 +01:00
Léa Saviot
8c801392a5
[apps/proba] Fisher distribution zoom values
2020-02-12 15:13:21 +01:00
Léa Saviot
09a2d554d1
[apps/probability] Fisher tests
2020-02-12 15:13:21 +01:00
Léa Saviot
55a4e3d94c
[apps/proba] Implement Fisher formulae
2020-02-12 15:13:21 +01:00
Léa Saviot
93c96186c4
[apps/probability] Initial Fisher distribution
2020-02-12 15:13:21 +01:00
Léa Saviot
08cdf5a8d2
[apps/probability/i18n] Put some definitions in universal
2020-02-12 15:13:21 +01:00
Émilie Feral
dfd4811136
[apps/shared] CurveView: change API to expose 'drawLabel' and
...
'drawLabelsAndGraduations'
2020-02-12 15:13:20 +01:00
Émilie Feral
b47ded4074
[apps/calculation] Add a parameter in Shared::CurveView to choose the
...
curve thickness
2020-02-12 15:13:20 +01:00
Léa Saviot
9f018eb9d9
[escher/view] setFrame and layoutSubviews can be forced
2020-02-12 15:13:15 +01:00
Émilie Feral
4d593a6149
[poincare] PrintFloat: take into account the distinction between char
...
and glyph length in ConvertFloatToText
2019-09-26 11:26:48 +02:00
Léa Saviot
c768c15826
[apps/proba] Fix Normal distribution undercurve colouring
...
Reverts 01d2db1342
2019-09-25 11:14:29 +02:00
Léa Saviot
4caf9f5197
[coding style] Make some methods const
2019-09-09 20:05:14 +02:00
Léa Saviot
7406fcae98
[apps/proba] Fix Student distribution
2019-09-09 15:11:20 +02:00
Léa Saviot
29c3e3a206
[apps/distribution] remove falty assertion
2019-09-09 15:10:50 +02:00
Léa Saviot
aa45adb49a
[apps/proba] Handle infinite xMax in exponential distribution
2019-09-09 11:25:20 +02:00
Léa Saviot
dd97b23624
[apps/proba] k limit for Chi2 law
...
After the limit, P(X<k) returns undef
2019-09-06 10:40:59 +02:00
Léa Saviot
80f3c1fd0a
[apps/proba] Use DBL_EPSILON in cnditions
2019-09-06 10:23:32 +02:00
Léa Saviot
d9e49cb369
[apps/proba/dist] More laxist assert
2019-09-06 10:23:32 +02:00