Commit Graph

2242 Commits

Author SHA1 Message Date
Léa Saviot
02899b863b [poincare] Median computation (and quartile...) tackles imprecision 2018-09-12 13:40:10 +02:00
Émilie Feral
7b88770c15 [apps] VariableBoxController: fix the row size to avoid overflowing the
maximal number of displayable rows
2018-09-10 10:07:28 +02:00
Léa Saviot
a233df7619 [poincare] Fix DataNotSuitable message (was too long) 2018-09-05 14:31:54 +02:00
Émilie Feral
0b71e92625 [apps] Add missing min/max redefinition 2018-09-04 12:19:49 +02:00
Émilie Feral
b2b0f4fab0 [apps] Clean buffer size declaration 2018-09-04 12:19:49 +02:00
Léa Saviot
adf895daee [apps] Fix DoublePairStore::storeChecksum computation
We used to compute the crc32 of the whole data array, putting empty data
pairs to (0,0), but this hides (0,0) data points additions or removals.
2018-08-30 17:39:44 +02:00
Léa Saviot
2f946e7987 [apps/regression] Add private method globalContext on GraphController 2018-08-30 17:39:10 +02:00
Émilie Feral
3177b26f30 [ion] Clean LED API 2018-08-27 09:53:47 +02:00
Romain Goyet
f0c06a0405 [apps] Exam mode controller uses dark yellow buttons 2018-08-24 17:39:27 +02:00
Louis Rannou
70a2db9336 Fix warnings about comparing different signedness
Some variables were declared as int while they are size_t. As we try to compare
them to unsigned values, a warning was raised (comparison of integer expressions
of different signedness).
2018-08-24 15:32:26 +02:00
EmilieNumworks
a0654e1d20 Merge pull request #632 from EmilieNumworks/exam_mode_boricj
LED blinking with timer (steady blinking + blinking in stand-by mode)
2018-08-24 10:35:10 +02:00
Léa Saviot
812de5d1a0 [apps] Fix pop up clash when plugging the device
Build with ON_BOARDING_APP=1 and power off the calculator. When plugging
the calculator, the device did not enter the DFU mode nor quits exam
mode.
2018-08-23 18:12:30 +02:00
Émilie Feral
4613dd9d8f [ion] Change LED API 2018-08-23 17:40:47 +02:00
Émilie Feral
7d358a2646 Merge branch 'rtc_part1' of https://github.com/boricj/epsilon into exam_mode_boricj 2018-08-22 17:20:04 +02:00
Léa Saviot
fba21344b1 [poincare] Put margins in sequence list 2018-07-19 10:16:31 +02:00
Léa Saviot
d890168241 [poincare] Change all subscripts font-size to base layout font-size 2018-07-19 10:16:31 +02:00
Léa Saviot
63ebf895df [apps/sequence] Change method name 2018-07-19 09:55:46 +02:00
Léa Saviot
5b67269e72 [poincare] Fix SequenceToolbox special cells display when scrolling
When scrolling from "v(n+1)" to "abs(x)", the "v(n+1)" cell disappeared
2018-07-19 09:55:46 +02:00
Émilie Feral
e61a408a0a [poincare] Get rid of AngleUnit::Default 2018-07-18 17:09:07 +02:00
Émilie Feral
2e7c08241a [poincare] Change writeTextInBuffer signature (parameters are float
display mode and number of significant digits)
2018-07-18 16:32:50 +02:00
Émilie Feral
b8af15f1ab [poincare] change createLayout signature
- CreateLayout depends on the float display mode and the number of
significant digits
- Float display mode does not have a default value anymore
2018-07-18 16:32:50 +02:00
Émilie Feral
d94ed82ab8 [poincare] Create class Approximation<T> to avoid useless conversion
between Decimal and float/double
2018-07-18 16:32:50 +02:00
Émilie Feral
dd0bc491f6 [poincare] Replace Poincare::Complex by std::complex 2018-07-18 16:32:49 +02:00
Émilie Feral
b0d94f6ead [poincare] Decimal: templatize Decimal constructor on float/double 2018-07-18 16:32:49 +02:00
Émilie Feral
537cae5839 [solver] Memory issue: setEven on cells can lead to relayouting cells.
The cell expression layouts have to be updated before calling any
relaod.
2018-07-18 10:32:46 +02:00
Léa Saviot
42d2a06eee [apps/reg] Fix cursor navigation bug
When going UP, the cursor was sometimes stuck on a point on a regression, switching
between the point and the regression endlessly. Example data set:
X1 = [1, 2, 3, 4, 5] and Y1 = [1, 5, 6, 77, 5]
2018-07-18 10:32:46 +02:00
Léa Saviot
68d915fb3e [apps/reg] Fix window sizing: cursor appears even with big bannerview 2018-07-18 10:32:46 +02:00
Léa Saviot
b9992e5eb6 [apps/reg] Keep cursor on same series when changing a regression type 2018-07-18 10:32:46 +02:00
Léa Saviot
682f12a1ef [apps/regression] Fix simplifiedExpression memoization
The model does not keep a pointer to the simplifiedExpression, the
method calling simplifiedExpression should delete it afterwards
2018-07-18 10:32:46 +02:00
Émilie Feral
448f5b359c [regression] Fix memory leak 2018-07-18 10:32:46 +02:00
Léa Saviot
91f87397f4 [apps/reg] Change Value not reached by regression message 2018-07-18 10:32:46 +02:00
Léa Saviot
32f0d4376b [apps/reg] Remoce TODO comment 2018-07-18 10:32:46 +02:00
Léa Saviot
2d43fd41ff [apps/reg] Better comments 2018-07-18 10:32:46 +02:00
Léa Saviot
6e888fb718 [apps/reg] Recompute trigonometric regressions if angle unit changed 2018-07-18 10:32:46 +02:00
Léa Saviot
91572b9c93 [apps/reg] Lower the maximal number of regression iterations 2018-07-18 10:32:46 +02:00
Léa Saviot
91430c0040 [apps/reg] Sine regression is now a*sin(b*x+c)+d 2018-07-18 10:32:46 +02:00
Léa Saviot
f031a642b8 [apps/reg] Cap the number of matrix modifications 2018-07-18 10:32:46 +02:00
Léa Saviot
c56652cda9 [apps/reg] Algorithm more robust against non invertible matrices 2018-07-18 10:32:46 +02:00
Léa Saviot
c68cd9d2ba [apps/reg] Fix x prediction given y
The expressions need to be simplified before computing intersections
2018-07-18 10:32:46 +02:00
Léa Saviot
bfa69cb4f1 [apps/reg] Reinit cursor when model changes 2018-07-18 10:32:46 +02:00
Léa Saviot
7a114f525e [apps/reg] Implement numerical level set 2018-07-18 10:32:46 +02:00
Léa Saviot
46458e4847 [apps/reg] Add tests 2018-07-18 10:32:46 +02:00
Léa Saviot
4f00d42121 [apps/reg] Clean and comment code 2018-07-18 10:32:46 +02:00
Léa Saviot
5beed2de1d [apps/regression] Fix power derivate formula 2018-07-18 10:32:46 +02:00
Léa Saviot
7ed836d12b [apps/reg] Fix non invertible matrix condition 2018-07-18 10:32:46 +02:00
Léa Saviot
e174e33480 [apps/reg] Regression computations on arrays, not Expression::Matrix 2018-07-18 10:32:46 +02:00
Léa Saviot
428b60771b [apps/reg] Calculation column size depends on regression type 2018-07-18 10:32:46 +02:00
Léa Saviot
42982cb078 [apps/reg] Fix Stats column widths to fit the quartic regression formula 2018-07-18 10:32:46 +02:00
Léa Saviot
aed2632c9f [apps/reg] Light fix of power and logistic regressions 2018-07-18 10:32:46 +02:00
Léa Saviot
d3e1dfae07 [apps/reg] Remove unneeded message 2018-07-18 10:32:46 +02:00