Commit Graph

9520 Commits

Author SHA1 Message Date
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
Léa Saviot
c2c4157b73 [apps/toolbox] Fix probability toolbox i18n
var -> σ2
2019-08-30 17:53:57 +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
8b7e243d2d [apps/graph/list] Handle right event to open submenu 2019-08-30 16:05:29 +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
29edb5f12e [poincare/parser] Fix theta parsing 2019-08-30 15:27:45 +02:00
Ruben Dashyan
70befe2b2e [poincare/parsing] Parse greek small letter theta 2019-08-30 15:15:37 +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
66ef85239d [apps/graph] Step for polar and cartesian is definitionDomain/96.0 2019-08-30 11:44:53 +02:00
Léa Saviot
67e5114194 [apps/graph] Clip cursor navigation to definition domain 2019-08-30 11:37:31 +02:00
Léa Saviot
b3ecd16218 [apps/graph] Fix multiple curves drawing 2019-08-30 11:25:06 +02:00
Léa Saviot
c162a6ccc0 [apps/cartesian_function] Remove computeation done twice 2019-08-30 10:49:08 +02:00
Léa Saviot
5235f74852 [ion/storage] Memoize last retrieved record
Faster Graph navigation
2019-08-30 10:47:15 +02:00
Léa Saviot
da97ffc747 [apps] Fix wrong method called 2019-08-30 10:42:20 +02:00
Émilie Feral
99a6451074 [apps/graph/list] DomainParameterController: fix bug (use of out of
scope variable)
2019-08-30 10:40:58 +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
8c7819306a [apps/graph/list] Add a row to the ListParameterController to set the
function domain
2019-08-29 17:45:30 +02:00
Émilie Feral
c8928adbdb [apps/graph/list] Create a DomainParameterController to choose the
domain range
2019-08-29 17:44:46 +02:00
Émilie Feral
2d5931b080 [apps/shared] Inline and constify Interval helpers 2019-08-29 17:44:02 +02:00
Émilie Feral
8f8333c7ae [apps/graph] Add I18n messages regarding domain of functions 2019-08-29 17:43:08 +02:00
Émilie Feral
6013e6a937 [escher] Add a class MessageTableCellWithChevronAndBuffer 2019-08-29 15:54:52 +02:00