Commit Graph

9393 Commits

Author SHA1 Message Date
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
Ruben Dashyan
ba9beb2489 [apps/sequence/values] IntervalParameterController constructor is inherited from base class 2019-09-03 14:49:26 +02:00
Ruben Dashyan
90014f0062 [apps/graph/values] Add IntervalParameterSelectorController 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
4fdc7c60c2 [apps/*/values_controller] Make intervalParameterController() public 2019-09-03 14:49:26 +02:00
Ruben Dashyan
bb7fa9dfe6 [apps/graph/i18n] Add x, t, θ interval 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
Ruben Dashyan
8053e683c0 [apps/*/function_app] Inline inputViewController getter in header 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
Léa Saviot
bc2eba1726 [tests] Fix tests (use new methods) 2019-09-03 10:10:23 +02:00
Léa Saviot
b712338a18 [apps/proba] Fix dome distribution behaviours for x = infinity 2019-09-03 10:10:23 +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
7f2e52f6a6 [apps/proba] Fix result consistency
Scenario: Poisson distribution, lambda = 4, P(x < ?) = 1.3E-112
2019-09-02 17:56:56 +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
49d7235996 [poincare] Matrix: after an exception checkpoint, do not reference any
previous node to avoid leaving extra references after an exception.
2019-09-02 16:55:40 +02:00
Émilie Feral
beac710e0e [apps/graph] Do not restrain the cursor to the domain of definition in
the Graph
2019-09-02 16:55:40 +02:00
Émilie Feral
a7285ba1ca [apps/graph] Implement defaultCursorT for FunctionGraphController 2019-09-02 16:55:39 +02:00
Émilie Feral
f017ac014d [apps/graph] GraphController: when moving cursor vertically (on non
cartesian functions), going down increases the function index (to mimic
their vertical order in the function list)
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
Émilie Feral
77304040ad [ion] Storage: fix crash due to wrong assertion
Python tries to import files without extension, it should not crash but
return an empty Record.
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
c6fb5e5dfa [apps/graph] Pop twice after plot type change 2019-09-02 11:12:18 +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