Léa Saviot
21a4139c19
[apps/regression] Clean partialDerivate of the models
2020-05-13 15:25:33 +02:00
Léa Saviot
3747b5a4b0
[apps/regression] Virtualize only the specialized part of initCoefs
2020-02-12 15:13:16 +01:00
Léa Saviot
a233b02623
[apps/regression] Better coef initialisation for trigonometric_model
...
It improves the trigonometric fit of
x = {0.0, 0.975, 1.97, 2.945, 3.971, 4.887, 5.924, 6.964, 7.979, 8.974, 9.998};
y = {-23.784, -23.322, -28.322, -18.422, -4.813206, 7.146241, 16.631, 16.632, 9.209189, -6.050863, -19.659};
2020-02-12 15:13:15 +01:00
Léa Saviot
fbec61db47
Merge branch 'feature/Gradians' of https://github.com/boricj/epsilon
2019-08-22 11:25:25 +02:00
Émilie Feral
9fbec16db4
[poincare] Merge MultiplicationImplicit and MultiplicationExplicit (they
...
were required if we wanted to parse into two distincts expression 2π and
2*π but don't)
2019-08-08 17:22:05 +02:00
Émilie Feral
c1cd0302b8
[poincare] Fix typo: explicite --> explicit, implicite --> implicit
2019-08-08 17:22:04 +02:00
Émilie Feral
fd25b678ce
[poincare] Split Multiplication into MultiplicationExplicite and
...
MultiplicationImplicite
2019-08-08 17:22:02 +02:00
Léa Saviot
5a79d26191
[apps/regression] Factorize Model::simplifiedExpression
2019-08-08 16:22:28 +02:00
Jean-Baptiste Boric
1c40194ac1
[regression] Add gradians support
2019-06-24 22:32:55 +02:00
Léa Saviot
7329b450dc
[apps/reg] Factorize the model layouts fonts
2019-05-03 15:53:21 +02:00
Léa Saviot
c9d548ec8a
[apps/reg] Clean regression models layout creation
2019-05-03 15:53:21 +02:00
Léa Saviot
bbb10f1993
[ion/kandinsky] Move unicode to ion
2019-05-03 15:53:19 +02:00
Léa Saviot
65e5adafac
Remove Ion::Charset
2019-05-03 15:53:19 +02:00
Léa Saviot
f576e31ff1
[apps/poincare] Replace CharLayouts with CodePointLayouts
2019-05-03 15:53:19 +02:00
Léa Saviot
7cfeac8387
[apps/reg] Factorize the model layouts fonts
2019-04-12 15:16:53 +02:00
Léa Saviot
93388a0248
[apps/reg] Clean regression models layout creation
2019-04-12 15:16:53 +02:00
Léa Saviot
b6eb663f53
[ion/kandinsky] Move unicode to ion
2019-04-12 15:16:51 +02:00
Léa Saviot
63d7155376
Remove Ion::Charset
2019-04-12 15:16:50 +02:00
Léa Saviot
db54c5bd27
[apps/poincare] Replace CharLayouts with CodePointLayouts
2019-04-12 15:16:50 +02:00
É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