Émilie Feral
3268a0cb41
[regression] Get rid of dynamic allocation in Store
2018-09-11 13:20:06 +02:00
Émilie Feral
86b3d366ca
[apps] All apps are allocated in the same union
2018-09-11 11:32:29 +02:00
Émilie Feral
579da3033a
[apps] Get rid of DynamicViewController (part 2)
2018-09-07 17:55:42 +02:00
Émilie Feral
ce69702134
[regression] Fix Regression
2018-09-07 12:02:25 +02:00
Émilie Feral
3a58ff7728
[regression] Fix Model
2018-09-07 12:02:25 +02:00
Émilie Feral
ecffed3124
[regression] Fix QuadraticModel
2018-09-07 11:51:34 +02:00
Émilie Feral
01b5001db3
[regression] Fix StoreController with new Poincare
2018-09-07 11:51:34 +02:00
Émilie Feral
dde1409be2
[regression] Fix Models with new Poincare API
2018-09-07 11:40:05 +02:00
Émilie Feral
03dcb58096
[regression] Fix CalculationController with new Poincare API
2018-09-06 16:39:52 +02:00
Émilie Feral
f70f72da1a
Change new Layout -> LayoutRef
2018-09-06 16:04:17 +02:00
Émilie Feral
9f4429159a
[shared] StoreContext does not hold a Float<double> anymore, it is built
...
when calling expressionForSymbol
2018-09-06 14:07:41 +02:00
Émilie Feral
9182d66fcc
[apps] Apps are not allocated on the heap anymore but in a union hold by
...
the AppsContainerStorage
2018-09-06 09:49:38 +02:00
Émilie Feral
a1bcbe28e6
[quiz] Turn all assert in quiz_assert
2018-08-28 10:40:52 +02:00
Émilie Feral
837da498cf
[regression] Add a comment regarding the maximal number of coefficients
...
of regression
2018-08-06 15:58:20 +02:00
É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
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
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
Léa Saviot
4cc4be3e8b
[apps/reg] Fix regression translation
2018-07-18 10:32:46 +02:00
Léa Saviot
02b7c74314
[apps/reg] Add spaces to translation
2018-07-18 10:32:46 +02:00
Léa Saviot
43d077752d
[apps/regression] Change graph options title
2018-07-18 10:32:46 +02:00
Léa Saviot
0b8140993a
[apps/reg] Translations
2018-07-18 10:32:46 +02:00
Léa Saviot
01fe25e4a1
[apps/reg] No regression if number of points inferior to coefficients
...
More specifically, prevent a regression if the number of unique point
abscissae is inferior to the number of coefficients to find.
2018-07-18 10:32:45 +02:00