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
Émilie Feral
4052a047ba
[poincare] Add test about addMissingParentheses
2019-08-09 13:22:46 +02:00
Émilie Feral
f17051ec94
[poincare] Fix algorithmic mistake in addMissingParentheses
2019-08-09 13:15:22 +02:00
Émilie Feral
36648ee0d8
[poincare] PrintFloat: change name "k_maxFloatBufferLength" -->
...
"k_maxFloatBufferSize"
2019-08-09 12:04:33 +02:00
Émilie Feral
a2739e08cc
[apps/shared] FunctionGoToParameterController update the range version
...
of the graph controller to avoid reinitializing the cursor position when
graph controller view appears. Otherwise, goto controller would set the
cursor position, update the range consequently and then the graph
controller would reinitialize the cursor position.
2019-08-09 10:27:31 +02:00
Léa Saviot
5fac7a8cd2
[apps/code] Fix typo
2019-08-08 17:29:10 +02:00
Léa Saviot
565f017494
[poincare/print_float] Fix PrintFloat and its tests
2019-08-08 17:29:10 +02:00
Léa Saviot
1f801f9058
[poincare/preferences] m_numberOfSignificantDigits is a uint8_t
...
Clearer than a char
2019-08-08 17:22:06 +02:00
Léa Saviot
93050b539e
[poincare/print_float] Tests
2019-08-08 17:22:06 +02:00
Léa Saviot
e4da77fb91
[poincare/preferences] NbSignifDigits must be > 2 for engineer mode
2019-08-08 17:22:06 +02:00
Léa Saviot
061ea7cd13
[poincare/print_float] Engineering notation
2019-08-08 17:22:06 +02:00
Léa Saviot
ab86fa84de
[apps/settings] Engineering notation selection
2019-08-08 17:22:06 +02:00