Commit Graph

9119 Commits

Author SHA1 Message Date
É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
Émilie Feral
503e07fe5a [apps/sequence] Fix SequenceStore: sequences are not memoized but all
kept in the store (because we need all of them to evaluate one
sequence). setMemoizedModelAtIndex now store u, v and w sequences in
this order to avoid requiring expiring pointers.
2019-08-13 09:44:00 +02:00
Émilie Feral
cbe6d312d4 [escher] Add a comment for future improvement on TextField 2019-08-13 09:44:00 +02:00
Émilie Feral
8b41e8af73 [apps/shared] SimpleInteractiveCurveViewController does not need to
reload the text from models in textFieldDidAbortEditing. This is handled once for all in
textfield handleEvent
2019-08-13 09:44:00 +02:00
Émilie Feral
a2059432bd [apps/shared] SumGraphController keeps 2 text buffers for its editable
zone (to be able to abort editing and find back the previous text)
2019-08-13 09:44:00 +02:00
Émilie Feral
fc84b15214 [apps/shared] XYBannerView: enable a large draft text buffer to edit
long abscissa ("1+2+3+...") even if the non-edited text buffer is short
(it keeps a float that size is capped)
2019-08-13 09:44:00 +02:00
Émilie Feral
011142427a [esher] TextField: fix issues:
- when textFieldDidFinishEditing failed ("1+ln(-2)" in a scalar
entry for instance), the previous text was modified even if edition aborted
- The draft buffer was not reinitialized when overriding the draft text
buffer with a text event
2019-08-13 09:44:00 +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
70e3bcd8c1 [poincare/test] Fix print_float test 2019-08-12 10:51:42 +02:00
Léa Saviot
7c9e253506 [poincare] Factorize and clean some Engineering notation methods 2019-08-12 10:51:20 +02:00
Léa Saviot
d22f83c64d [scripts/defaults] -O0 insteage of -0g for DEBUG
Otherwise, we cannot debug properly on simulator/blackbox (missing
symbols)
2019-08-12 10:41:34 +02:00
Léa Saviot
7b8f827f5a [poincare/print_float] No float truncation over numberOfSignDigits 2019-08-09 18:05:57 +02:00
Léa Saviot
56adbaf06e [apps/settings] Engineering mode translation 2019-08-09 17:22:42 +02:00
Léa Saviot
5c6097f647 [apps/settings] Fix the examples for the result format 2019-08-09 17:16:22 +02:00
Léa Saviot
dced33ab24 [poincare/print_float] Add TODO 2019-08-09 15:01:31 +02:00
Léa Saviot
03ef031782 [apps/calc] Fix subview color
Scenario: Enter 0.1, go up twice, the result "0.1" stays grey
2019-08-09 14:34:35 +02:00
Léa Saviot
25b95a59d7 [apps/calc] Fix displayed input when typing 0.1 in Engineering mode 2019-08-09 13:26:01 +02:00
Léa Saviot
7e0e598113 [poincare/print_float] More engineering notation tests 2019-08-09 13:26:01 +02:00
Léa Saviot
52d1a78c41 [poincare/decimal] Engineering notation tests 2019-08-09 13:26:01 +02:00
Léa Saviot
8a6c6a86f0 [poincare/decimal] Engineering notation 2019-08-09 13:26:01 +02:00