Commit Graph

486 Commits

Author SHA1 Message Date
Romain Goyet
84561a929f [escher] Clean the ScrollView, TableView and SelectableTableView constructors 2018-04-18 18:08:07 +02:00
Émilie Feral
05055c387f [apps] Graph: when setting default range of a function, take
into account the potential periodicity
2018-03-22 10:48:06 +01:00
Émilie Feral
6de71ae145 [poincare] Clean: convertFloatToText should be in PrintFloat instead of
Complex
2018-03-21 15:57:19 +01:00
Émilie Feral
441207f5e4 [apps] Graph: for all calculations -intersection, extremum and roots-, rather display 0 than 1E-14 2018-02-01 11:49:53 +01:00
Émilie Feral
cc4415b701 [apps] Graph: fix error in Intersection Graph banner view: the text was
truncated
2018-02-01 11:49:53 +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
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
8ccb69f2e2 [apps] Graph: Change function colors 2018-01-30 18:53:28 +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
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
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
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
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
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
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
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
a0ec589e47 [apps] Graph: all contexts parse x now so no need for a specific one in
graph
2017-12-14 10:52:14 +01:00
Jean-Baptiste Boric
59e5750463 [apps] Extract shared translations from apps
This commit can be regenerated with the following shell snippet:

```
for i in UndefinedValue ForbiddenValue Goto ValueNotReachedByFunction Initialization Trigonometric RoundAbscissa Orthonormal DefaultSetting Axis Zoom GraphTab IntervalSet XStart XEnd Step Plot DisplayValues ActivateDesactivate NoFunctionToDelete Language FunctionOptions ClearColumn ColumnOptions DataTab CopyColumnInList FunctionColumn Move Or ValuesTab Goto ToZoom HardwareTestLaunch1 HardwareTestLaunch2 HardwareTestLaunch3 HardwareTestLaunch4 ActiveExamModeMessage1 ActiveExamModeMessage2 ActiveExamModeMessage3 ExitExamMode1 ExitExamMode2 Sci Rad Deg
do
  move=$(grep "^$i = " -r *)

  if [ -n "$move" ]
  then
    echo "$move" | while read -r item
    do
      file=$(echo "$item" | cut -f1 -d:)
      lang=$(echo "$file" | cut -f2 -d.)
      translation=$(echo "$item" | sed -e 's/^[^:]*://')
      label=$(echo "$translation" | sed -e 's/=.*//')
      sed -i "/^$label/d" "$file"
      echo "$translation" >> "apps/shared.$lang.i18n"
    done
  fi
done

for i in apps/shared.*.i18n
do
  sort $i -o $i
done
```
2017-12-07 09:20:31 +01:00
Émilie Feral
2c06727f36 [apps] Simplify expressions in sequence and function applications
Change-Id: I2708934d3b5c90e8692e50d939b3a13028b8615e
2017-11-24 14:39:06 +01:00
Émilie Feral
76cbd2678d [poincare] Change names: approximate->approximateToScalar
Change-Id: I701451b35909bb577dd729e0ea76a405b9543f23
2017-11-24 12:06:35 +01:00
Romain Goyet
52bdf4a41f Merge branch 'cas_with_app_copy' into python_console 2017-11-21 18:44:38 +01:00
Léa Saviot
57633829a9 [code] Split the Menu Controller in two columns.
The scripts names are on the right and open the script edition.
The left cells open the script options.

Change-Id: I3fbab8c3861f3395c3206775c92cda3470963b26
2017-11-17 14:05:23 +01:00
Jacob Young
da1e66e798 Fix #115 by fixing the math.h and cmath includes. 2017-10-13 18:08:15 +02:00