Commit Graph

5291 Commits

Author SHA1 Message Date
Léa Saviot
cf0d22136a [poincare] Remove dummy layout use in sum and product layouts 2018-07-27 10:40:15 +02:00
Léa Saviot
37cdb615ab [poincare] Clean some code 2018-07-27 10:40:15 +02:00
Léa Saviot
27de4ff4a4 [poincare] Fix Sequence parentheses positioning 2018-07-27 10:40:15 +02:00
Léa Saviot
c436a472e7 [poincare] Remove templates on TreeReferences 2018-07-27 10:40:15 +02:00
Léa Saviot
d7b9fb509c [poincare] Remove unneeded LayoutRefs 2018-07-26 17:00:30 +02:00
Léa Saviot
3b1fc4b3d5 [poincare] Remove old layouts 2018-07-26 14:46:55 +02:00
Léa Saviot
e662280000 [poincare] Add static inline max methods 2018-07-26 14:23:13 +02:00
Léa Saviot
a9387c59dc [poincare] Remove dummy layouts use to compute layout positions 2018-07-26 14:16:19 +02:00
Léa Saviot
dbcd45e2b8 [poincare] Make ParenthesisLayoutNode buffer static 2018-07-26 14:15:26 +02:00
Léa Saviot
6ae578b5aa [poincare] Add assertions on layouts' number of children 2018-07-26 10:14:28 +02:00
Léa Saviot
aa2d58c14a [poincare] TreeNodes have a m_numberOfChildren argument 2018-07-26 10:14:28 +02:00
Léa Saviot
bf89edf493 [poincare] Matrix::createLayout 2018-07-25 17:39:11 +02:00
Léa Saviot
e064eec319 [poincare] Escape trivial case 2018-07-25 17:03:13 +02:00
Léa Saviot
2e8c7dee92 [poincare] MatrixLayoutNode 2018-07-25 17:02:09 +02:00
Léa Saviot
31b34b93be [poincare] Handle allocation failure in TreePool::deepCopy 2018-07-25 17:00:21 +02:00
Léa Saviot
3dcefa6a49 [poincare] Fix cast that created a compilation error 2018-07-25 16:59:22 +02:00
Léa Saviot
aebc8d3330 [poincare] GridLayoutNode keep track of its number of children
Before, the number of children was only computed with the number of rows
and columns, but we might need to know the real number of added children
during construction.
2018-07-25 16:57:31 +02:00
Léa Saviot
fd490e9d9b [poincare] Clean BracketPairLayoutNode and GridLayoutNode 2018-07-25 16:54:55 +02:00
Léa Saviot
a8de1f6c89 [poincarê] BinomialCoefficientLayoutNode 2018-07-25 10:59:46 +02:00
Léa Saviot
b9b153d531 [poincare] Complete GridLayout class so it's not virtual
We are then able to build GridLayoutRef objects, needed for
MatrixLayouts
2018-07-25 10:25:44 +02:00
Léa Saviot
bd3a88b007 [poincare] GridLayoutNode 2018-07-20 12:20:28 +02:00
Léa Saviot
cddbdaa71d [poincare] FractionLayoutNode 2018-07-20 10:50:53 +02:00
Léa Saviot
dac017e3c9 [poincare] Fix HorizontalLayoutNode::willAddSibling 2018-07-20 09:51:05 +02:00
Émilie Feral
55b3ad0b73 [poincare] LayoutReference: change clone implementation to avoid
useless retain count update
2018-07-19 16:49:55 +02:00
Léa Saviot
3c0a5c38d1 [poincare] IntegralLayoutNode 2018-07-19 16:49:41 +02:00
Léa Saviot
e0790f1fd0 [poincare] CondensedSumLayoutNode 2018-07-19 14:59:25 +02:00
Léa Saviot
a3032e5ec3 Merge branch Tree into master 2018-07-19 14:01:02 +02:00
Émilie Feral
3c44a5540c [poincare] Tree: enable to create node of variable size given in
parameters
2018-07-19 10:36:59 +02:00
Léa Saviot
1137a16750 [poincare] ConjugateLayoutNode 2018-07-19 10:36:59 +02:00
Léa Saviot
9112feba6c [poincare] NthRootLayoutNode 2018-07-19 10:36:59 +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
7735b4305b [poincare] Change sequence symbols subscript 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
0bfe78e568 [poincare] Decimal: fix the number of significative digits displayed 2018-07-18 17:09:07 +02:00
Émilie Feral
2791c8bdef [poincare] Fix tests 2018-07-18 17:09:07 +02:00
Émilie Feral
1455923904 [poincare] Decimal: fix error in convert to text 2018-07-18 17:09:07 +02:00
Émilie Feral
1e0836ed74 [poincare] Fix tests 2018-07-18 17:09:07 +02:00
Émilie Feral
77047a173b [liba] define fmod 2018-07-18 17:09:07 +02:00
Émilie Feral
6d16bb62a8 [poincare] Wrap the std::complex methods in Poincare to choose the right branch cut
and avoid residual real or imaginary pars due to lost precision
2018-07-18 17:09:07 +02:00
Émilie Feral
042beb1028 [poincare] Move 'complexToExpression' to Evaluation class 2018-07-18 17:09:07 +02:00
Émilie Feral
0c61e74675 [poincare] Evaluation: force 0 imaginary/real parts to be 0 and not -0
to avoid using two differents conventions on branch cuts
2018-07-18 17:09:07 +02:00
Émilie Feral
66e87361e4 [poincare] Add comments on branch cuts in complex plan (for acos, asin,
atan, acosh, asinh, atanh, log) and add tests
2018-07-18 17:09:07 +02:00
Émilie Feral
405f8f2cf2 [poincare] Logarithm: enable Logarithm with negative arguments 2018-07-18 17:09:07 +02:00
Émilie Feral
67f703086d [poincare] Add tests on power evaluation 2018-07-18 17:09:07 +02:00
Émilie Feral
d7b3090095 [poincare] Cheat on sqrt, cos, sin, tan, pow function to avoid numerical
results as e^(i*pi) = 1+1E-16*i or cos(pi/2) = 1E-16
2018-07-18 17:09:07 +02:00
Émilie Feral
f031b76e46 [poincare] Add tests on determinant and inverse for complex matrix 2018-07-18 17:09:07 +02:00
Émilie Feral
b5b2d5f3ee [poincare] Add tests on convert complex to expressions 2018-07-18 17:09:07 +02:00
Émilie Feral
b9cc0c8d2b [poincare] Add tests on logarithm complex, trigo complex 2018-07-18 17:09:07 +02:00