Commit Graph

1589 Commits

Author SHA1 Message Date
É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
Émilie Feral
cdfbc02499 [apps] Add a function "sumBetweenBounds()" on Function (sum of terms on
Sequence, Integral on CartesianFunction)
2018-01-30 18:19:27 +01:00
Émilie Feral
7ea0dbeb56 [apps] Shared: Move part of the implementation of TermSumController to
shared (Integral Graph Controller) and improve bound edition in
TermSumController.
2018-01-30 18:19:27 +01:00
Émilie Feral
31afd260a4 [apps] Graph: Change tangent color 2018-01-30 18:19:27 +01:00
Émilie Feral
fe509f6488 [apps] Graph: avoid banner blinking when displaying Tangent 2018-01-30 18:19:27 +01:00
Émilie Feral
5c64f76735 [apps] Graph: redesign TangentGraphController implementation: use
different controller with common parent class
2018-01-30 18:19:27 +01:00
Émilie Feral
7ce68d0a11 [apps] Graph: break GraphController into GraphControllerHelper and
GraphController
2018-01-30 18:19:27 +01:00
Émilie Feral
85abdbcafb [apps] Shared: Break function_graph_controller into 2 classes: function_banner_delegate and function_graph_controller 2018-01-30 18:19:27 +01:00
Émilie Feral
3a1d652a07 [apps] Sequence: Term Sum Controller inherits from
SimpleInteractiveCurveViewController (enable Zoom in/out)
2018-01-30 18:19:27 +01:00
Émilie Feral
323ecc72c5 [apps] Shared: break InteractiveCurveViewController into 2 classes (to
shared the implementation of Zoom in/out and MoveCursorHorizontally)
2018-01-30 18:19:27 +01:00
Émilie Feral
e1b09b639d [apps] Graph: setType of the graph controller before updating the stack
(to reload the right banner view)
2018-01-30 18:19:27 +01:00
Émilie Feral
d1808ae26f [apps] Graph: change banner view when displaying Tangent in graph view 2018-01-30 18:19:27 +01:00
Émilie Feral
f19e31f4cd [apps] Specialize GraphView in Type (Tangent, Default ...) instead of
GraphController
2018-01-30 18:19:27 +01:00
Émilie Feral
a6050fda55 [apps] Shared: Factorize code: all FunctionGraphView have a member
indicating the selected function
2018-01-30 18:19:27 +01:00
Émilie Feral
0dec52a708 [apps] Graph: enable to specialize GraphController in different types
(Default, Tangent ...)
2018-01-30 18:19:27 +01:00
Émilie Feral
6d7d957c8f [apps] Graph: add a submenu calculation parameter controller in the
curve parameter controller
2018-01-30 18:19:27 +01:00
Émilie Feral
ef8f5e07c2 [apps] In CurveView, replace the virtual method evaluateModelWithParameter by a function given as parameter (to be able to call Curve view methods with different implementation of evaluateModelWithParameter) 2018-01-30 18:19:27 +01:00
Émilie Feral
ea28475432 [apps] Probability: fix bug in the calculationcontroller due to the wrong implementation of columnWidth
The column width implementation required that a cell view was used only
to display a cell of the table which was not the case.
2018-01-30 18:09:59 +01:00
Émilie Feral
2a207e59ac [apps] Probability: fix scrolling in calculation cells 2018-01-30 18:09:59 +01:00
Émilie Feral
5d8256435e [apps] Probability: fix bug; in calculation controller, when reloading cells after editing textfield, do not reload selection (it corrupts the responder chain if the first reponder was a modal view for ex) 2018-01-30 18:09:59 +01:00
Émilie Feral
541d0809f3 [apps] Calculation: avoid replacing 'ans' with a store expression (to
avoid bug like '(2->A)->B')
2018-01-30 16:17:03 +01:00
Émilie Feral
e4cb6d9aad [apps] Calculation: when checking the length of the input calculation,
first replace "ans" symbol
2018-01-30 16:17:03 +01:00
Émilie Feral
36a3108309 [apps] Calculation: move implementation of ansExpression() from
Calculation to CalculationStore
2018-01-30 16:17:03 +01:00
Émilie Feral
59fdcde548 [poincare] Avoid returning partial simplification when the
simplification process has been interrupted
2018-01-30 16:17:03 +01:00
Émilie Feral
9443fcb043 [apps] Sequence: in the toolbox, update the extra-cells when updating
the hold layout to avoid unvalid read
2018-01-25 15:48:35 +01:00
Émilie Feral
479d86a38e [apps] Sequence: when setting a next first term index, forbid negative
index
2018-01-25 15:48:23 +01:00
Émilie Feral
696e89c7ef [apps] Toolbox: add factor decomposition 2018-01-23 10:24:52 +01:00
Émilie Feral
b9dce68f04 [poincare] Create class Factor 2018-01-23 10:24:52 +01:00
Émilie Feral
856a7b3eb0 [apps] Add random menu in toolbox 2018-01-23 10:24:52 +01:00
Émilie Feral
6401ce19ae [i18n] Add messages for random menu in toolbox 2018-01-23 10:24:52 +01:00
Émilie Feral
9e9949ef78 [apps] Fix message: "Indice premier terme" 2018-01-17 12:07:24 +01:00
Émilie Feral
ddd8c3c44a [apps] Add tests on Ans behaviour in Calculation 2018-01-16 15:17:16 +01:00
Émilie Feral
775432efdc [poincare][apps] Replace Ans symbol when preprocessing the calculation 2018-01-16 15:17:16 +01:00
Émilie Feral
17fc7998a2 [apps] Calculation: Ans is exact only when the expression hold is exact 2018-01-16 15:17:16 +01:00
Émilie Feral
d6d31b4eb0 [apps] Calculation: clean unused methods 2018-01-16 15:17:16 +01:00
Émilie Feral
b8b7da7dd8 [apps] Calculation: Ans holds an exact expression 2018-01-16 15:17:16 +01:00
Émilie Feral
5c23003e50 [apps] Python: Refining random module 2018-01-16 13:19:27 +01:00
Émilie Feral
4a3b935e7b [apps] Python: in the menu controller, the editable cells holding the
script names are not responder as long as they are not set as first
responder manually by renameSelectedScript for instance
2018-01-16 13:18:20 +01:00