Commit Graph

3880 Commits

Author SHA1 Message Date
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
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
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
22d49f9a14 [apps/probability] Fix typo 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
6ec6d156a8 [apps/settings] Minimal number of significant digits in Engineering
display mode is 3
2019-09-04 15:20:51 +02:00
Ruben Dashyan
48be600d89 [apps/graph] App holds an Interval for each plot type 2019-09-04 15:07:40 +02:00
Ruben Dashyan
b522131efd [apps/graph/values/interval_parameter_selector_controller] Add all intervals to list 2019-09-04 15:07:40 +02:00
Ruben Dashyan
a8b469cc65 [apps/graph/values_controller] Factor with plotTypeAtColumn 2019-09-04 15:07:40 +02:00
Ruben Dashyan
157edcd18c [apps/*/values_controller] Get interval from App according to column index 2019-09-04 15:07:40 +02:00
Ruben Dashyan
9e8125f700 [apps/sequence/values_controller] Clean namespace usage 2019-09-04 15:07:40 +02:00
Ruben Dashyan
a565cb32b9 [apps] Move interval from FunctionApp to derived classes 2019-09-04 15:07:40 +02:00
Ruben Dashyan
7ef63f2c61 [apps] IntervalParameterController::m_interval is set right before the controller appears
and not at controller's construction.
2019-09-04 15:07:40 +02:00
Ruben Dashyan
897b69709e [apps/shared/values_parameter_controller] Set correct title for IntervalParameterController submenu 2019-09-04 15:07:40 +02:00