Léa Saviot
c0ecff07fc
[poincare/addition] Fix simplification with symbols
2019-08-20 16:14:38 +02:00
Léa Saviot
0556d10e7b
[apps/calculation] Test about integral with symbols
2019-08-20 16:14:27 +02:00
Léa Saviot
fe0904cd8c
[poincare/matrix_id] If child not rational, return this in shallowRed
...
Example: matrix_identity(cosh(0))
2019-08-20 11:52:20 +02:00
Léa Saviot
0c28796e85
[poincare/matrix_identity] undef if negative dimension
2019-08-20 11:52:20 +02:00
Émilie Feral
42bb1440e3
[apps/calculation] Inputs involving 'frac' display only the approximate
...
output
2019-08-20 11:51:37 +02:00
Émilie Feral
15696d3237
[poincare] Improve shallowReduce of Ceiling and Floor to be exact most
...
of the time
2019-08-20 11:51:37 +02:00
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
Émilie Feral
88910e4e79
[poincare] PrintFloat: remove old assertion
...
The assertion was true when we used a temporary buffer big enough to
hold longest floats to print inside (before copying its -maybe
truncated- content in the final buffer)
2019-08-19 17:14:40 +02:00
Émilie Feral
af31ba6137
[apps/shared] CurveView::computeLabels: fix confusion between size and
...
length
2019-08-19 17:13:50 +02:00
Émilie Feral
1cc09de9ae
[apps/calculation] Invalid calculation height memoization when leaving
...
the app.
Fix wrong memoization: in calculation app input '[[1+i, 2][3,4]]', change
the complex format to Polar, go back to the calculation app --> the
calculation height was no recomputed despite the fact that the approximation
output changed.
2019-08-19 09:59:01 +02:00
Émilie Feral
05972099fe
[apps/shared] Fix char array initialization
2019-08-16 17:24:04 +02:00
Émilie Feral
f6ddc005b6
[poincare] Remove wrong assert and comment
2019-08-16 16:45:37 +02:00
Émilie Feral
fbbc11cf33
[poincare] Fix childNeedsUserParentheses with Conjugate expressions
2019-08-16 16:16:53 +02:00
Émilie Feral
64ddd6b622
[poincare] MatrixIdentity: fix shallowReduce (identity(-2) = undef)
2019-08-16 14:22:04 +02:00
Émilie Feral
19e271d81f
[poincare] Expression simplification: respect required complex format
...
inside matrix entries
2019-08-16 11:01:58 +02:00
Émilie Feral
814598e7c4
[scripts] elf2dfu for device: add commented code for padding binary
...
files
2019-08-16 11:01:58 +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
Émilie Feral
19c0037a31
[poincare] Add comments on Expression methods
2019-08-14 09:38:28 +02:00
Émilie Feral
6c203a545a
[poincare] Fix Expression::isReal method with Matrix reducing
2019-08-14 09:38:28 +02:00
Émilie Feral
eb0f6153c5
[poincare] When reducing expressions, we check if an expression is a
...
matrix to know if it can be permuted in a multiplication for example.
This check has to be 'recursive'/'deep' to detect cases like "cos(3×confidence(cos(2)/25,3))"
2019-08-14 09:38:27 +02:00
Émilie Feral
4d5e4b75af
[poincare] Remove useless file
2019-08-14 09:38:27 +02:00
Émilie Feral
adb1a09638
[poincare] MatrixDimension: fix shallowReduce (missing
...
replaceWithInPlace)
2019-08-14 09:38:27 +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
52d67024bf
[poincare] Brent algorithms in solver.cpp
2019-08-13 18:00:15 +02:00
Léa Saviot
1e483d60ce
[poincare] Coordinate2D out of the Expression class
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