Commit Graph

2260 Commits

Author SHA1 Message Date
Émilie Feral
d7ef74c1d2 [shared] Change forgotten !isDefined --> isUninitialized 2018-08-28 10:52:18 +02:00
Émilie Feral
a1bcbe28e6 [quiz] Turn all assert in quiz_assert 2018-08-28 10:40:52 +02:00
Émilie Feral
556ea6b269 [poincare] Expression::Type --> ExpressionNode::Type 2018-08-24 13:13:37 +02:00
Léa Saviot
71c807b565 [poincare] Node->isDefined becomes !Node->isUninitialized 2018-08-14 16:40:12 +02:00
Léa Saviot
5d9e69dedc [poincare] Remove Tree constructors that use nullptr as parameter 2018-08-14 14:58:47 +02:00
Romain Goyet
50d6eee4f4 [poincare] Add some integer tests 2018-08-10 16:27:13 +02:00
Émilie Feral
a4b19e5fc7 [apps] Fix VariableBoxController references to Matrix 2018-08-10 15:54:35 +02:00
Émilie Feral
294fd65e30 [apps] Fix references to Poincare in VariableBoxController 2018-08-10 13:18:46 +02:00
Émilie Feral
17e63a5b07 [shared] Fix references to Poincare 2018-08-10 13:18:46 +02:00
Émilie Feral
b5f66171fc [calculation] Fix all reference to Poincare 2018-08-10 13:18:46 +02:00
Émilie Feral
e9c42e221b [calculation] Fix Calculation 2018-08-10 10:14:59 +02:00
Émilie Feral
7c1649670a [shared] Fix PoincareHelpers 2018-08-10 10:13:25 +02:00
Émilie Feral
aaa20a58fa [poincare] Implement SerializationHelper and
SerializationHelperInterface. WriteTextInBuffer->serialize
2018-08-08 15:31:40 +02:00
Émilie Feral
cb4bb4f8f0 [poincare] Engine-->Helper and break LayoutHelper into LayoutHelper and
SerializationHelper
2018-08-08 14:00:52 +02:00
Émilie Feral
837da498cf [regression] Add a comment regarding the maximal number of coefficients
of regression
2018-08-06 15:58:20 +02:00
Émilie Feral
54f9ea2d46 [poincare] Redesign of Expression: first attempt 2018-08-02 15:46:31 +02:00
Léa Saviot
e4596e9ecb [apps] Remove dead development code 2018-07-31 11:38:28 +02:00
Léa Saviot
5a5f2403da [poincare] Fix calculation height allocation failure handling 2018-07-30 15:36:45 +02:00
Léa Saviot
2d4e36b98c [apps/calc] Handle alloc failure when computing calculation height 2018-07-30 14:47:41 +02:00
Émilie Feral
48f890ef93 [poincare] AngleUnit, FormatComplex and PrintFloatMode are now
enumeration of Preferences class
2018-07-30 13:48:04 +02:00
Émilie Feral
67e9405b8c [poincare] TreeNode: clean names (childTree->child, parentTree->parent
...)
2018-07-27 11:00:50 +02:00
Émilie Feral
729a2eca5c [poincare] References: replace typedNode by overriding node() with the
right return type
2018-07-27 11:00:50 +02:00
Léa Saviot
3b1fc4b3d5 [poincare] Remove old layouts 2018-07-26 14:46:55 +02:00
Léa Saviot
a3032e5ec3 Merge branch Tree into master 2018-07-19 14:01:02 +02:00
Léa Saviot
fba21344b1 [poincare] Put margins in sequence list 2018-07-19 10:16:31 +02:00
Léa Saviot
d890168241 [poincare] Change all subscripts font-size to base layout font-size 2018-07-19 10:16:31 +02:00
Léa Saviot
63ebf895df [apps/sequence] Change method name 2018-07-19 09:55:46 +02:00
Léa Saviot
5b67269e72 [poincare] Fix SequenceToolbox special cells display when scrolling
When scrolling from "v(n+1)" to "abs(x)", the "v(n+1)" cell disappeared
2018-07-19 09:55:46 +02:00
Émilie Feral
e61a408a0a [poincare] Get rid of AngleUnit::Default 2018-07-18 17:09:07 +02:00
Émilie Feral
2e7c08241a [poincare] Change writeTextInBuffer signature (parameters are float
display mode and number of significant digits)
2018-07-18 16:32:50 +02:00
Émilie Feral
b8af15f1ab [poincare] change createLayout signature
- CreateLayout depends on the float display mode and the number of
significant digits
- Float display mode does not have a default value anymore
2018-07-18 16:32:50 +02:00
Émilie Feral
d94ed82ab8 [poincare] Create class Approximation<T> to avoid useless conversion
between Decimal and float/double
2018-07-18 16:32:50 +02:00
Émilie Feral
dd0bc491f6 [poincare] Replace Poincare::Complex by std::complex 2018-07-18 16:32:49 +02:00
Émilie Feral
b0d94f6ead [poincare] Decimal: templatize Decimal constructor on float/double 2018-07-18 16:32:49 +02:00
Émilie Feral
537cae5839 [solver] Memory issue: setEven on cells can lead to relayouting cells.
The cell expression layouts have to be updated before calling any
relaod.
2018-07-18 10:32:46 +02:00
Léa Saviot
42d2a06eee [apps/reg] Fix cursor navigation bug
When going UP, the cursor was sometimes stuck on a point on a regression, switching
between the point and the regression endlessly. Example data set:
X1 = [1, 2, 3, 4, 5] and Y1 = [1, 5, 6, 77, 5]
2018-07-18 10:32:46 +02:00
Léa Saviot
68d915fb3e [apps/reg] Fix window sizing: cursor appears even with big bannerview 2018-07-18 10:32:46 +02:00
Léa Saviot
b9992e5eb6 [apps/reg] Keep cursor on same series when changing a regression type 2018-07-18 10:32:46 +02:00
Léa Saviot
682f12a1ef [apps/regression] Fix simplifiedExpression memoization
The model does not keep a pointer to the simplifiedExpression, the
method calling simplifiedExpression should delete it afterwards
2018-07-18 10:32:46 +02:00
Émilie Feral
448f5b359c [regression] Fix memory leak 2018-07-18 10:32:46 +02:00
Léa Saviot
91f87397f4 [apps/reg] Change Value not reached by regression message 2018-07-18 10:32:46 +02:00
Léa Saviot
32f0d4376b [apps/reg] Remoce TODO comment 2018-07-18 10:32:46 +02:00
Léa Saviot
2d43fd41ff [apps/reg] Better comments 2018-07-18 10:32:46 +02:00
Léa Saviot
6e888fb718 [apps/reg] Recompute trigonometric regressions if angle unit changed 2018-07-18 10:32:46 +02:00
Léa Saviot
91572b9c93 [apps/reg] Lower the maximal number of regression iterations 2018-07-18 10:32:46 +02:00
Léa Saviot
91430c0040 [apps/reg] Sine regression is now a*sin(b*x+c)+d 2018-07-18 10:32:46 +02:00
Léa Saviot
f031a642b8 [apps/reg] Cap the number of matrix modifications 2018-07-18 10:32:46 +02:00
Léa Saviot
c56652cda9 [apps/reg] Algorithm more robust against non invertible matrices 2018-07-18 10:32:46 +02:00
Léa Saviot
c68cd9d2ba [apps/reg] Fix x prediction given y
The expressions need to be simplified before computing intersections
2018-07-18 10:32:46 +02:00
Léa Saviot
bfa69cb4f1 [apps/reg] Reinit cursor when model changes 2018-07-18 10:32:46 +02:00