Laury
22ba190542
[calculation] Fix bug in calculation store
2022-04-15 22:19:31 +02:00
Laury
23a94b7f50
[calculation] Simplify angles in additional outputs and fix an assert in calculation store
2022-02-21 17:30:27 +01:00
Laury
af5f9ea578
[ion/storage] Added the "ctrl-z" system everywhere
2022-02-19 12:09:02 +01:00
Laury
f3d632c462
[apps/calculation] Add a "ctrl-z" system
2022-02-15 22:24:50 +01:00
Yaya-Cout
169fb7404e
Fix spelling ( #128 )
...
* Fix spelling in .cpp files
* Fix spelling in all files
2022-01-20 17:21:35 +01:00
Joachim LF
9b17d1b882
[Update] Epsilon 15.3.1
2021-01-21 19:56:06 +01:00
Arthur
d7a0914d13
[Apps/CalculationStore] Changed the way to store calculations
...
-No more limit to the number of calculations
-All calculations are memoized
-Added tests to test/calculation_store.cpp
Change-Id: Ia10e2b009576eaf4496ba44a0c88f6e7e76f6cef
2020-11-04 14:45:34 +01:00
Quentin Guidée
a74a5ac796
[fix] conflicts
2020-08-09 13:28:22 +02:00
Émilie Feral
22549d4d50
[apps/calculation] CalculationStore: change name CalculationHeight -->
...
HeightComputer
2020-07-16 14:37:38 +02:00
Émilie Feral
df74c2c551
[apps/calculation] The heights (common and expanded) of calculation cells are
...
computed when the calculation is added to the store and don't change afterwards.
Otherwise, if their heights change when scrolling (due to a modification of the
display output type - ExactOnly, ApproximateOnly...), it generates crashes.
2020-07-16 14:37:38 +02:00
Émilie Feral
c2db00cc88
[apps/calculation] When leaving calculation app, do not invalid
...
calculation height memoization. They're computed from the layouts which
don't depend on the complex format (or any other settings parameters
which could have changed).
2020-07-16 14:37:38 +02:00
Joachim LF
d7ac7e19bb
[Update] Epsilon 14
2020-07-13 10:36:47 +02:00
Émilie Feral
90fb9b4ea2
[apps/calculation] Hide calculations involving units in Dutch exam mode
2020-06-04 14:50:10 +02:00
Quentin Guidée
1039b22260
Symbolic computation
2020-02-13 20:07:38 +01:00
Quentin Guidée
31cdd5bcc8
Fixed some conflicts
2020-02-12 18:24:13 +01:00
Quentin Guidée
ab8f731515
Fixed some conflicts
2020-02-12 17:42:58 +01:00
Léa Saviot
424ee9fa15
[poincare] Add SymbolicComputation parameter to the reduction context
...
This way, in solver, we can reduce expression without expanding symbols
2020-02-12 15:13:24 +01:00
Émilie Feral
c2540a1d8a
[apps/calculation] Calculations now hold 4 texts: input, exact output
...
and 2 approximate outputs - one with the maximal number of significant
digits and one with the number of significant digits asked by the user.
This enables to find the approximate output without going through the
approximation routine again.
2020-02-12 15:13:23 +01:00
Émilie Feral
8deb81b8c2
[apps/calculation] CalculationStore: Equal and Store node are always at
...
the root, no need to recursively check their presence
2020-02-12 15:13:22 +01:00
Léa Saviot
756eeeb2d8
[poincare/parser] Add context
2020-02-12 15:13:21 +01:00
M4x1m3
9a9ae068ef
Reworked exam mode, fixed #106
2019-12-27 16:48:45 +01:00
Quentin Guidée
004551d6b7
[EXPERIMENTAL] Upstream merged with Omega
2019-12-24 01:20:28 +01:00
Quentin Guidée
17432be1d8
Fixed conflicts
2019-12-11 14:27:31 +01:00
M4x1m3
b31d11cd7a
[apps/calc] Checks for exam symbolic setting.
2019-12-09 22:34:53 +01:00
Quentin Guidée
a196113cb0
Symbolic Calculation for 12.0.0
2019-10-27 12:08:26 +01:00
Émilie Feral
7ee6ad7136
[apps/calculation] CalculationStore: cap the number of calculations to
...
25
2019-09-17 17:35:45 +02:00
Léa Saviot
2d9eeaedd6
[apps/calc] Fix missing pointer incrementation
2019-09-09 15:35:56 +02:00
Léa Saviot
a3f2ab30dc
[apps/calculation] Handle pool failure while calculations are slided
...
Exmaple :
1+1
identity(30) -> Failure while 1+1 is slided on the right
2019-08-22 10:10:27 +02:00
Émilie Feral
1cc09de9ae
[apps/calculation] Invalid calculation height memoization when leaving
...
the app.
Fix wrong memoization: in calculation app input '[[1+i, 2][3,4]]', change
the complex format to Polar, go back to the calculation app --> the
calculation height was no recomputed despite the fact that the approximation
output changed.
2019-08-19 09:59:01 +02:00
Émilie Feral
0de1b575d5
Clean warnings
2019-08-08 17:22:04 +02:00
Léa Saviot
dfe74dc1cb
[apps/calculationStore] Remove falty assertion
2019-08-08 17:22:03 +02:00
Léa Saviot
2c783fe630
[apps/calcualtion] Remove TODOs
2019-08-08 17:22:03 +02:00
Léa Saviot
d027a01851
[apps/calculation] Fix calculation memoization
2019-08-08 17:22:03 +02:00
Léa Saviot
849f9237dd
[apps/calculation] Handle calculations too big for buffer
2019-08-08 17:22:03 +02:00
Léa Saviot
9380fafe9d
[apps/calculation] Fix coding typo
2019-08-08 17:22:03 +02:00
Léa Saviot
3f6d08dd35
[apps/calc] Use memmove that is safer than memcpy
...
There was a wrong memcpy used in the memoization buffer sliding
2019-08-08 17:22:03 +02:00
Léa Saviot
f43e73333a
[apps/calculation] Put back memoization
2019-08-08 17:22:02 +02:00
Léa Saviot
0f12d226ae
[apps/calculation] Put expression in scope
...
To reduce the number of expressions at a givent time on the pool
2019-08-08 17:22:02 +02:00
Léa Saviot
c7fd11e4b0
[apps/calculation] Calculation store has one big buffer for calculations
2019-08-08 17:22:02 +02:00
Léa Saviot
61cf762eef
[poincare] Expression::ReductionContext
2019-08-08 16:29:37 +02:00
Émilie Feral
cbbb827532
[poincare] Clean recursive tests on expression (isApproximate, IsRandom,
...
IsMatrix etc)
2019-05-03 15:54:22 +02:00
Émilie Feral
7b5f3c570d
[poincare] Change the way Expression are built
2019-02-21 11:29:35 +01:00
Léa Saviot
892dd2de4f
[apps/poincare] Clean some comments
2019-01-10 11:42:04 +01:00
Léa Saviot
8a272458de
[poincare] recursivelyMatches takes replaceSymbols parameter
...
This fixes:
[7]->a
1+2->a
The second operation would get interrupted because 'a' is a matrix if
symbols are replaced
2018-11-23 12:04:07 +01:00
Léa Saviot
154d1e7307
[apps/calculation] Inline constructor
2018-11-19 18:02:55 +01:00
Léa Saviot
ed5a6d4a03
[apps/calculation] Remove unneeded arguments
2018-11-19 18:02:55 +01:00
Lionel Debroux
1a8c6b6ae9
[poincare, escher, ion, apps] Split the huge umbrella header poincare.h, to reduce build time.
...
This should be a NFC, but surprisingly, it also reduces size... so what does it change ?
2018-10-23 11:49:09 +02:00
Léa Saviot
fd361cbf60
[apps/calculation] Remove static Expression
2018-09-12 15:17:58 +02:00
Émilie Feral
b5f66171fc
[calculation] Fix all reference to Poincare
2018-08-10 13:18:46 +02:00
Émilie Feral
07d568030d
[calculation] When replacing 'ans' symbol, use approximate result to
...
avoid weird unparsable expresion as 'ans=3' --> '2=2=3'
2018-06-08 15:15:25 +02:00