Émilie Feral
48f890ef93
[poincare] AngleUnit, FormatComplex and PrintFloatMode are now
...
enumeration of Preferences class
2018-07-30 13:48:04 +02:00
Émilie Feral
e61a408a0a
[poincare] Get rid of AngleUnit::Default
2018-07-18 17:09:07 +02:00
Émilie Feral
e9c4485eeb
Merge branch 'solver' into upgrade-1.6.0
2018-06-12 09:47:41 +02:00
Émilie Feral
1f452130f6
[probability] Change 'mu: moyenne' to 'mu: Espérance ou moyenne'
2018-06-08 17:22:35 +02:00
Émilie Feral
f6bdf56c15
[escher] TableViewDataSource: implement default cumulatedWidthFromIndex,
...
cumulatedWidthFromIndex, indexFromCumulatedWidth,
indexFromCumulatedHeight
2018-06-07 16:21:31 +02:00
Émilie Feral
24c9549866
[escher] Handle copy/cut event on selectable table view
2018-06-07 14:46:14 +02:00
Émilie Feral
4cbf0b86e9
[probability] Increase binomial n cap to 99999
2018-06-04 15:42:13 +02:00
Émilie Feral
84a78c8a9b
[probability] Add comment for future improvement in Binomial law
...
computation
2018-05-23 10:14:21 +02:00
Émilie Feral
f2887e895d
[probability] Increase the cap of parameters on binomial law
2018-05-23 10:14:21 +02:00
Émilie Feral
7f6d1f0e31
[probability] Fix evalution of the binomial density: some computation
...
were done in float instead of in double
2018-05-23 10:14:21 +02:00
Romain Goyet
84561a929f
[escher] Clean the ScrollView, TableView and SelectableTableView constructors
2018-04-18 18:08:07 +02:00
Émilie Feral
576caa039f
[apps][escher] Add methods 'handleEventWithText' in TextField and
...
TextArea to fix bug in probability (adding a toolbox text from the
calculations controller)
2018-03-22 13:12:12 +01:00
Émilie Feral
963d2a57e3
[apps] Probability: special cases when inversing discrete law
2018-03-22 10:57:40 +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
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
cd93f827c1
[apps] Probability: improve precision of inverse normal probability
...
using erfInv
2018-01-04 15:48:06 +01:00
Émilie Feral
9506f22576
[apps] Probability: add erfInv function and tests
2018-01-04 15:48:06 +01:00
Émilie Feral
faac0d7a58
[escher] Change TableView::size() to
...
TableView::minimalSizeForOptimalDisplay()
2018-01-04 15:48:06 +01:00
Émilie Feral
da319723a3
[apps] Probability: improve precision of normal law density
2018-01-04 15:48:06 +01:00
Émilie Feral
e0b9db43ab
[apps] Probability: order subviews to draw the law curve at last
...
(avoiding visible noise)
2018-01-04 15:48:06 +01:00
Émilie Feral
fa127ced4e
[apps] Probability: clean table margins (replace weird cell margins by
...
table margins)
2018-01-04 15:48:06 +01:00
Émilie Feral
30e6d0b3f0
[apps] Probability: enable to copy content of non-editable calculations
2018-01-04 15:48:06 +01:00
Émilie Feral
26bbfa85ec
[apps] Probability: fix bug in layout (the textfield was moving when
...
adding characters)
2018-01-04 15:48:06 +01:00
Émilie Feral
fd06d428e5
[apps] Redesign Probability Calculation page
2018-01-04 15:48:06 +01:00
Émilie Feral
e8793c429c
[escher] In textfield: when calling textFieldDidHandleEvent, precise if
...
there was any modification in the text
2018-01-04 15:48:06 +01:00
Émilie Feral
c7b9b21074
[apps] Probability: optimize view reloading in calculation page
2018-01-04 15:48:06 +01:00
Émilie Feral
8f4e9b9656
[apps] Probability: redesigning the calculation controller (for future
...
scrolling purpose)
2018-01-04 15:48:06 +01:00
Émilie Feral
6ccabe2d3b
[apps] Probability: fix bug: for discrete laws, when inversing
...
probability, round to the closest existing probability (instead of the
closest smaller)
2018-01-04 15:48:06 +01:00
Émilie Feral
6f7e1447ed
[apps] Probability: display 7 significative numbers in calculation
...
results
2018-01-04 15:48:06 +01:00
Émilie Feral
0d3d7f3587
[apps] Probability: do not round the calculation results with 3 decimals
2018-01-04 15:48:06 +01:00
Émilie Feral
07054835b4
[apps] Probability: update the size of calculation boxes with their
...
content
2018-01-04 15:48:06 +01:00
Émilie Feral
83b5798850
[apps] Factorize code: textFieldDidReceiveEvent implementation is
...
identical for all parameters controller
2017-12-20 17:41:03 +01:00
Émilie Feral
2c85fe88a5
[apps] Probability: textfields should finish editing when the cursor is
...
on one edge of the field
2017-12-20 17:17:51 +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
15610064fa
Coverity: fix unitialized pointer fields, out of bounds reads ...
...
Change-Id: Iae0656ffe667692dfb3bebf9bb7913b5872175c6
2017-12-06 14:50:26 +01:00
Émilie Feral
c545a23ec6
[kandinsky] Fix draw rect+change name: drawRect->strokeRect
...
Change-Id: I1c59e34b126aa54819e399d095499758b9e73125
2017-12-06 14:49:53 +01:00
Émilie Feral
b7a74c2c46
[apps] In Probability: fix bug when a = 0 and b = 1E-43 < FLT_EPSILON
...
Change-Id: Ib4fd405178fa0d7e8571f2da14e177fe67e3c96d
2017-12-05 12:10:10 +01:00
Émilie Feral
fda382cc0d
[poincare] Change name: evaluate->approximate
...
Change-Id: I649a7c640190713dcf063a4148decd6038e62796
2017-11-24 13:31:44 +01:00
Émilie Feral
76cbd2678d
[poincare] Change names: approximate->approximateToScalar
...
Change-Id: I701451b35909bb577dd729e0ea76a405b9543f23
2017-11-24 12:06:35 +01:00
Léa Saviot
a14cfd0aea
[code] Script names are displayed and can be edited.
...
Change-Id: I5acc468920b66673e78da130bf90a74d0c062211
2017-11-17 11:59:50 +01:00
Jacob Young
17ac54cad5
Use cmath in c++ files.
2017-10-13 18:08:15 +02:00
Jacob Young
da1e66e798
Fix #115 by fixing the math.h and cmath includes.
2017-10-13 18:08:15 +02:00
Romain Goyet
e6ed6c74a4
[apps] Split the i18n in multiple files
...
A Python script aggregates all i18n files and merges them.
We now can pick a list of locales to build in EPSILON_I18N_LANGUAGES
2017-09-29 17:08:46 +02:00
Romain Goyet
dcdd27d6bf
[apps] Apps can be picked and ordered at compile-time
2017-09-20 11:18:39 +02:00
Émilie Feral
8c86b62df6
[apps/proba] Avoid hanging in normal law: forbid values <= MIN_FLOAT
...
Change-Id: Id6c7816e9b6726e4732b6eae5eb1a5b63d019196
2017-08-28 11:51:17 +02:00
Émilie Feral
90891dabe8
[apps/proba] Avoid using unitialize values (valgrind)
...
Change-Id: I5c15cc0db7eb5cbcd23efbb59f2bd35366081b9f
2017-08-25 18:16:13 +02:00
Émilie Feral
3faf0b55b2
[apps/probability] Fix bug in poisson law
...
Change-Id: I9bfc59ab7a07eb2658081abbf44f3ff127d0218a
2017-08-25 11:20:49 +02:00