Léa Saviot
|
f962e92316
|
[apps/graph] Fix wrong assertion
|
2019-01-10 11:42:04 +01:00 |
|
Léa Saviot
|
8e725ce328
|
[emscripten] Init the random seed to current time
This way the random numbers sequence changes each time epsilon is
launched.
|
2019-01-10 11:42:04 +01:00 |
|
Émilie Feral
|
95248edde0
|
[poincare] Fix tests with new beautify order
|
2019-01-10 11:42:04 +01:00 |
|
Émilie Feral
|
284a020de3
|
[poincare] Constant: order constant e, i and pi correctly
|
2019-01-10 11:42:04 +01:00 |
|
Émilie Feral
|
83bb2f1221
|
[poincare] Fix Expression::CreateComplexExpression: should not check the sApproximationEncounteredComplex here as this method is also used int the reduction routine
|
2019-01-10 11:42:04 +01:00 |
|
Émilie Feral
|
65527f22b2
|
[poincare] Remove duplicate calls to SetEncounterComplex
|
2019-01-10 11:42:04 +01:00 |
|
Émilie Feral
|
97b13bae5d
|
[poincare] Fix SimplificationOrder:
Sorting cos(2)*pi should return pi*cos(2)
Sorting pi+cos(2) should return cos(2)+pi
|
2019-01-10 11:42:04 +01:00 |
|
Émilie Feral
|
ad8f0a73d9
|
[poincare] Fix Addition::shallowBeautify
B+A should be beautified in A+B
1+x should be beautified in x+1
|
2019-01-10 11:42:04 +01:00 |
|
Léa Saviot
|
1b0b9a5c42
|
[apps/probability] Color the background behind graph labels
|
2019-01-10 11:42:04 +01:00 |
|
Léa Saviot
|
57aada49ec
|
[apps/probability] Code cleaning
|
2019-01-10 11:42:04 +01:00 |
|
Léa Saviot
|
2cb921d501
|
[apps] Clean comment
|
2019-01-10 11:42:04 +01:00 |
|
Léa Saviot
|
155688540f
|
[apps/curve_view] Clean grid unit algorithm
|
2019-01-10 11:42:04 +01:00 |
|
Léa Saviot
|
d3dd644e0d
|
[apps/curve_view] Draw graduations event if step << x
|
2019-01-10 11:42:04 +01:00 |
|
Léa Saviot
|
4353d80b26
|
[apps/probability] Increase Normal law values (draw centered reduced)
|
2019-01-10 11:42:04 +01:00 |
|
Léa Saviot
|
c9a0afc950
|
[apps/probability] Clean code spaces in NormalLaw
|
2019-01-10 11:42:04 +01:00 |
|
Léa Saviot
|
ee974c0d34
|
[apps/probability] Factorize Normal law xMin and xMax
|
2019-01-10 11:42:04 +01:00 |
|
Léa Saviot
|
97db53007a
|
[apps] Fix wrong assertion that should be an escape case
|
2019-01-10 11:42:04 +01:00 |
|
Émilie Feral
|
6021579ae3
|
[regression] Clean warnings
|
2019-01-10 11:42:04 +01:00 |
|
Émilie Feral
|
2ea39fcaa4
|
[poincare] Addition: shallowBeautify sorts its children in decreasing
order: 1+x+x^2 --> x^2+x+1
|
2019-01-10 11:42:04 +01:00 |
|
Émilie Feral
|
fe8825df35
|
[shared] PoincareHelpers: update the complexFormat (force it to
Cartesian with complex input).
|
2019-01-10 11:42:04 +01:00 |
|
Émilie Feral
|
3fd737ab72
|
[poincare] Change name: sApproximationEncounterComplex -->
sApproximationEncounteredComplex
|
2019-01-10 11:42:04 +01:00 |
|
Émilie Feral
|
b8826b1cf4
|
[poincare] (-1)^(p/q) is not reduced the same way according to the
complex format
|
2019-01-10 11:42:04 +01:00 |
|
Émilie Feral
|
6506588244
|
[poincare] Complex: do not set the SetEncounterComplex flag when
building an undefined complex
|
2019-01-10 11:42:04 +01:00 |
|
Émilie Feral
|
ab555888aa
|
[solver] Clean and add tests on non-real equations
|
2019-01-10 11:42:04 +01:00 |
|
Émilie Feral
|
d66d71a152
|
[solver] Fix tests on unreal equations
|
2019-01-10 11:42:04 +01:00 |
|
Émilie Feral
|
8ac623be08
|
[solver] ListController: display a pop up when an equation is 'unreal'
|
2019-01-10 11:42:04 +01:00 |
|
Émilie Feral
|
64d6450728
|
[solver] Handle unreal equations and equations whose solutions are
unreal
|
2019-01-10 11:42:04 +01:00 |
|
Émilie Feral
|
fc6793233f
|
[solver] I18n: add message 'unreal equation'
|
2019-01-10 11:42:04 +01:00 |
|
Émilie Feral
|
61d58b5dfa
|
[shared] SimplifyAndApproximate is used with already updated
ComplexFormat
|
2019-01-10 11:42:04 +01:00 |
|
Émilie Feral
|
786cefc3d4
|
[calculation] No special case for unreal calculation, it is handled in
simplication and approximation routines.
|
2019-01-10 11:42:04 +01:00 |
|
Émilie Feral
|
ae2de436c2
|
[poincare] Add tests on ComplexFormat == Real
|
2019-01-10 11:42:04 +01:00 |
|
Émilie Feral
|
c6177a8edc
|
[poincare] Power: fix bug: if a unreal node appears, it needs to be
bubbled up
|
2019-01-10 11:42:04 +01:00 |
|
Émilie Feral
|
e265b0319c
|
[poincare] Power: avoid infinite loop of reduction
2^(1/2+a) --> 2^(1/2)*2^a --> 2^(1/2+a)-->...
|
2019-01-10 11:42:04 +01:00 |
|
Émilie Feral
|
2268817738
|
[poincare] The reduction routine is unterrupted if one of the expression
leaves is unreal or undefined. If any leaf is unreal the result is
unreal (unreal > undefined)
|
2019-01-10 11:42:04 +01:00 |
|
Émilie Feral
|
2052ee43ae
|
[apps][poincare] An expression is undefined if it is of type 'unreal' or
'undefined'
|
2019-01-10 11:42:04 +01:00 |
|
Émilie Feral
|
4e345b7050
|
[poincare] Unreal: approximating unreal set the sApproximationEncounterComplex to true
|
2019-01-10 11:42:04 +01:00 |
|
Émilie Feral
|
05ef7008dc
|
[solver] Fix bug: when the number of solutions is infinite, do not try
to find the solution layouts
|
2019-01-10 11:42:04 +01:00 |
|
Émilie Feral
|
87391d65ee
|
[poincare] Missing header in sign_function
|
2019-01-10 11:42:04 +01:00 |
|
Émilie Feral
|
cbd3eeb3f6
|
[poincare] Turn i into unreal when complexFormat is Real
|
2019-01-10 11:42:04 +01:00 |
|
Émilie Feral
|
ecf3f2ea0f
|
[poincare] Create a a flag on Expression that is set when the
approximation encouters a complex value
All approximation methods take the complex format into account.
|
2019-01-10 11:42:04 +01:00 |
|
Émilie Feral
|
c3ad0e027c
|
[poincare] Create class Unreal
|
2019-01-10 11:42:04 +01:00 |
|
Émilie Feral
|
5e434a4c33
|
[poincare] Get rid of useless arguments in shallowReduce
|
2019-01-10 11:42:04 +01:00 |
|
Émilie Feral
|
26e2e9be0d
|
[poincare] Add complex format as an argument of simplification
|
2019-01-10 11:42:04 +01:00 |
|
Émilie Feral
|
1f247b731d
|
[poincare] Discard useless parameters of sign and isReal methods
|
2019-01-10 11:42:04 +01:00 |
|
Émilie Feral
|
3de8901c22
|
[poincare] Use reduce instead of setting the
sSimplificationHasBeenInterrupted flag and deepReducing
|
2019-01-10 11:42:04 +01:00 |
|
Émilie Feral
|
aa80710f4d
|
[solver] Take into account the complexFormat Real
|
2019-01-10 11:42:04 +01:00 |
|
Émilie Feral
|
6fd3a155df
|
[calculation] Take into account the complex format 'real'
|
2019-01-10 11:42:04 +01:00 |
|
Émilie Feral
|
b6ec84f6a9
|
[calculation] Clean and add tests on CalculationStore
|
2019-01-10 11:42:04 +01:00 |
|
Émilie Feral
|
ab13d137fd
|
[settings] Update PreferencesController with new ComplexFormat::Real
|
2019-01-10 11:42:04 +01:00 |
|
Émilie Feral
|
b83ee26636
|
[settings] Add a message I18n: Real
|
2019-01-10 11:42:04 +01:00 |
|