Commit Graph

4699 Commits

Author SHA1 Message Date
Émilie Feral
b05abf17cc [poincare] Fix getPolynomialCoefficients to avoid overflowing the
coefficients table
2018-06-07 13:46:18 +02:00
Émilie Feral
0b3b58b8f8 [solver] Add messages 2018-06-07 13:46:18 +02:00
Émilie Feral
f992253cec [ion] Add a special char: CapitalDelta 2018-06-07 13:46:18 +02:00
Émilie Feral
cfb891d7bd [shared] Move OutputExpressionView & ScrollableOuputExpression view to shared/ with new name:
ScrollableExactApproximateExpressionsView (for future implementation of solver
solution page)
2018-06-07 13:46:18 +02:00
Émilie Feral
ace75e6ead [solver] Move Poincare::Equal::solve() to Solver app to consider system
instead of single expression
2018-06-07 13:46:18 +02:00
Émilie Feral
0562540ce8 [poincare] First version of a method 'solve' on Equal 2018-06-07 13:46:18 +02:00
Émilie Feral
85fcc9c705 [poincare] Create the method getPolynomialCoefficients on Expression 2018-06-07 13:46:18 +02:00
Émilie Feral
3047803447 [poincare] Fix polynomialDegree of Power: R(x^2+1) should not have a
polynomial degree
2018-06-07 13:46:18 +02:00
Émilie Feral
1cac2693c3 [poincare] Implement getVariables on Expression 2018-06-07 13:46:18 +02:00
Émilie Feral
bcdc5c895c [poincare] Parse all symbols [a-z] 2018-06-07 13:46:17 +02:00
Émilie Feral
0b51b6e4fe [solver][graph][sequence] Force input edition when adding a new
Function/Sequence/Equation
2018-06-07 13:46:17 +02:00
Émilie Feral
2ca685984e [solver] Add a modal with equation models when adding a new equation 2018-06-07 13:46:17 +02:00
Émilie Feral
0610546bae [poincare] Parse x, y, z, t 2018-06-07 13:46:17 +02:00
Émilie Feral
8ee1223362 [solver] Warning if the input expression is not an equality 2018-06-07 13:46:17 +02:00
Émilie Feral
60cb3bbc68 [poincare] Add Equal class 2018-06-07 13:46:17 +02:00
Émilie Feral
5d2079cd9e [solver] First version of Solver app 2018-06-07 13:46:17 +02:00
Émilie Feral
021262e3aa [apps] Split List Controller in Expression Model List Controller and
Function List Controller (factorize code for future solver app)
2018-06-07 13:46:17 +02:00
Émilie Feral
837e0694d1 [shared] Remove New Function Cell class which is a duplicate of Even Odd
Message Text Cell
2018-06-07 13:46:17 +02:00
Émilie Feral
78e750b053 [shared] Change the ModelStore to store Expression Model Store 2018-06-07 13:46:17 +02:00
Émilie Feral
e05709f097 [shared] Factorize FunctionStore in ModelStore<T> (for future
implementation of equation store)
2018-06-07 13:46:17 +02:00
Émilie Feral
b266c4cbd1 [shared] Make a parent class to Function: ExpressionModel (factorize
code for furtur model Equation)
2018-06-07 13:46:17 +02:00
Émilie Feral
e160282e06 [escher] Change the function expression cell to inherit from
even odd expression cell
2018-06-07 13:46:17 +02:00
Romain Goyet
c0d3b97c6b [apps/code] Fix getopt handling 2018-06-05 13:57:04 +02:00
Romain Goyet
96846e9396 [python] Clean up the configuration files 2018-06-04 16:10:14 +02:00
Romain Goyet
73250e727a [python] Update to MicroPython 1.9.4 2018-06-04 16:10:14 +02:00
Romain Goyet
caff93cda0 [code] Avoid init/deinit-ing uPy in each editor redraw 2018-06-04 16:08:11 +02:00
Romain Goyet
b52590e2f7 [code] Use named colors 2018-06-04 16:08:11 +02:00
Romain Goyet
6cd18cca89 [python] Malloc the syntax-highlighting uPy heap 2018-06-04 16:08:11 +02:00
Romain Goyet
29cacbc44f [code] Implement syntax highlighting in PythonTextArea 2018-06-04 16:08:11 +02:00
Romain Goyet
a514f2a6be [escher] TextArea now uses clearRect and drawLine 2018-06-04 16:08:11 +02:00
Romain Goyet
88e40266f6 [code] Create a PythonTextArea 2018-06-04 16:08:11 +02:00
Romain Goyet
9e4a1c7d54 [escher] TextArea cleanup 2018-06-04 16:08:11 +02:00
Romain Goyet
d2b2705d2d [escher] TextInput doesn't use colors anymore 2018-06-04 16:08:11 +02:00
Tillmann Karras
6d2c3dce25 [kandinsky] use pkg-config instead of freetype-config
Since freetype2 version 2.9.1 freetype-config has been deprecated and is
not installed by default anymore:
https://sourceforge.net/projects/freetype/files/freetype2/2.9.1/
2018-06-04 15:44:59 +02:00
Émilie Feral
4cbf0b86e9 [probability] Increase binomial n cap to 99999 2018-06-04 15:42:13 +02:00
Léa Saviot
dbfd6742a7 [poincare] Fix layout collapsing
When collapsing sibling layouts, isCollapsable should be called even if
forceCollapse is true, in order to update the number of open
parentheses.
This fixes the bug: (1+(21)^2), then Event::Divide
2018-05-31 11:53:40 +02:00
Émilie Feral
9e0f7bedd4 [poincare] Rational Power: always reduce p^(-1) if p rational
Otherwise, it causes bug when trying to reduce to same denominator.
For example:
  In Calculation app, type:
    '6' OK,
    'Y-ans/(ans*ans*ans*ans*ans), OK
    OK
    OK
    OK
 --> crash
2018-05-30 11:08:42 +02:00
Émilie Feral
332564318b [statistics] Recompute the histogram range parameters if the store has
changed (even if the bar parameters has not changed, the maximal size
might differ)
2018-05-29 15:34:07 +02:00
Romain Goyet
fde48836e8 Update the README 2018-05-28 10:35:59 +02:00
Romain Goyet
5251c297bb Move to CC-BY-NC-SA 2018-05-28 10:30:45 +02:00
Émilie Feral
20f60319bf [poincare] Fix fix CharLayout: avoid adding multiplication sign between Sto
and another expression without breaking other writeTextInBuffer
(1+x+x^2+x^3)
2018-05-25 10:01:49 +02:00
Émilie Feral
d11967f41a [poincare] Fix CharLayout: avoid adding multiplication sign between Sto
and another expression
2018-05-24 14:49:00 +02:00
Émilie Feral
386ebc5bfc [poincare] Decimal: fix buffer overflow in convertToText 2018-05-23 10:26:52 +02:00
Émilie Feral
84a78c8a9b [probability] Add comment for future improvement in Binomial law
computation
2018-05-23 10:14:21 +02:00
Émilie Feral
0ee32e15be [shared] Curve view: Avoid drawing all bars in histograms when bars
overlap each other due to pixel resolution
2018-05-23 10:14:21 +02:00
Émilie Feral
f2887e895d [probability] Increase the cap of parameters on binomial law 2018-05-23 10:14:21 +02:00
Émilie Feral
7f6d1f0e31 [probability] Fix evalution of the binomial density: some computation
were done in float instead of in double
2018-05-23 10:14:21 +02:00
Émilie Feral
da8286d3f7 [code] Escaping the input loop on a 'home' event should be handled by
the code app instead of the console controller to ensure to escape the
input loop even when the toolbox (or any modal) is displayed
2018-05-23 10:01:15 +02:00
Émilie Feral
5cfe20ad15 [code] Move ConsoleController from MenuController to App 2018-05-23 10:01:15 +02:00
Émilie Feral
2bd93844cd [poincare] Bug Product([1 1], 1, 3): if the intermediate result is
nullptr, escape the evaluation and return an undefined expression
2018-05-23 09:56:26 +02:00