Commit Graph

478 Commits

Author SHA1 Message Date
Émilie Feral
0b71e92625 [apps] Add missing min/max redefinition 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
É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
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
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
47802341f8 [apps/reg] Actualize the current model display in the menu 2018-07-18 10:32:45 +02:00
Léa Saviot
6c93e55687 [apps/reg] Display the current regression model in store parameter menu 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
2b43b6984e [apps] Shared::StoreController does not own the StoreParameterController 2018-07-18 10:32:45 +02:00
Émilie Feral
66d920a280 [shared] Factorize GraphController::initCursorParameters of Graph and
Sequence
2018-07-06 14:00:32 +02:00
Émilie Feral
d36c0c8746 [graph] Fix bug when initializing the selected function on graph 2018-07-06 14:00:32 +02:00
Émilie Feral
a1d6b90705 [shared] FunctionGraphController: fix computeYRange for 1/x 2018-07-04 11:34:08 +02:00
Léa Saviot
eb4ee24a41 [apps/shared] Use activeFunctionStoreIndex in activeFunctionAtIndex 2018-06-26 13:46:00 +02:00
Léa Saviot
a166903659 [apps/graph] Fix graph selection when a function is undef
For instance, input f(x)=1/0 and g(x)=1, the graph tab now selects g
correctly
2018-06-26 13:46:00 +02:00
Léa Saviot
4e81684b08 [apps/stats] No need for special handling of the subview banner views
Just put them to nullptr.
2018-06-12 15:50:50 +02:00
Léa Saviot
acc49412f1 [apps/escher] EvenOddExpressionCell has left and right margins 2018-06-12 15:50:50 +02:00
Léa Saviot
a83ef756b3 [apps/stats/reg] Share Store methods 2018-06-12 15:50:42 +02:00
Léa Saviot
173288dd91 [apps/shared] Fix variables buffer initialisation for getVariables 2018-06-12 15:09:06 +02:00
Léa Saviot
416a45c11b [apps/shared] Fix buffer size initialization 2018-06-12 15:09:06 +02:00
Émilie Feral
9c316949bd [shared] Add comments on expression_model 2018-06-12 15:04:25 +02:00
Léa Saviot
afd81ebd10 [apps/stat/reg] Fix memory leak in Store Context 2018-06-12 10:54:26 +02:00
Émilie Feral
67cddf554d Merge branch 'lea-statistics' into upgrade-1.6.0 2018-06-12 10:25:54 +02:00
Émilie Feral
e9c4485eeb Merge branch 'solver' into upgrade-1.6.0 2018-06-12 09:47:41 +02:00
Léa Saviot
de5cc75ac3 [apps/stats/reg] Data not suitable message 2018-06-11 17:49:24 +02:00
Léa Saviot
a46a059f8b [apps/shared] Use better warning message 2018-06-11 15:26:55 +02:00
Léa Saviot
ec20774739 [app/shared] Fix textfield emptying on syntax error 2018-06-11 13:58:26 +02:00
Léa Saviot
13a4057786 [apps/stats/reg] Do not fill with formula if undefined values 2018-06-11 13:58:26 +02:00
Léa Saviot
d44459bba2 [apps/reg/stats] Share StoreContext 2018-06-11 13:58:26 +02:00
Léa Saviot
2fffe97fee [apps/reg/stats] Do not leave formula input view on Up event 2018-06-11 13:58:26 +02:00
Léa Saviot
0187592dc1 [apps/stats/reg] Fix formula input edition end
Befor, textFieldShouldFinishEditing was true for Right event
2018-06-11 13:58:26 +02:00
Léa Saviot
163513dfc0 [apps/stats/reg] More beautiful formul input view 2018-06-11 13:58:26 +02:00
Léa Saviot
70ad21232d [apps/shared] FloatPairStore -> DoublePairStore 2018-06-11 13:58:25 +02:00
Léa Saviot
8c883b71bf [apps/shared] Handle formula input abort 2018-06-11 13:58:25 +02:00
Léa Saviot
185d77fcb7 [apps/statistics] Set the formula input view label 2018-06-11 13:58:25 +02:00
Léa Saviot
5da90b5160 [apps/stats] Fill with formula in statistics 2018-06-11 13:58:25 +02:00
Léa Saviot
dbf1597ef3 [apps/stats] Display or not the formula input view 2018-06-11 13:58:25 +02:00
Léa Saviot
70e1f5b25b [apps/stats] Inline StoreController::contentView() 2018-06-11 13:58:25 +02:00
Léa Saviot
84131db41c [apps/stats] Start developping the input formula view in data 2018-06-11 13:58:25 +02:00
Léa Saviot
31ee2daf50 [apps/stats] Add option fill with formula (does nothing) 2018-06-11 13:58:25 +02:00
Léa Saviot
6f71ff8a2c [apps/reg] Add separators in Stats 2018-06-11 13:58:24 +02:00
Léa Saviot
5c8f9c60ef [apps/shared] Simplify StoreTitleCell constructor 2018-06-11 13:58:24 +02:00
Léa Saviot
5c3ffecb9b [apps/shared] Take into account the separator width when setting margins 2018-06-11 13:58:24 +02:00
Léa Saviot
36e19af514 [apps/share] Fix include guard in class header 2018-06-11 13:58:24 +02:00
Léa Saviot
73dd1cf335 [shared] Make FloatPairStore::m_numberOfPairs private 2018-06-11 13:58:24 +02:00
Léa Saviot
1e7069f00e [apps/stats] Fix margins and column widths 2018-06-11 13:58:24 +02:00
Léa Saviot
b503213037 [apps/stats] Memoize emptiness of series 2018-06-11 13:58:24 +02:00