Émilie Feral
24c9617a89
[poincare] Templatize TreeHandle Builders
2019-02-21 11:29:35 +01:00
Émilie Feral
7b5f3c570d
[poincare] Change the way Expression are built
2019-02-21 11:29:35 +01:00
Émilie Feral
ac6f23684d
[poincare] Clean Expression and Layout builders
...
Before: Opposite(Opposite(Rational(1))) misleadingly created the
expression "-1"; now, Opposite::Builder(Opposite::Builder(Rational(1)))
creates "--1"
2019-02-21 11:29:35 +01:00
Ruben Dashyan
61b1b8a09d
[poincare] Add Expression::FunctionHelper class
...
That class is meant to contain data about named functions (e.g. sin,
tan...) in one place: their name, their number of children and a pointer to
a builder. The derived class corresponding to each such function
contains a private instance (m_functionHelper) and a getter.
The previous parser is removed, along with unecessary
constructors (used by the previous parsers).
2018-11-23 12:04:05 +01:00
Lionel Debroux
1a8c6b6ae9
[poincare, escher, ion, apps] Split the huge umbrella header poincare.h, to reduce build time.
...
This should be a NFC, but surprisingly, it also reduces size... so what does it change ?
2018-10-23 11:49:09 +02:00
Romain Goyet
f8beae3b86
[kandinsky] Move to KDFont
2018-10-11 16:44:02 +02:00
Émilie Feral
cf8378434d
[regression] When creating SimplifiedExpression, use
...
Number::DecimalNumber constructor to enable to get Infinity or Undefined
2018-09-18 17:50:10 +02:00
Émilie Feral
365b145cf3
[poincare] Change names: LayoutReference-->Layout
2018-09-18 16:29:44 +02:00
Émilie Feral
616e4c0bcc
[poincare] Change name: LayoutRef --> LayoutReference
2018-09-14 16:57:12 +02:00
Émilie Feral
1b0cd43b56
[regression] Tidy the models' layouts before leaving the app
2018-09-14 15:13:20 +02:00
Émilie Feral
dde1409be2
[regression] Fix Models with new Poincare API
2018-09-07 11:40:05 +02:00
Émilie Feral
f70f72da1a
Change new Layout -> LayoutRef
2018-09-06 16:04:17 +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
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
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
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
7a114f525e
[apps/reg] Implement numerical level set
2018-07-18 10:32:46 +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
8c5a208b31
[app/reg] Model layouts are accessible through virtual method
2018-07-18 10:32:45 +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
e4fc5e8a64
[apps/reg] Display the regression layouts is RegressionController
2018-07-18 10:32:45 +02:00
Léa Saviot
0e53da5cc4
[apps/reg] Fix TrigonometricModel -> watch out for radians/degrees
2018-07-18 10:32:45 +02:00
Léa Saviot
a7c0bab248
[apps/regression] Levenberg Marquardt regression algorithm
2018-07-18 10:32:44 +02:00