Commit Graph

26 Commits

Author SHA1 Message Date
Émilie Feral
64d6450728 [solver] Handle unreal equations and equations whose solutions are
unreal
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
aa80710f4d [solver] Take into account the complexFormat Real 2019-01-10 11:42:04 +01:00
Émilie Feral
c6039423a9 [poincare] When simplifying an expression, also compute the approximation from the reduced
expression to avoid loss of precision.

If an expression is reduced to a ComplexCartesian(a, b), we compute the
approximation from ComplexCartesian(a,b) instead of going through the
potentially complicated expression resulting from beautifying
(sqrt(a^2+b^2)*exp(i*(arctan(b/a) -Pi/2*sign(b)) for example)
2019-01-10 11:42:03 +01:00
Léa Saviot
056c78408d [apps/solver] Reove unneeded EquationStore::Error::VariableNameTooLong 2018-11-23 12:04:07 +01:00
Léa Saviot
07d1aabb56 [apps/solver] Remove max variable name size redefinition 2018-11-23 12:04:07 +01:00
Émilie Feral
0544aca649 [solver] Fix Solver with variable-length symbols 2018-11-23 12:03:58 +01:00
Émilie Feral
6113f97027 [solver] Display warning when one of the variable name exceeds 10
characters
2018-11-23 12:03:58 +01:00
Émilie Feral
75a1de32ed [solver] Fix EquationStore with variable-sized variables 2018-11-23 12:03:58 +01:00
Émilie Feral
5beafd2bf3 [poincare] Change Expression::getVariables to get symbols with variable
sizes
2018-11-23 12:03:58 +01:00
Émilie Feral
365b145cf3 [poincare] Change names: LayoutReference-->Layout 2018-09-18 16:29:44 +02:00
Émilie Feral
de3174d77f [solver] Fix EquationStore with new Poincare API 2018-09-06 18:05:31 +02:00
Émilie Feral
4b40099a9e [solver] Clean equation store 2018-06-12 15:05:16 +02:00
Émilie Feral
bc8dbd85c1 [solver] If one equation is undefined, display a warning 2018-06-07 16:21:39 +02:00
Émilie Feral
2d580faf51 [solver] Ignore empty equation when resolving systems 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
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
fc38fd73f0 [solver] Add a message when they are more then 10 solutions 2018-06-07 13:46:19 +02:00
Émilie Feral
28a4777c58 [solver] ApproximateSolver 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
6e43cca75d [solver] Clean warning 2018-06-07 13:46:19 +02:00
Émilie Feral
4d70fa2e0c [solver] Complex Equation Store 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
1cac2693c3 [poincare] Implement getVariables on Expression 2018-06-07 13:46:18 +02:00
Émilie Feral
5d2079cd9e [solver] First version of Solver app 2018-06-07 13:46:17 +02:00