Léa Saviot
9639469761
[apps/curve_view] Fix drawGridLines that drew the opposite axis
2019-01-10 11:42:05 +01:00
Léa Saviot
869e534b4b
[apps] MAke some InteractiveCurveViewRangeDelegate methods const
2019-01-10 11:42:05 +01:00
Léa Saviot
5d1ef0f3f0
[apps/sequence] Use first ranks when computing graph range
...
Put two sequences u(n+1)=u(n) and v(n+1) = v(n), u(100) = 50, v(50) = 8.
Basic settings computed the x range as [0,10] before, now it is
[50,110].
2019-01-10 11:42:05 +01:00
Léa Saviot
6720ad7b38
[apps] Rename interestingXRange as interestingXHalfRange
2019-01-10 11:42:05 +01:00
Léa Saviot
17a9388623
[apps/sequence] Clean GraphController
2019-01-10 11:42:05 +01:00
Léa Saviot
4d1114ef63
[apps/curve_view] Increase numberOfSignificant digits when needed
...
Labels might be rounded to the same value (for example, in Probability,
draw a normal law with mu = 100000 and sigma = 0.1), in which case we
need to display extremal labels only, with increased number of
significant digits.
2019-01-10 11:42:05 +01:00
Léa Saviot
460b49010c
[apps/curve_view] Do not draw the 0 label if the axis is floating
...
The 0 is represented by the other axis
2019-01-10 11:42:05 +01:00
Léa Saviot
37117ed7e7
[apps/curve_view] Do not draw extremal Y label if it overlaps X labels
2019-01-10 11:42:05 +01:00
Léa Saviot
718160b964
[apps] Draw grid lines in bold and light colors in curve_view
2019-01-10 11:42:05 +01:00
Léa Saviot
5d7a7c7371
[apps/curve_view] Make drawGridLines private
2019-01-10 11:42:05 +01:00
Léa Saviot
69105572ef
[apps] Change axes drawing order in curve views
2019-01-10 11:42:05 +01:00
Léa Saviot
335264e944
[apps] Typo: drawAxes is now drawAxis
2019-01-10 11:42:05 +01:00
Léa Saviot
e5f0959239
[poincare] Static Expression methods start with uppercase
2019-01-10 11:42:05 +01:00
Léa Saviot
271e22628b
Typo in comment
2019-01-10 11:42:05 +01:00
Léa Saviot
8a2bdb4c42
[poincare] When reducing store, handle non reductible left side
2019-01-10 11:42:04 +01:00
Léa Saviot
d6e7f78705
[apps/solver] Clean comments
2019-01-10 11:42:04 +01:00
Léa Saviot
014b481a9b
[apps/solver] Fix iteration max index
2019-01-10 11:42:04 +01:00
Léa Saviot
34b22298c4
[ion/storage] Add assertion on dot in record name
2019-01-10 11:42:04 +01:00
Léa Saviot
4bfd77b093
[test] Replace assert by quiz_assert
2019-01-10 11:42:04 +01:00
Léa Saviot
b25c8f4df2
[poincare] Fix store tests
2019-01-10 11:42:04 +01:00
Léa Saviot
892dd2de4f
[apps/poincare] Clean some comments
2019-01-10 11:42:04 +01:00
Léa Saviot
300e797324
[poincare/store] Store shallow reduces into the reduced left operand
2019-01-10 11:42:04 +01:00
Léa Saviot
101db272c8
[test/calculation] 1+1->a shoud display 2, not 1+1=2
2019-01-10 11:42:04 +01:00
Léa Saviot
ab4b4da069
[apps/graph] Add assertions
2019-01-10 11:42:04 +01:00
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