Commit Graph

21 Commits

Author SHA1 Message Date
Émilie Feral
e1d7b6bb04 [apps] Avoid unsigned/signed comparison: storeChecksumAtIndex takes an
int as parameter
2020-04-07 09:51:39 +02:00
Léa Saviot
53705fb333 [apps/graph_ctrlr] Reload range if no previous model is present
We memoize the checksum of the x first models, and we check that one of
these models is still present when the graph view appears. If so, we do
not reload the range, other wise we reload it.

Scenario:
f(t) = [t^2  t+1] in parametric
Display the graph
f(x) = 1 on ]-inf;0]
g(x) = 2 on [0;inf[
Display the graph -> the range did not change
2020-03-11 11:43:36 +01:00
Ruben Dashyan
56a3fcfacb [apps/shared/expression_model_store] Add context parameter to model testing 2019-09-20 17:11:42 +02:00
Ruben Dashyan
893131ed08 [apps/shared/expression_model_store] Factor model tests 2019-09-20 17:11:42 +02:00
Ruben Dashyan
77cdc32813 [apps/shared/expression_model_store] Fix typo 2019-09-20 17:11:42 +02:00
Léa Saviot
63f20a9844 [apps/function_store] Comment coding style 2019-08-08 17:22:02 +02:00
Émilie Feral
d0665d8558 [shared] Clean class names containing storage 2019-04-12 15:16:52 +02:00
Émilie Feral
3ce406fde1 [shared] Clean unused classes 2019-04-12 15:16:52 +02:00
Émilie Feral
d36c0c8746 [graph] Fix bug when initializing the selected function on graph 2018-07-06 14:00:32 +02:00
Léa Saviot
a166903659 [apps/graph] Fix graph selection when a function is undef
For instance, input f(x)=1/0 and g(x)=1, the graph tab now selects g
correctly
2018-06-26 13:46:00 +02:00
Émilie Feral
67cddf554d Merge branch 'lea-statistics' into upgrade-1.6.0 2018-06-12 10:25:54 +02:00
Léa Saviot
47fa6f4a41 [apps/escher] Share color selection for data (Red, blue, Green, Yellow) 2018-06-11 13:58:23 +02:00
Émilie Feral
2d580faf51 [solver] Ignore empty equation when resolving systems 2018-06-07 14:46:14 +02:00
Émilie Feral
78e750b053 [shared] Change the ModelStore to store Expression Model Store 2018-06-07 13:46:17 +02:00
Émilie Feral
e05709f097 [shared] Factorize FunctionStore in ModelStore<T> (for future
implementation of equation store)
2018-06-07 13:46:17 +02:00
Émilie Feral
71284311bb [escher] [apps] Implement app snapshot
Change-Id: I24d7eed7cef964af8be1c85222e758c297dc0da1
2017-05-18 14:16:41 +02:00
Émilie Feral
b9183eb84d [apps/graph][apps/sequence] In function store model, specify the
implementation of removeAll (always let an empty function in cartesian
functions)

Change-Id: I5e91a0ea427ba823eee4f86cdd8b7cd5426df2c6
2017-04-10 10:52:22 +02:00
Émilie Feral
4348bd7bae [apps] Implement a reset in apps (clear memory)
Change-Id: I158d5db92196ccfd5400a95de16ee4804e426e65
2017-04-07 15:36:03 +02:00
Émilie Feral
6d47bc0073 [apps/shared] Add a method symbol in function store
Change-Id: I9f85f815d3ab28425d4df77b6ff4880efde17909
2017-03-02 18:15:48 +01:00
Émilie Feral
6cf5b9d317 [apps/shared] Add method in shared function store
Change-Id: I1b15ed95e7e9a5c4cffe303e5f699ec03ad87b45
2017-02-13 17:15:07 +01:00
Émilie Feral
3164939c9d [apps/shared] Move function store class to shared/ to be used by
sequence

Change-Id: I89380d59e3450e9c5af4bf05f520ed1a5205ba29
2017-02-13 17:15:06 +01:00