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
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
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
Ruben Dashyan
e76bbd91cc
[apps/shared/interval_parameter_controller] Controller's title may be modified
2019-09-03 14:49:26 +02:00
Ruben Dashyan
dd0be4471c
[apps/*/values_controller] Move m_setIntervalButton to derived classes
2019-09-03 14:49:26 +02:00
Ruben Dashyan
634e812806
[apps] Shared::ValuesParameterController gets the IntervalParameterController through FunctionApp
2019-09-03 14:49:26 +02:00
Ruben Dashyan
633420193c
[apps/shared] Define and use Interval clear method
2019-09-03 14:49:26 +02:00
Ruben Dashyan
0bec97a1ee
[apps/shared] Define and use Interval reset method
2019-09-03 14:49:26 +02:00
Ruben Dashyan
f4bbff2ec8
[apps/shared] Change Interval construction values
2019-09-03 14:49:26 +02:00
Léa Saviot
4ecf6835e7
[apps] Code cleaning
2019-09-03 14:21:14 +02:00
Léa Saviot
c3ee6a71e7
[apps/graph] Fix computeYRange for polar/cartesian functions
...
Was very slow, compute only 1000 values to evaluate the yRange
2019-09-03 14:21:14 +02:00
Léa Saviot
a4099c4c3e
[apps/graph] xAuto and YAuto for polar/param
2019-09-03 14:21:14 +02:00
Émilie Feral
ecfe626520
[apps/shared] Remove useless method storeExpressionAllowed
2019-09-03 13:36:19 +02:00
Émilie Feral
908eaa4a43
[apps/shared] CartesianFunction: when changing the plot type, handle the
...
case of uninitialized expression
2019-09-03 10:03:06 +02:00
Léa Saviot
b05041dbd0
[apps/shared] Add display margin on top of / below constant curve
2019-09-02 17:56:56 +02:00
Léa Saviot
18a458bae5
[apps/graph] init Range to -5..5 if polar/param
2019-09-02 17:56:56 +02:00
Émilie Feral
27859dc923
[apps/shared] FunctionApp: don't allow equal expression in functions
2019-09-02 17:41:07 +02:00
Émilie Feral
a7285ba1ca
[apps/graph] Implement defaultCursorT for FunctionGraphController
2019-09-02 16:55:39 +02:00
É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