Léa Saviot
90068b5cc7
[poincare] Fix Matrix copy bug.
...
When selecting a matrix in the calculation history and pressing 'OK',
in the apps Calculation, there was a nullptr bug.
Change-Id: I8f05771b76bcb3c68b51cf8ca33a49011144abf9
2018-01-31 10:32:07 +01:00
Émilie Feral
f2db9f2065
[apps] Calculation: exact and approximate output can be equal even if
...
the exact output is not a rational: 1/2+i = 0.5+i
2018-01-30 19:14:42 +01:00
Émilie Feral
26af09843e
[poincare] Enable writeTextInBuffer to work with different numbers of
...
significant digits
2018-01-30 19:14:42 +01:00
Émilie Feral
ed59909531
[apps] Calculation: avoid 1/400000 = 0.000003
...
Re-serialise the calculation approximate output with the right number of
significant digits before comparing the parsed expression with the exact
one
2018-01-30 19:14:42 +01:00
Émilie Feral
03c8b373f7
[apps] Calculation: update the equal sign view according to the
...
calculation outputs
2018-01-30 19:14:42 +01:00
Émilie Feral
9d6b2e3cad
[apps] Calculation: add a method to test if the exact output and the
...
approximate output are equal
2018-01-30 19:14:42 +01:00
Émilie Feral
8027da6ca2
[i18n] Add the message "="
2018-01-30 19:14:42 +01:00
Émilie Feral
d6215d4cc1
[apps] Shared: resize cross cursor
2018-01-30 18:53:28 +01:00
Émilie Feral
66401fc697
[apps] Shared: Correct CurveView to avoid 1-pixel errors
2018-01-30 18:53:28 +01:00
Émilie Feral
e6a33772fe
[apps] Regression: alternate between round and cross cursor views
2018-01-30 18:53:28 +01:00
Émilie Feral
9cd50d8d9a
[apps] Graph/Sequence: set different cursors for Sequence and Graph
2018-01-30 18:53:28 +01:00
Émilie Feral
b38fda1a1e
[apps] Shared: create a round cursor view
2018-01-30 18:53:28 +01:00
Émilie Feral
95f0efaf9f
[apps] Graph/Sequence: the function selected by the cursor has to be
...
save in the Snapshot to avoid weird selection when rebulding the app
2018-01-30 18:53:28 +01:00
Émilie Feral
c9b86d0c86
[apps] Shared: the cursor view own its size instead of the curve view
2018-01-30 18:53:28 +01:00
Émilie Feral
8ccb69f2e2
[apps] Graph: Change function colors
2018-01-30 18:53:28 +01:00
Émilie Feral
8891914716
[apps] Change the thickness of curves in graph views
2018-01-30 18:53:28 +01:00
Émilie Feral
72f3d1a88a
[apps] Shared: Change the thickness of grid in Graph views
2018-01-30 18:53:28 +01:00
Émilie Feral
8c32a61bb1
[escher] TextField: markAsDirty the previous text when setting a new
...
text
2018-01-30 18:19:27 +01:00
Émilie Feral
539ea44bd7
[apps] Fix unitialized read
2018-01-30 18:19:27 +01:00
Émilie Feral
89c201a7f7
[apps] Graph: create an IntersectionGraphController
2018-01-30 18:19:27 +01:00
Émilie Feral
7d69e59562
[i18n] Graph: add a message 'no intersection found'
2018-01-30 18:19:27 +01:00
Émilie Feral
9943afb7e1
[apps] Graph: add a method to get the intersection between 2 functions
2018-01-30 18:19:27 +01:00
Émilie Feral
35225d2b07
[apps] Graph: improve the root research algorithm
2018-01-30 18:19:27 +01:00
Émilie Feral
37c3f6189d
[apps] Graph: create a RootGraphController
2018-01-30 18:19:27 +01:00
Émilie Feral
d1840dfe17
[apps] Graph: Change name:
...
ExtremumGraphController-->CalculationGraphController
2018-01-30 18:19:27 +01:00
Émilie Feral
78c7d80319
[apps] Graph: algorithm to research function roots
2018-01-30 18:19:27 +01:00
Émilie Feral
4761a9acdd
[apps] Graph: change name: brentAlgorithm->brentMinimum
2018-01-30 18:19:27 +01:00
Émilie Feral
29a2525b56
[apps] Clean
2018-01-30 18:19:27 +01:00
Émilie Feral
98ec845693
[apps] Graph: cheat for extremum on 0
2018-01-30 18:19:27 +01:00
Émilie Feral
6fecd091f4
[apps] Graph: add the maximum graph controller
2018-01-30 18:19:27 +01:00
Émilie Feral
6703fedf54
[apps] Graph: Improve Extremum Graph Controller (factorize more
...
functions in order to create Maximum Graph Controller more easily)
2018-01-30 18:19:27 +01:00
Émilie Feral
06462490cd
[apps] Graph: new version of the minimum search algorithm
2018-01-30 18:19:27 +01:00
Émilie Feral
87bbade127
[apps] class Extremum Graph Controller
2018-01-30 18:19:27 +01:00
Émilie Feral
251acea9f1
[i18n] add messages "no mininum/maximum found"
2018-01-30 18:19:27 +01:00
Émilie Feral
1c49dab2b7
[apps] Graph: Handle enter on tangent graph controller
2018-01-30 18:19:27 +01:00
Émilie Feral
9eae976e78
[apps] Shared: increase the number of significative digits in the result
...
displayed by the sum graph controller
2018-01-30 18:19:27 +01:00
Émilie Feral
eb0686e2b2
[apps] Clean
2018-01-30 18:19:27 +01:00
Émilie Feral
03ebffa09d
[apps] Graph: first version of a function minimum finding algorithm
2018-01-30 18:19:27 +01:00
Émilie Feral
7077cb4f58
[apps] Graph/Sequence: correct the layout of the banner views
2018-01-30 18:19:27 +01:00
Émilie Feral
9ab4486aa0
[apps] Correct the number of significant digits in sum graph controller
2018-01-30 18:19:27 +01:00
Émilie Feral
b387769eb4
[apps] Shared: In curve view, correct the dirty tracking when changing
...
the banner, the cursor or the OK views
2018-01-30 18:19:27 +01:00
Émilie Feral
7cd05e520a
[apps] Graph: avoid reloading when highlighting the area under curve
...
(which does change in the Graph app)
2018-01-30 18:19:27 +01:00
Émilie Feral
a0704898b1
[apps] Shared: in SumGraphController, correct margin to avoid weird blinking in Integral
2018-01-30 18:19:27 +01:00
Émilie Feral
e8a844d2e4
[apps] Shared: In CurveView::drawCurve: compare pixels coordinate
...
instead of float to avoid white pixels between the area under the curve
and the cursor
2018-01-30 18:19:27 +01:00
Émilie Feral
e13960fd20
[apps] Shared: optimize function graph reloading
2018-01-30 18:19:27 +01:00
Émilie Feral
ac6c8379ed
[apps] Enable to specialize the sum layout in Sum Graph Controller
2018-01-30 18:19:27 +01:00
Émilie Feral
e5032b8c30
[apps] Graph: create the integral graph controller and add it to the
...
calculation menu
2018-01-30 18:19:27 +01:00
Émilie Feral
c9be0f18bc
[apps] Graph: implement coloring area under curve in graph view
2018-01-30 18:19:27 +01:00
Émilie Feral
f4300aef40
[apps] Change Sum GraphController banner color
2018-01-30 18:19:27 +01:00
Émilie Feral
53b90034da
[apps] Graph: In graphview, replace the type by a boolean to decide
...
wether to draw tangent
2018-01-30 18:19:27 +01:00