Commit Graph

1950 Commits

Author SHA1 Message Date
Émilie Feral
f4b87f8680 [solver] Increase the 'Solve equation' button size 2018-06-08 15:15:25 +02:00
Émilie Feral
aec1ca1baa [solver] Improve solver icon 2018-06-08 15:15:25 +02:00
Émilie Feral
d176f140b0 [solver] Improve brace rendering 2018-06-08 15:15:25 +02:00
Émilie Feral
2d1c31a54b [solver] Align the 'Add Equation' button with the equation list 2018-06-08 15:15:25 +02:00
Émilie Feral
07d568030d [calculation] When replacing 'ans' symbol, use approximate result to
avoid weird unparsable expresion as 'ans=3' --> '2=2=3'
2018-06-08 15:15:25 +02:00
Émilie Feral
6ca93a5f35 [solver] Equation List: Hide brace margin when it is not displayed 2018-06-08 15:15:23 +02:00
Émilie Feral
ed74c4e6e2 [solver] Reload the brace view when adding or removing row in the list
controller
2018-06-08 15:13:50 +02:00
Émilie Feral
ad6c985111 [solver] ExpressionCell are EvenOddExpressionCell rather than former
ModelExpressionCell
2018-06-08 15:13:50 +02:00
Émilie Feral
a120c1c7e0 [solver] Add a brace view on the list controller 2018-06-08 15:13:41 +02:00
Émilie Feral
0a27cc1584 [solver] The 'resolve' button evolves from 'Resolve equation' to
'Resolve system'
2018-06-07 16:21:39 +02:00
Émilie Feral
bc8dbd85c1 [solver] If one equation is undefined, display a warning 2018-06-07 16:21:39 +02:00
Émilie Feral
f6bdf56c15 [escher] TableViewDataSource: implement default cumulatedWidthFromIndex,
cumulatedWidthFromIndex, indexFromCumulatedWidth,
indexFromCumulatedHeight
2018-06-07 16:21:31 +02:00
Émilie Feral
2d580faf51 [solver] Ignore empty equation when resolving systems 2018-06-07 14:46:14 +02:00
Émilie Feral
ac9da8d559 [escher] Handle copy/cut event on Expression in selectable table view 2018-06-07 14:46:14 +02:00
Émilie Feral
24c9549866 [escher] Handle copy/cut event on selectable table view 2018-06-07 14:46:14 +02:00
Émilie Feral
5378b90da8 [sequence] SequenceDefinition: Delete weird empty space to avoid getting
u(n ) when applying ExpressionLayout::writeInTextBuffer
2018-06-07 14:46:14 +02:00
Émilie Feral
354c9d1ccd [solver] Change b^2-4ac formula to D=b^2-4ac 2018-06-07 14:46:14 +02:00
Émilie Feral
d33372eae0 [solver] Avoid displaying 17 = 17 in solutions controller: test for
layout equality
2018-06-07 14:46:13 +02:00
Émilie Feral
150d66b00b [solver] Fix and add tests 2018-06-07 14:46:13 +02:00
Émilie Feral
963a48efad [solver] Decrease the step to solve non-linear monovariable equation 2018-06-07 13:46:19 +02:00
Émilie Feral
9a7f7f7fe3 [solver] Add the right equal symbol (equal/approximate) in solutions
controller
2018-06-07 13:46:19 +02:00
Émilie Feral
4b007ef32c [poincare] Add a method on expression to know if the expression is equal
to its approximation
2018-06-07 13:46:19 +02:00
Émilie Feral
f78615db40 [solver] Force the searched interval to have Xmin < Xmax 2018-06-07 13:46:19 +02:00
Émilie Feral
fc38fd73f0 [solver] Add a message when they are more then 10 solutions 2018-06-07 13:46:19 +02:00
Émilie Feral
a40f0dcd9c [solver] SolutionsController: change font size of approximate values 2018-06-07 13:46:19 +02:00
Émilie Feral
dcdd2a9b9a [solver] Improve messages for edge cases (No equation, no solution...) 2018-06-07 13:46:19 +02:00
Émilie Feral
28a4777c58 [solver] ApproximateSolver 2018-06-07 13:46:19 +02:00
Émilie Feral
56d23c213d [solver] Delete equation at first backspace event (instead of clearing
the expression as in Graph/Sequence)
2018-06-07 13:46:19 +02:00
Émilie Feral
bc33b10368 [poincare] Move maximum/roots solver from CartesianFunction to
Poincare::Expression
2018-06-07 13:46:19 +02:00
Émilie Feral
fccebdcc06 [poincare] Move maximum/roots solver from CartesianFunction to Poincare::Expression (part I) 2018-06-07 13:46:19 +02:00
Émilie Feral
1f16ccb661 [solver] Change stack for approximate solutions 2018-06-07 13:46:19 +02:00
Émilie Feral
a2469c458f [solver] Add a interval parameter controller for approximate solutions 2018-06-07 13:46:19 +02:00
Émilie Feral
e4dd197af5 [solver] Add comment to EquationStore 2018-06-07 13:46:19 +02:00
Émilie Feral
8b7813868a [solver] In SolutionsController: make the delta cell an expression cell
for a better layout
2018-06-07 13:46:19 +02:00
Émilie Feral
01d3476b1d [shared] Fix scrollable_exact_approximate_expressions_view handleEvent:
jump to the right expression only when it is visible
2018-06-07 13:46:19 +02:00
Émilie Feral
6e43cca75d [solver] Clean warning 2018-06-07 13:46:19 +02:00
Émilie Feral
7988f83657 [solver] Improve cell layouts in solutions controller 2018-06-07 13:46:18 +02:00
Émilie Feral
36d058caec [shared] Add a margin to ScrollableExactApproximateExpressionsCell 2018-06-07 13:46:18 +02:00
Émilie Feral
24766c8ede [poincare] getPolynomialCoefficients return reduced polynomial coefficients 2018-06-07 13:46:18 +02:00
Émilie Feral
a78fb2397f [solver] EquationStore: implement resolveLinearSystem 2018-06-07 13:46:18 +02:00
Émilie Feral
699010484f [solver] Equation: fix edge case: if the equation was simplified because
always true, the standard form must be 0
2018-06-07 13:46:18 +02:00
Émilie Feral
dca5266187 [solver] Fix SolutionsController: willDisplayCellAtLocation: reloading
the cell has to happen after populating it with the right parameters to
avoid layout based on delete expression layouts.
2018-06-07 13:46:18 +02:00
Émilie Feral
4ade972860 [shared] Coding style 2018-06-07 13:46:18 +02:00
Émilie Feral
1f57d0a242 [solver] Fix an even odd bug: make colors consistent between even odd
cells and inheriting even odd cells
(scrollable_exact_approximate_expressions_cell)
2018-06-07 13:46:18 +02:00
Émilie Feral
79bf1dd3e3 [poincare] Fix Power::polynomialDegree and
Poincare::getPolynomialCoefficients
2018-06-07 13:46:18 +02:00
Émilie Feral
1300750988 [solver] Display the 'no solution' page when the equation store is empty 2018-06-07 13:46:18 +02:00
Émilie Feral
0f89de63f3 [solver][poincare] Fix tests 2018-06-07 13:46:18 +02:00
Émilie Feral
b3ce8e2bc9 [solver] Display the solutions controller when resolving equation system 2018-06-07 13:46:18 +02:00
Émilie Feral
3434202b48 [solver] Create a class SolutionsController 2018-06-07 13:46:18 +02:00
Émilie Feral
ddfcbfebbf [shared] Add a class ScrollableExactApproximateExpressionsCell 2018-06-07 13:46:18 +02:00