Commit Graph

41 Commits

Author SHA1 Message Date
Léa Saviot
42cdf95e9f [apps/regression] Improve vertical navigation
Data set:
X1 2 3 2   1
Y1 0 1 0.5 5
X2 1 10 2
Y2 0 25 0.5

There was circular navigation on series 2 mean point
2018-12-13 15:56:33 +01:00
Léa Saviot
15c5d2af1b [apps/regression] Fix vertical navigation if 2 series have same point
Data set:
X1: 8 9 10 10
Y1: 2 5 1  2

X2: 10 12 5
Y2: 2  0  8
2018-12-12 17:50:03 +01:00
Léa Saviot
460c21801f [apps/regression] More intuitive curve/dot vertical navigation 2018-12-12 11:14:51 +01:00
Léa Saviot
e3935fd9c0 [apps] Factorize closestCurveIndexVertically from Regression and Graph 2018-11-23 12:04:08 +01:00
Léa Saviot
28189aadac [apps/regression] Fix selection problem when 2 regressions are equal
When going down, the cursor would loop between the 2 equal regressions
without going to lower regressions
2018-11-23 12:04:08 +01:00
Émilie Feral
1b0cd43b56 [regression] Tidy the models' layouts before leaving the app 2018-09-14 15:13:20 +02:00
Émilie Feral
3268a0cb41 [regression] Get rid of dynamic allocation in Store 2018-09-11 13:20:06 +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
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
6e888fb718 [apps/reg] Recompute trigonometric regressions if angle unit changed 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
5f865814f0 [apps/reg] Each regression model can evaluate levelSets (= antecedents) 2018-07-18 10:32:45 +02:00
Léa Saviot
faa52fc66f [apps/reg] Memoize the regression coefficients 2018-07-18 10:32:45 +02:00
Léa Saviot
e777a191c6 [apps/regression] Draw the right regression curve 2018-07-18 10:32:45 +02:00
Léa Saviot
6ca4ecb635 [apps/regression] Display the regression type menu 2018-07-18 10:32:45 +02:00
Léa Saviot
a83ef756b3 [apps/stats/reg] Share Store methods 2018-06-12 15:50:42 +02:00
Léa Saviot
70ad21232d [apps/shared] FloatPairStore -> DoublePairStore 2018-06-11 13:58:25 +02:00
Léa Saviot
0c2c998362 [apps/regression] Navigation between different series in graph 2018-06-11 13:58:24 +02:00
Léa Saviot
060d2a7c43 [apps/regression] Fix graph cursor navigation 2018-06-11 13:58:24 +02:00
Léa Saviot
32e00b5e1e [apps/reg] Init the graph selected series at cursor initialization 2018-06-11 13:58:24 +02:00
Léa Saviot
f6823c038f [[apps/regression] Fix regression (now compiles) 2018-06-11 13:58:24 +02:00
Léa Saviot
1f02b8201e [apps/regression] Fix regression 2018-06-11 13:58:24 +02:00
Léa Saviot
7637183055 [apps] Multiple series in regression/store 2018-05-29 15:34:48 +02:00
Léa Saviot
25713dc950 [apps] Clean and inline regression/store 2018-05-29 15:34:48 +02: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
f0a776a670 [apps] Operations in double when precision required
Change-Id: I7168a861a76178f0bf81841e9378f7399f67914a
2017-08-17 09:31:53 +02:00
Émilie Feral
1964d61fdc [libaxx] add cmath and use cmath instead of math.h when required
Change-Id: Id839b17d33c69e2e002f370e553ff35246a1bc90
2017-08-16 09:55:29 +02:00
Émilie Feral
98a877082c [apps/shared] Factorize regression and function did change range method
Change-Id: Ie4ddefe883a4a0c40f50b5b2afe3d6eb7aa78e0e
2017-06-16 09:56:55 +02:00
Émilie Feral
a6cbd1cb93 [apps/regression] Handle edge cases in regression
Change-Id: Id4a88e19a44ba054db35025173ba0344a989d15e
2017-06-08 17:40:29 +02:00
Émilie Feral
fe86517ab4 [apps/regression] Fix edge cases in correlation coefficient computing
Change-Id: Ief566332e67ae3155366e51dd989162d3bb9ff0f
2017-06-05 12:06:54 +02:00
Émilie Feral
680c84e413 Clean with clang analyzer
Change-Id: I4897b3a88795d76f4ac7e6f788a7e6d19397dbfd
2017-03-28 14:49:28 +02:00
Émilie Feral
4b3e5f30b6 [apps/regession] Return warning when the user want to go to a point no
reached by the regression curve

Change-Id: Iefaabcc470e65ee5bc2b447af9f2dacbf2902f31
2017-02-20 10:54:02 +01:00
Émilie Feral
23026b6718 [apps/shared] Namespace shared
Change-Id: I6dec7ce900bb4e801a25c567fe5e242cb744cf29
2017-02-13 17:15:06 +01:00
Émilie Feral
93d272486f Clean warnings
Change-Id: I79a3a97c5c118c9d6e1436e51b45cb51fee3c21f
2017-01-30 15:30:58 +01:00
Émilie Feral
c3008ca360 [apps] Improvements of MVC structure regarding curve views and ranges
Change-Id: Iec8031dbf349c34c18694dffabd02ef9c88ebf2d
2017-01-18 14:31:42 +01:00
Émilie Feral
72de9990e9 [apps/regression] Change de default initialisation of regression graph
Change-Id: Id6e0aa7fdac419295f799b0a821bd61e10382f23
2017-01-15 20:14:55 +01:00
Émilie Feral
ca1b61c97a [apps] Avoid switch() {} when possible.
Change-Id: I4e050dcb761fe5ca6a12af375537f3554f324f68
2017-01-15 20:04:59 +01:00
Émilie Feral
affda5eae9 [apps] Modular reimplementation of application models (stores and
ranges) and of curve views/curve view controllers.

Change-Id: If4ca9bf1bec024917ef540a3fc7baefa8700f7ba
2017-01-10 13:35:19 +01:00
Émilie Feral
b17222112a [apps] Change model data -> float pair store.
Change-Id: I72d5291f3168f2588e2a955476724ce95e32e6f5
2017-01-09 15:08:56 +01:00