Commit Graph

3601 Commits

Author SHA1 Message Date
Léa Saviot
ee8f2bc2df [apps/proba] Fix typo 2019-08-14 17:57:00 +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
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
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
12060e2ae7 [escher] TextField: all text fields use the same draft text buffer 2019-08-13 09:44:00 +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
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
É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
e4da77fb91 [poincare/preferences] NbSignifDigits must be > 2 for engineer mode 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
Émilie Feral
081462ab5e [poincare] Fix tests with Multiplication serialization (it always add
the × operator
2019-08-08 17:22:06 +02:00
Léa Saviot
c2b4d2b760 [strlcpy] Assertions on len parameter 2019-08-08 17:22:06 +02:00
Léa Saviot
b0b10f184e [poincare/print_float] convertFloatToText -> ConvertFloatToText 2019-08-08 17:22:06 +02:00
Léa Saviot
e75701f0fa [apps] Clean convertFloatToText uses 2019-08-08 17:22:06 +02:00
Émilie Feral
9fbec16db4 [poincare] Merge MultiplicationImplicit and MultiplicationExplicit (they
were required if we wanted to parse into two distincts expression 2π and
2*π but don't)
2019-08-08 17:22:05 +02:00
Émilie Feral
79d7e58ec8 [apps/shared] EditableCellTableViewController: function and sequence
values table cells were to narrow to display
LargeNumberOfSignificantDigits (~16 digits). We adjust the number of
digits authorized before switching to scientific mode to the cell width
2019-08-08 17:22:05 +02:00
Ruben Dashyan
d4afcfd9fd [apps/*_curve_view_range] Mark accessors const 2019-08-08 17:22:04 +02:00
Ruben Dashyan
ed98d8fc93 [apps/shared/memoized_curve_view_range] Inline accessors in header file 2019-08-08 17:22:04 +02:00
Ruben Dashyan
771e0f7c0f [apps] Simplify Shared::CurveViewRange::x|yGridUnit() 2019-08-08 17:22:04 +02:00
Ruben Dashyan
ffee032e4c [apps/probability/law] Factor yMin() 2019-08-08 17:22:04 +02:00
Émilie Feral
0de1b575d5 Clean warnings 2019-08-08 17:22:04 +02:00
Émilie Feral
c1cd0302b8 [poincare] Fix typo: explicite --> explicit, implicite --> implicit 2019-08-08 17:22:04 +02:00
Émilie Feral
cedcab21ec [poincare] Tidy tests and add TODO for tests that need to be completed 2019-08-08 17:22:04 +02:00
Léa Saviot
4bbb8167f1 [poincare/matrix_inverse] Handle memory error in MatrixInverse 2019-08-08 17:22:04 +02:00
Émilie Feral
f546845279 [apps] Test: fix calculation and equation test with layout and
expression seriazlization
2019-08-08 17:22:03 +02:00
Léa Saviot
23acdd7f0d [apps/calc] Simplify the HistoryViewCell::m_calculationCRC32 initialization
It is not very probable that a new CRC32 should be computed to 0, and
maybe not less probable than being computed to the CRC32 of an empty
computation. However this was not mathematially verified.
2019-08-08 17:22:03 +02:00
Léa Saviot
9c95018034 [apps/calc] Init HistoryViewCell::m_calculationCRC32 to better value 2019-08-08 17:22:03 +02:00
Léa Saviot
ee505fe02d [apps/graph] Factorize some code 2019-08-08 17:22:03 +02:00
Léa Saviot
dfe74dc1cb [apps/calculationStore] Remove falty assertion 2019-08-08 17:22:03 +02:00
Léa Saviot
2c783fe630 [apps/calcualtion] Remove TODOs 2019-08-08 17:22:03 +02:00
Ruben Dashyan
3bf1d233f7 [apps/probability] Turn P(14<X) into P(X>14) 2019-08-08 17:22:03 +02:00
Ruben Dashyan
a1fa7d71dc [apps/probability] FiniteIntegralCalculation does not use RightIntegralFirstLegend 2019-08-08 17:22:03 +02:00
Ruben Dashyan
0329eb78cc [apps/probability/calculation] Remove unused method 2019-08-08 17:22:03 +02:00