Commit Graph

75 Commits

Author SHA1 Message Date
Léa Saviot
48bccac8de [apps/probability] Clean class NormalLaw 2019-01-10 11:42:02 +01:00
Léa Saviot
f2310a8814 [apps] Change CurveViewRange::computeGridUnit parameters 2019-01-10 11:42:02 +01:00
Lionel Debroux
1a8c6b6ae9 [poincare, escher, ion, apps] Split the huge umbrella header poincare.h, to reduce build time.
This should be a NFC, but surprisingly, it also reduces size... so what does it change ?
2018-10-23 11:49:09 +02:00
Émilie Feral
4cbf0b86e9 [probability] Increase binomial n cap to 99999 2018-06-04 15:42:13 +02:00
Émilie Feral
84a78c8a9b [probability] Add comment for future improvement in Binomial law
computation
2018-05-23 10:14:21 +02:00
Émilie Feral
f2887e895d [probability] Increase the cap of parameters on binomial law 2018-05-23 10:14:21 +02:00
Émilie Feral
7f6d1f0e31 [probability] Fix evalution of the binomial density: some computation
were done in float instead of in double
2018-05-23 10:14:21 +02:00
Émilie Feral
963d2a57e3 [apps] Probability: special cases when inversing discrete law 2018-03-22 10:57:40 +01:00
Émilie Feral
cd93f827c1 [apps] Probability: improve precision of inverse normal probability
using erfInv
2018-01-04 15:48:06 +01:00
Émilie Feral
9506f22576 [apps] Probability: add erfInv function and tests 2018-01-04 15:48:06 +01:00
Émilie Feral
da319723a3 [apps] Probability: improve precision of normal law density 2018-01-04 15:48:06 +01:00
Émilie Feral
6ccabe2d3b [apps] Probability: fix bug: for discrete laws, when inversing
probability, round to the closest existing probability (instead of the
closest smaller)
2018-01-04 15:48:06 +01:00
Émilie Feral
6f7e1447ed [apps] Probability: display 7 significative numbers in calculation
results
2018-01-04 15:48:06 +01:00
Émilie Feral
b7a74c2c46 [apps] In Probability: fix bug when a = 0 and b = 1E-43 < FLT_EPSILON
Change-Id: Ib4fd405178fa0d7e8571f2da14e177fe67e3c96d
2017-12-05 12:10:10 +01:00
Émilie Feral
fda382cc0d [poincare] Change name: evaluate->approximate
Change-Id: I649a7c640190713dcf063a4148decd6038e62796
2017-11-24 13:31:44 +01:00
Jacob Young
da1e66e798 Fix #115 by fixing the math.h and cmath includes. 2017-10-13 18:08:15 +02:00
Émilie Feral
8c86b62df6 [apps/proba] Avoid hanging in normal law: forbid values <= MIN_FLOAT
Change-Id: Id6c7816e9b6726e4732b6eae5eb1a5b63d019196
2017-08-28 11:51:17 +02:00
Émilie Feral
3faf0b55b2 [apps/probability] Fix bug in poisson law
Change-Id: I9bfc59ab7a07eb2658081abbf44f3ff127d0218a
2017-08-25 11:20:49 +02:00
Émilie Feral
48c0cf2d8d [apps/probability] Fix bug in authorized parameters
Change-Id: I53cccb0995af7b4a6b066218185f35e96d4ae835
2017-08-24 14:05:24 +02:00
Émilie Feral
f0a776a670 [apps] Operations in double when precision required
Change-Id: I7168a861a76178f0bf81841e9378f7399f67914a
2017-08-17 09:31:53 +02:00
Émilie Feral
1964d61fdc [libaxx] add cmath and use cmath instead of math.h when required
Change-Id: Id839b17d33c69e2e002f370e553ff35246a1bc90
2017-08-16 09:55:29 +02:00
Émilie Feral
93baed09d4 [apps/probability] Fix edge case in uniform law
Change-Id: Ia98838ce742642d609d468d04be795afb464f1a6
2017-07-10 10:11:32 +02:00
Émilie Feral
539f295017 [apps/probability] Fix bug: window range when n = 0
Change-Id: I54e1235fe458264da0b65b3bb9f1d2967023c158
2017-06-02 14:07:56 +02:00
Émilie Feral
6c80ec0480 [apps] Rule of 5
Change-Id: Ib7b3fec6dbe3f9629e07464695ddd3b5611d8f83
2017-05-09 11:53:24 +02:00
Émilie Feral
eaa7c2c237 [apps:probability] In normal law, cap the ratio Mu/Sigma to avoid
computing issues

Change-Id: Ie960296a9764d5204ad128a07c84b77856e2b684
2017-04-26 14:26:43 +02:00
Émilie Feral
5bdd8a4e71 [apps/probability] Avoid too long loop in calculation
Change-Id: I33e60aa51aaff44b73bf0a810fdaf6369f653b19
2017-03-29 11:35:30 +02:00
Émilie Feral
fff1371133 [apps/probability] Clip parameters
Change-Id: Ifb966b97afb15b2e876c506aff097999d012ec17
2017-03-29 11:35:30 +02:00
Émilie Feral
adc80cd71b [apps][escher] I18n
Change-Id: I4d6f40155a8a182184af9ef2a583d0469196ffd5
2017-03-16 15:12:12 +01:00
Émilie Feral
276504e978 [apps/probability] Represent binomial law on [0,n]
Change-Id: Ide69a437e8f9d7a6e46f95689d6db24146d3b357
2017-03-07 15:03:11 +01:00
Émilie Feral
7e9464e66e [apps/proba] Resolve bug in probability calculation
Change-Id: I67e21f31dd0b6010efd876404f7cd304b4abdc19
2017-03-07 15:03:11 +01:00
Émilie Feral
9b2bc019e4 [apps/probability] Forbid impossible value in parameters and calculation
parameters

Change-Id: I47aae775dc031d5b78d6995ca63f49d537848cb1
2017-03-07 15:03:11 +01:00
Émilie Feral
761be1c8c7 [apps/probability] Comments to explain the 0.001 precision is proba
Change-Id: Id5618802f9a08967b2fa0d68b35ff2a4f0b5a116
2017-02-17 16:35:07 +01:00
Émilie Feral
23026b6718 [apps/shared] Namespace shared
Change-Id: I6dec7ce900bb4e801a25c567fe5e242cb744cf29
2017-02-13 17:15:06 +01:00
Émilie Feral
b06c54856f [apps\shared] Create a folder shared/
Change-Id: I94e4474ff5ab3bf9db7afd5b3be57b985755ecdf
2017-02-13 17:15:06 +01:00
Émilie Feral
7a2ec6ebfc [apps/prbability] Use special char for parameter names
Change-Id: I9c4c64021f6a2366a5f993f13d28dce194600132
2017-02-02 10:29:06 +01:00
Émilie Feral
93d272486f Clean warnings
Change-Id: I79a3a97c5c118c9d6e1436e51b45cb51fee3c21f
2017-01-30 15:30:58 +01:00
Émilie Feral
0c51270e19 [apps][poincare] Use special symbols when required
Change-Id: I376f15eb9e08fd26d34fffb6aa86d2097af4c2c4
2017-01-27 11:59:15 +01:00
Émilie Feral
c3008ca360 [apps] Improvements of MVC structure regarding curve views and ranges
Change-Id: Iec8031dbf349c34c18694dffabd02ef9c88ebf2d
2017-01-18 14:31:42 +01:00
Émilie Feral
c35d95bb83 [apps/probability] Handle all edge cases
Change-Id: Ic2fb06ef28498c3a9bfcd3acbce7458cde248403
2017-01-15 20:05:00 +01:00
Émilie Feral
affda5eae9 [apps] Modular reimplementation of application models (stores and
ranges) and of curve views/curve view controllers.

Change-Id: If4ca9bf1bec024917ef540a3fc7baefa8700f7ba
2017-01-10 13:35:19 +01:00
Émilie Feral
cc6e5f6685 [apps/probability] In binomial law, avoid double cast
Change-Id: I594f70110c1933a04ae4b4f6358821386898a037
2017-01-09 15:08:54 +01:00
Émilie Feral
fd8613ac7a [apps/statistics] Redesign data API with Romain
Change-Id: I666125ae85e04311806379a4ec2255c256f253f2
2017-01-09 15:08:53 +01:00
Émilie Feral
f00492fb59 [apps] Add a margin around the window when drawing curves
Change-Id: Iaf806c1f9e710dabc89f78b60d1c2985c9659012
2016-12-21 14:50:36 +01:00
Émilie Feral
0be1c43f72 [apps/probability] Make the model law inherit from curve view window
Change-Id: I2e2cf0c7a14cb1cb36c5b22c49b604d659d49bc6
2016-12-21 14:50:36 +01:00
Émilie Feral
7908042804 [apps/probability] Cap the number of operations
Change-Id: I1ceb3230b0de8c1ef9a171bba445aa44ce379363
2016-12-16 14:57:35 +01:00
Émilie Feral
5e0752ca2f [apps/probability] Handle edge case
Change-Id: Ib9c7be51073933013355c6bdc4fbc56e6526468f
2016-12-16 14:51:22 +01:00
Émilie Feral
24c23f761c [liba] add constant INFINITY
Change-Id: I801a23f5bb84bd86a4e93f6c24815737555ee8ce
2016-12-16 14:30:56 +01:00
Émilie Feral
c00ea95369 [apps/probability] Handle integral calculations
Change-Id: I53097126ba28aeddee0452ceeda42c998c0850cd
2016-12-16 12:58:45 +01:00
Émilie Feral
becf0603e1 [apps/probability] Display an error modal when the parameter is out of
the domain

Change-Id: I47ea5bbf4ac516d9cd876f546b606e3377c621f7
2016-12-15 16:20:13 +01:00
Émilie Feral
dbc9b3d567 [apps/probability] Improve law density window
Change-Id: I4f71b09062a2e6bc4123836e5d3af488b16da213
2016-12-15 16:20:13 +01:00