Émilie Feral
2a05247629
[liba] Add hypot in math.h header
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
9fcb22ef8e
[libaxx] Add complex c++ library
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
fc7fea3820
[tests/regression] Add special regression tests scenarii
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
Émilie Feral
77df201905
[poincare] Implement a float/double version of Matrix::inverse
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
Léa Saviot
17c3d52597
[apps/reg] Add multiplication symbols in regression formulas
2018-07-18 10:32:45 +02:00
Léa Saviot
2d7450b1dd
[apps/escher/poincare] Empty expression char is now ø
2018-07-18 10:32:45 +02:00
Léa Saviot
c4c613d642
[apps/reg] Display when data is not suitable for regression
2018-07-18 10:32:45 +02:00
Léa Saviot
a8b2183afa
[apps/reg] Prevent fitting when data not suitable
2018-07-18 10:32:45 +02:00
Léa Saviot
4b8462ed8a
[apps/reg] Do not show "Yprediction given x" if not available
2018-07-18 10:32:45 +02:00
Léa Saviot
94d21fb96a
[apps/reg] When changing a regression, also leave the options menu
2018-07-18 10:32:45 +02:00
Léa Saviot
c720eb60fb
[apps/reg] Add missing i18n file
2018-07-18 10:32:45 +02:00
Léa Saviot
5a64a26d24
[apps/reg] Fix Stats display (add Dash, show curve equation)
2018-07-18 10:32:45 +02:00
Léa Saviot
dd924b2cea
[apps/reg] Fix logistic formula
2018-07-18 10:32:45 +02:00
Léa Saviot
644eec52e2
[apps/reg] Model::numberOfCoefficients return an int, not a double
2018-07-18 10:32:45 +02:00
Léa Saviot
bcc1d3f153
[apps/reg] Display the right data in Stats
2018-07-18 10:32:45 +02:00
Léa Saviot
3cca06e4c7
[apps/graph] Fix message name
2018-07-18 10:32:45 +02:00
Léa Saviot
502ce397d9
[apps/reg] Fix banner view data
2018-07-18 10:32:45 +02:00
Léa Saviot
f885923957
[apps/reg] Display correct formula in banner view
2018-07-18 10:32:45 +02:00