Commit Graph

9424 Commits

Author SHA1 Message Date
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
É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
424036489b [escher/selectable_table_view_data_source] Mark getters as const 2019-09-04 15:07:40 +02:00
Ruben Dashyan
ff6eb00801 [escher/selectable_table_view_data_source] Inline all in header file 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
Léa Saviot
6fb7d74e4d [apps/graph] Values are correcty computed in the values tab 2019-09-04 14:21:06 +02:00
Léa Saviot
3ffa23e1e3 [apps] Fix margins in Values controller 2019-09-04 13:53:24 +02:00
Léa Saviot
f3376de1b2 [escher/scroll_view] Fix redrawing glitch
Scenario: Go to statistics, add values on the last column, when the
vertical scrollbar appears there is a drawing glitch on the horizontal
bar.
2019-09-04 13:43:37 +02:00
Léa Saviot
41bcc1f133 [escher/scroll_view] Coding style 2019-09-04 13:43:37 +02:00
Léa Saviot
553c649a80 [apps] Fix Stores margins 2019-09-04 13:43:37 +02:00
Léa Saviot
f4bbab76ed [apps/graph] Margins in values title cells 2019-09-04 13:43:37 +02:00
Émilie Feral
30fee1fffe [poincare] Silence computation warning 2019-09-03 18:02:42 +02:00
Léa Saviot
9120e17009 [apps/graph] Correct parameter name 2019-09-03 17:32:04 +02:00
Léa Saviot
ea586d1ac5 [apps/graph] Add margins in values
+ Fix parameter titles
2019-09-03 17:32:04 +02:00
Émilie Feral
ed2a15dd03 [apps/graph] Enable infinite values as domain bounds for cartesian
functions
2019-09-03 16:21:28 +02:00
Émilie Feral
8ce062acc4 [apps/shared] CartesianFunction: default domain of parametric and polar
functions is 0..2*pi
2019-09-03 16:21:28 +02:00
Émilie Feral
dba9912bbe [apps/graph] ListParameterController: display only 2 significant digits
on the definition domain
2019-09-03 16:21:28 +02:00
Léa Saviot
7265c369d3 [apps/graph] Replace magic number 2019-09-03 15:39:45 +02:00
Émilie Feral
a6ed400991 [apps/shared] Resolve conflict: function tmin and tmax are float instead
of double
2019-09-03 15:36:46 +02:00
Émilie Feral
3a47793f2d [apps/graph] DomainParameterController is a floatParameter controller
instead of a double one
2019-09-03 15:34:35 +02:00
Émilie Feral
eb3ea55d53 [apps/shared] CartesianFunction is composed of a 1D range as a
definition domain
2019-09-03 15:34:35 +02:00
Émilie Feral
45d42287e2 [apps/shared] MemoizedCurveViewRange is composed of two Range1D to
factorize setters and getters
2019-09-03 15:34:35 +02:00
Émilie Feral
fc2f3d79b5 [apps/shared] Create a class Range1D 2019-09-03 15:34:35 +02:00
Léa Saviot
a3b59a585c [apps/values_controller] Cell types naming for typeAtLocation 2019-09-03 15:33:37 +02:00
Léa Saviot
e7958b8287 [apps/graph] Fix yAuto for cartesian functions
Scenario: display f(x) = x
2019-09-03 15:28:11 +02:00
Ruben Dashyan
7ff8fdf44f [apps/graph/values_controller] Split table into three pieces 2019-09-03 15:05:53 +02:00
Ruben Dashyan
340977e66a [apps/shared/interval] Decrease the max number of elements 2019-09-03 15:05:53 +02:00
Léa Saviot
4436967c57 [apps/go_to_param_cntrlr] Change parameter name according to func 2019-09-03 15:04:01 +02:00
Ruben Dashyan
d2184d01bd [apps/shared/interval_parameter_controller] Assert interval() is not nullptr
and inline getter in header.
2019-09-03 14:49:26 +02:00