Émilie Feral
3192ae716e
[quiz] quiz_assert does not abort anymore but enters an infinite loop to
...
avoid reseting the device and losing all the information displayed on
screen
2019-08-08 17:22:05 +02:00
Émilie Feral
4a26900a0f
[poincare] Test: fix build for device
2019-08-08 17:22:05 +02:00
Émilie Feral
d1e9ee9121
[poincare] Add tests about creating layouts from expression
2019-08-08 17:22:05 +02:00
Émilie Feral
5d42ffe960
[poincare] LayoutHelper::String and LayoutHelper::CodePointString return
...
a CodePointLayout if the given buffer has only one CodePoint
2019-08-08 17:22:05 +02:00
Léa Saviot
3bc8a39e35
[poincare/tests] Fix system parentheses in layout seralizations
2019-08-08 17:22:05 +02:00
Léa Saviot
fdc9a98bc4
[poincare/integralLayout] Comment a TODO about serialization
2019-08-08 17:22:05 +02:00
Léa Saviot
c62bb62ce2
[poincare/tests] More tests about unparsable layouts
2019-08-08 17:22:05 +02:00
Léa Saviot
4b3a3d10a8
[poincare/layouts] Fix Prefix serialization
...
Add SystemParentheses around each child if there are more than 1 child,
so we do not parse:
/ \
| 1+binomial(3 | (This is a binomial layout)
| 1),1 |
\ /
2019-08-08 17:22:05 +02:00
Léa Saviot
1993837d80
[poincare/condensed_sum_layout] Remove unneeded implementation
2019-08-08 17:22:05 +02:00
Léa Saviot
86baa8c04b
[poincare/test] Add integral layout not parsable test
2019-08-08 17:22:05 +02:00
Léa Saviot
153c4a3007
[poincare/test] Fix layout_to_expression
2019-08-08 17:22:05 +02:00
Léa Saviot
c548357e81
[poincare/test] Layout serialization tests
2019-08-08 17:22:05 +02:00
Émilie Feral
d9c2a3cac0
[poincare] Add tests in expression_properties (IsApproximate, IsMatrix,
...
sign, IsInfinity...)
2019-08-08 17:22:05 +02:00
Émilie Feral
9bf21970b7
[poincare] Discard TODO
2019-08-08 17:22:05 +02:00
Émilie Feral
ffa2b2576b
[poincare] Add tests about expression order
2019-08-08 17:22:04 +02:00
Ruben Dashyan
d4afcfd9fd
[apps/*_curve_view_range] Mark accessors const
2019-08-08 17:22:04 +02:00
Ruben Dashyan
ed98d8fc93
[apps/shared/memoized_curve_view_range] Inline accessors in header file
2019-08-08 17:22:04 +02:00
Ruben Dashyan
771e0f7c0f
[apps] Simplify Shared::CurveViewRange::x|yGridUnit()
2019-08-08 17:22:04 +02:00
Ruben Dashyan
ffee032e4c
[apps/probability/law] Factor yMin()
2019-08-08 17:22:04 +02:00
Léa Saviot
28b11cb367
[poincare/matrix] Fix createTranspose
2019-08-08 17:22:04 +02:00
Émilie Feral
092fe44dd7
[poincare] Fix text with new Addition and Multiplication
2019-08-08 17:22:04 +02:00
Émilie Feral
0de1b575d5
Clean warnings
2019-08-08 17:22:04 +02:00
Émilie Feral
c1cd0302b8
[poincare] Fix typo: explicite --> explicit, implicite --> implicit
2019-08-08 17:22:04 +02:00
Léa Saviot
ddb05d930d
[poincare/parser] Parse one multiplication/addition for 1+1+1+1+1+1
2019-08-08 17:22:04 +02:00
Émilie Feral
cedcab21ec
[poincare] Tidy tests and add TODO for tests that need to be completed
2019-08-08 17:22:04 +02:00
Léa Saviot
cdbcc3c6bc
[poincare/matrix_identity] Fix shallowReduce
2019-08-08 17:22:04 +02:00
Léa Saviot
db1eb1072f
[poincare/determinant] Try to compute exactly for dim > 3
2019-08-08 17:22:04 +02:00
Léa Saviot
d2c9ba4baa
[poincare/matrix_inverse] Remove duplicate check if matrix is square
...
Also done in Matrix::createInverse
2019-08-08 17:22:04 +02:00
Léa Saviot
4bbb8167f1
[poincare/matrix_inverse] Handle memory error in MatrixInverse
2019-08-08 17:22:04 +02:00
Léa Saviot
89b8fa7121
[poincare/matrix_inverse] Remove TODO
2019-08-08 17:22:04 +02:00
Émilie Feral
6d812fd6f7
[poincare] MultiplicationExplicite::shallowReduce: the parent expression
...
has not be reduced yet, so use isMultiplication instead of type() ==
MultiplicationExplicite.
2019-08-08 17:22:04 +02:00
Émilie Feral
b97387efc4
[poincare] Expression: fix deepBeautify
2019-08-08 17:22:04 +02:00
Émilie Feral
37de87d737
[poincare] Logarithm: when deep reducing, start with the second child to
...
be able to compare the second child to descendent of the first child (to
be able to identify log(x^y, x)
2019-08-08 17:22:04 +02:00
Émilie Feral
302fcce649
[poincare] Discard POINCARE_TESTS_PRINT_EXPRESSIONS flag (has been
...
replaced by POINCARE_TREE_LOG)
2019-08-08 17:22:04 +02:00
Émilie Feral
94598016bf
[poincare] Clean unused ExpressionNode::Type::ComplexPolar
2019-08-08 17:22:03 +02:00
Émilie Feral
fc31b5671f
[poincare] Addition and Subtraction of Matrix and Complex return NAN at
...
approximation ([[2,4][5,6]] + 1 --> NAN)
2019-08-08 17:22:03 +02:00
Émilie Feral
f546845279
[apps] Test: fix calculation and equation test with layout and
...
expression seriazlization
2019-08-08 17:22:03 +02:00
Léa Saviot
f64c5a7214
[poincare] remove duplicate ExpressionOrder definition
2019-08-08 17:22:03 +02:00
Léa Saviot
23acdd7f0d
[apps/calc] Simplify the HistoryViewCell::m_calculationCRC32 initialization
...
It is not very probable that a new CRC32 should be computed to 0, and
maybe not less probable than being computed to the CRC32 of an empty
computation. However this was not mathematially verified.
2019-08-08 17:22:03 +02:00
Léa Saviot
9c95018034
[apps/calc] Init HistoryViewCell::m_calculationCRC32 to better value
2019-08-08 17:22:03 +02:00
Léa Saviot
ee505fe02d
[apps/graph] Factorize some code
2019-08-08 17:22:03 +02:00
Léa Saviot
dfe74dc1cb
[apps/calculationStore] Remove falty assertion
2019-08-08 17:22:03 +02:00
Léa Saviot
2c783fe630
[apps/calcualtion] Remove TODOs
2019-08-08 17:22:03 +02:00
Ruben Dashyan
3bf1d233f7
[apps/probability] Turn P(14<X) into P(X>14)
2019-08-08 17:22:03 +02:00
Ruben Dashyan
a1fa7d71dc
[apps/probability] FiniteIntegralCalculation does not use RightIntegralFirstLegend
2019-08-08 17:22:03 +02:00
Ruben Dashyan
0329eb78cc
[apps/probability/calculation] Remove unused method
2019-08-08 17:22:03 +02:00
Ruben Dashyan
162e547d9d
[apps] Move some specific i18n to probability
2019-08-08 17:22:03 +02:00
Léa Saviot
76a950d572
[apps/calculation] Add assertions instead of escape cases
2019-08-08 17:22:03 +02:00
Léa Saviot
d027a01851
[apps/calculation] Fix calculation memoization
2019-08-08 17:22:03 +02:00
Léa Saviot
849f9237dd
[apps/calculation] Handle calculations too big for buffer
2019-08-08 17:22:03 +02:00