Commit Graph

9459 Commits

Author SHA1 Message Date
Émilie Feral
7e3a6afcbc [poincare] Division: invalid read! 2019-09-06 14:24:46 +02:00
Léa Saviot
dd97b23624 [apps/proba] k limit for Chi2 law
After the limit, P(X<k) returns undef
2019-09-06 10:40:59 +02:00
Léa Saviot
a8a628d2eb [apps/seq] Fix compilation 2019-09-06 10:36:24 +02:00
Léa Saviot
80f3c1fd0a [apps/proba] Use DBL_EPSILON in cnditions 2019-09-06 10:23:32 +02:00
Léa Saviot
d9e49cb369 [apps/proba/dist] More laxist assert 2019-09-06 10:23:32 +02:00
Ruben Dashyan
ae7d60d7c2 [apps/shared/values_controller] Move evaluationOfAbscissaAtColumn impl to Sequence
And remove TODO
2019-09-05 17:52:16 +02:00
Ruben Dashyan
f579010340 [apps/shared/curve_view] Correct parameter's value near domain boundaries 2019-09-05 17:36:00 +02:00
Ruben Dashyan
e2543fcef4 [apps/shared/curve_view] drawCurve computes parameter t more precisely 2019-09-05 17:36:00 +02:00
Léa Saviot
8fdad3aed8 [apps/graph] Remove unneeded vertical scroll bar 2019-09-05 17:32:47 +02:00
Léa Saviot
3014e8c3ca [apps/graph] Shorter messages and margins
To fit if the interval is -9.9E30..-9.8E29, in the parameter controller
2019-09-05 17:19:16 +02:00
Émilie Feral
0070c2fa56 [scripts] Target device N0110: always use the DEBUG=0 flasher to flash 2019-09-05 16:35:16 +02:00
Émilie Feral
24b2ef29ce [ion] Remove unused variable 2019-09-05 16:35:16 +02:00
Émilie Feral
ae68457ec5 [poincare] Test: use quiz_assert instead of assert to fail even with
DEBUG=0
2019-09-05 16:35:16 +02:00
Léa Saviot
8726f1d621 [apps/graph] Display parametric name in the middle of values cell 2019-09-05 15:43:55 +02:00
Ruben Dashyan
00b1320eb6 [apps/graph/values_controller] Fix text in hidden cells 2019-09-05 15:10:36 +02:00
Léa Saviot
6b25060dc5 [apps/graph] Put parameter name in interval controller
For instance:
X Start ...
X End ...
Step
2019-09-05 14:54:59 +02:00
Léa Saviot
f867019928 [apps/graph] Handle only 1 type of curve in set the interval button 2019-09-05 14:54:28 +02:00
Émilie Feral
e55541ae82 [apps/shared] CurveViewCursor: cursor.m_x can reach infinity by t can't
and can't be undefined either
2019-09-05 14:23:00 +02:00
Émilie Feral
71e66ad513 [apps/shared] FunctionGraphController: fix moveCursorVertically, t does
not change when the cursor moves VERTICALLY
2019-09-05 14:20:58 +02:00
Émilie Feral
de2f79b915 [probability] Distribution: loosen constraints on
cumulativeDistributiveInverseForProbabilityUsingIncreasing... precision
2019-09-05 13:59:30 +02:00
Émilie Feral
5481d3c822 [poincare] Fix compilation: change std::abs to std::fabs when the
argument isn't complex
2019-09-05 13:38:46 +02:00
Émilie Feral
cb69f42055 [poincare] Fix compilation: change std::abs to std::fabs 2019-09-05 13:31:10 +02:00
Émilie Feral
db4cfb1763 [poincare] Solver: increase IncreasingFunctionRoot precision 2019-09-05 13:27:18 +02:00
Ruben Dashyan
0631ed77b5 [apps/*/editable_cell_table_view_controller] Factor table view margin values 2019-09-05 13:24:05 +02:00
Émilie Feral
0911672224 [poincare] Solver: fix infinite loop 2019-09-05 12:06:48 +02:00
Émilie Feral
22d49f9a14 [apps/probability] Fix typo 2019-09-05 12:06:48 +02:00
Émilie Feral
6636c1488b [poincare] IEEE754: add methods to find the next and the previous
IEEE754 exactly representable float/double
2019-09-05 12:06:48 +02:00
Ruben Dashyan
aa5c5219da [apps/*/values_controller] Set correct parameter message 2019-09-05 11:58:51 +02:00
Ruben Dashyan
c8206d51f2 [apps/shared/cartesian_function] Add static ParameterMessageForPlotType method 2019-09-05 11:58:51 +02:00
Ruben Dashyan
9417a52167 [apps/*/function] Sequence implements parameterMessageName 2019-09-05 11:58:51 +02:00
Ruben Dashyan
86768b2eec [apps/*/go_to_parameter_controller] Remove I18n::Message parameter from constructor 2019-09-05 11:58:51 +02:00
Ruben Dashyan
8a2ceb0440 [apps/*/go_to_parameter_controller] Use setParameterName 2019-09-05 11:58:51 +02:00
Ruben Dashyan
b357060939 [apps/shared/go_to_parameter_controller] Rename m_abscisseCell to m_parameterCell 2019-09-05 11:58:51 +02:00
Léa Saviot
3a0f883838 [apps/graph] Fix cell colors in values
Scenario: add two functions with different plot types. Scroll to the
bottom of the table, delete some vlaues then scroll up and down
2019-09-05 11:16:09 +02:00
Léa Saviot
58ac80783a [apps/graph] Handle navigation on hidden cells 2019-09-05 10:49:43 +02:00
Léa Saviot
af3d1456e0 [apps/graph] Hideable cells in values controller 2019-09-05 10:25:01 +02:00
Émilie Feral
aa1d1165e8 [apps/graph] Fix function name edition: the cursor is positioned right
after the '(' (bug due to the fact that θ takes 2 bytes)
2019-09-05 09:37:23 +02:00
Ruben Dashyan
f70fb98a23 [apps/graph/values/interval_parameter_selector_controller] Hide irrelevant rows
Hide those rows corresponding to plot types, not used by any function
in the store.
2019-09-04 17:44:49 +02:00
Léa Saviot
1b169e0836 [apps/solver] Fix bad assertion 2019-09-04 17:34:50 +02:00
Léa Saviot
4ccd9eed53 [apps/shared] Fix test compilation 2019-09-04 16:55:39 +02:00
Léa Saviot
1c34eab71e [poincare/solver] Fix precision handling in IncreasingFunctionRoot
Scenario: ChiSquared distribution, P(X<?) = 0.1
2019-09-04 16:55:39 +02:00
Émilie Feral
221b4af631 [apps/calculation] Fix warning: taking address of a packed member is
unsafe
2019-09-04 15:36:37 +02:00
Léa Saviot
811768dcc2 [apps/graph] Fix missing const_cast 2019-09-04 15:25:41 +02:00
Émilie Feral
f388fe7252 [apps] Use attribute "packed" on member variable directly instead of
using "pragma pack" to allow compiler optimization on one-byte object
accesses
2019-09-04 15:20:52 +02:00
Émilie Feral
bfe887e627 [apps/shared] Order CartesianFunctionRecordDataBuffer members to be more
likely aligned
2019-09-04 15:20:52 +02:00
Émilie Feral
9d335fdf99 [apps/shared] Cartesian: PlotType can be a uint8_t instead of an int 2019-09-04 15:20:52 +02:00
Émilie Feral
065edbbf05 [apps/shared] Range1D is used in a Storage::Record::DataBuffer and thus
should be packed and might be unaligned
2019-09-04 15:20:51 +02:00
Émilie Feral
bac7fe0fce [apps/shared] Regression and Statistics take into account display mode 2019-09-04 15:20:51 +02:00
Émilie Feral
6bc80a4f21 [poincare] PrintFloat: remove never used addition. max(0, negative
number) is always 0
2019-09-04 15:20:51 +02:00
Émilie Feral
bd8d3b3685 [poincare] Preferences: VeryShortNumberOfSignificantDigits is 3 instead
of 2 to be able to use engineering mode
2019-09-04 15:20:51 +02:00