Émilie Feral
6de497c2ed
[apps/shared] Templatize FloatParameterController to handle float/double
...
parameters.
Fix bug: when entering "e^234" as a parameter of a model keeping floats,
the FloatParameterController would accept the number (because e^234 is
defined in double) and store an undefined value in the model (because
e^234 is undefined in float).
2019-09-02 16:55:39 +02:00
Léa Saviot
62793f41e0
[apps/curve_view] Fix drawing t limit
...
rho = 4 was not drawn properly (last quarted missing because t == tEnd)
2019-09-02 11:23:50 +02:00
Léa Saviot
9fe6034eb5
[apps/cartesian_function] Change function when switching plotType
...
Cartesian -> Parametric -> Polar
3 -> [[t][3]] -> 3
2019-09-02 11:08:54 +02:00
Émilie Feral
0f43a04225
[apps/graph] Implement move cursor vertically on graph with
...
parametric/polar curves
2019-08-30 17:15:12 +02:00
Émilie Feral
d5730e2702
[apps/shared] CartesianFunction: evaluating function out of its domain
...
returns NAN
2019-08-30 17:14:26 +02:00
Émilie Feral
2d5b60640d
[apps/shared] Fix InteractiveCurveViewController::moveCursorVertically
...
for Sequence and Regression (add a TODO for Graph)
2019-08-30 17:14:26 +02:00
Léa Saviot
bd7860be93
[apps/expression_model] Use memoized isCircularlyDefined
2019-08-30 15:47:22 +02:00
Léa Saviot
2f59c90b8e
[apps/expression_model] BuildExpressionFromText takes code point symbol
...
Not char symbol
2019-08-30 15:27:51 +02:00
Léa Saviot
fa413edc61
[apps/graph] fix banner view for polar and parametric
2019-08-30 15:04:27 +02:00
Léa Saviot
2071a65d43
[apps] Code cleaning
2019-08-30 13:49:49 +02:00
Léa Saviot
c162a6ccc0
[apps/cartesian_function] Remove computeation done twice
2019-08-30 10:49:08 +02:00
Léa Saviot
da97ffc747
[apps] Fix wrong method called
2019-08-30 10:42:20 +02:00
Léa Saviot
850170e33b
[apps/shared] computeYRange clips tMin..tMax to xMin..xMax if possible
2019-08-30 10:18:39 +02:00
Émilie Feral
2d5931b080
[apps/shared] Inline and constify Interval helpers
2019-08-29 17:44:02 +02:00
Émilie Feral
2827594616
[apps/shared] CartesianFunction: fix tmin and tmax default values
...
depending on the plot type
2019-08-29 15:54:52 +02:00
Ruben Dashyan
98427cfbdd
[apps/shared/curve_view_range] Refactor computeGridUnit
2019-08-29 15:13:41 +02:00
Ruben Dashyan
9ca0bd2359
[apps/shared/*_curve_view_range] Make the computeGridUnit method private
2019-08-29 15:13:41 +02:00
Ruben Dashyan
7e9762e933
[apps/shared/*_curve_view_range] Define and use defaultRangeWidthFor
2019-08-29 15:13:41 +02:00
Ruben Dashyan
5dc429dae5
[apps/*curve_view_range] Use existing method
2019-08-29 15:13:41 +02:00
Ruben Dashyan
8957cb9fea
[apps/shared/curve_view_range] Define and use x|yCenter accessors
2019-08-29 15:13:41 +02:00
Ruben Dashyan
e99196b2ea
[apps/interactive_curve_view_range] Clean yAuto
2019-08-29 15:13:41 +02:00
Ruben Dashyan
d39cf50c0f
[apps/interactive_curve_view_range_delegate] Remove redundant checks
2019-08-29 15:13:41 +02:00
Ruben Dashyan
366daa9c88
[apps] Remove dummy checks in graph/graph_controller and shared/function_graph_controller
2019-08-29 15:13:40 +02:00
Ruben Dashyan
2bb1e9416e
[apps] Uniformize IntervalParameterController labels
2019-08-29 13:51:49 +02:00
Ruben Dashyan
5effb5f6b2
[apps/*/values_controller] Inline intervalParameterController getter in header
...
and make it private
2019-08-29 13:51:49 +02:00
Ruben Dashyan
e00a6f7140
[apps/shared/values_controller] Remove unused interval getter
2019-08-29 13:51:49 +02:00
Ruben Dashyan
c0197f3b01
[apps] ValuesParameterController page title may be set dynamically
2019-08-29 13:51:49 +02:00
Ruben Dashyan
826e2c7aaf
[apps/shared/values_controller] Clean assertions in reusableCell
2019-08-29 13:51:49 +02:00
Ruben Dashyan
5cdecc252f
[apps/shared/values_controller] Remove configureAbscissa() and configureFunction()
2019-08-29 13:51:49 +02:00
Ruben Dashyan
6bee336349
[apps/*/values_controller] functionParameterController() returns a ViewController *
2019-08-29 13:51:49 +02:00
Ruben Dashyan
f5e721239b
[apps/shared/store_controller] Clean handling of empty cells
2019-08-29 13:51:49 +02:00
Ruben Dashyan
2e5ded2aa9
[apps/shared/editable_cell_table_view_controller] Factor textFieldDidFinishEditing
2019-08-29 13:51:49 +02:00
Ruben Dashyan
d8cac0e95f
[apps/shared/editable_cell_table_view_controller] Factor setEven in willDisplayCellAtLocationWithDisplayMode
2019-08-29 13:51:49 +02:00
Ruben Dashyan
7d411fe61f
[apps/shared/editable_cell_table_view_controller] Assert cell is not being edited before setEven
2019-08-29 13:51:49 +02:00
Ruben Dashyan
d9028b2cc5
[apps/shared/values_controller] Simplify typeAtLocation
2019-08-29 13:51:49 +02:00
Ruben Dashyan
04fcc0eac4
[apps/*/editable_cell_table_view_controller] Use typeAtLocation
2019-08-29 13:51:49 +02:00
Ruben Dashyan
dbb7d3d01c
[apps/shared/values_controller] Simplify handleEvent
2019-08-29 13:51:49 +02:00
Ruben Dashyan
345b0bf615
[apps/shared/tab_table_controller] Remove implementation of pure virtual method
2019-08-29 13:51:49 +02:00
Ruben Dashyan
2ee4d437f7
[apps/shared/store_controller] Inline selectableTableView in header
2019-08-29 13:51:49 +02:00
Ruben Dashyan
1da30fb775
[apps/shared/(values|store)_controller] Inline maxNumberOfElements in header
2019-08-29 13:51:49 +02:00
Ruben Dashyan
fa85293467
[apps/shared/editable_cell_table_view_controller] numberOfElements depends on column
2019-08-29 13:51:49 +02:00
Ruben Dashyan
73a99fd6d0
[apps/shared/values_controller] Simplify handleEvent
2019-08-29 13:51:49 +02:00
Ruben Dashyan
ea40f67d63
[apps/shared/editable_cell_table_view_controller] Clean numberOfRows
2019-08-29 13:51:49 +02:00
Ruben Dashyan
eb614860eb
[apps/shared/store_controller] Remove cellShouldBeTransparent
2019-08-29 13:51:49 +02:00
Ruben Dashyan
4ec7b801fd
[apps/shared/values_controller] Clean willDisplayCellAtLocation
2019-08-29 13:51:49 +02:00
Ruben Dashyan
c9b28840c3
[apps/shared/editable_cell_table_view_controller] Clean willDisplayCellAtLocationWithDisplayMode
2019-08-29 13:51:49 +02:00
Léa Saviot
55e9ed1c58
[apps] Clearer TODO comment
2019-08-29 11:19:11 +02:00
Léa Saviot
24d1594255
[apps] Draw curves according to their definition domain
2019-08-29 11:07:22 +02:00
Léa Saviot
f44c086804
[apps/cartesian_function] Fix angle conversion
2019-08-29 11:07:22 +02:00
Léa Saviot
a945c02edf
[poincare/Coordinate2D] Rename members x1 and x2
2019-08-29 11:07:22 +02:00