Commit Graph

59 Commits

Author SHA1 Message Date
Émilie Feral
ecf3f2ea0f [poincare] Create a a flag on Expression that is set when the
approximation encouters a complex value

All approximation methods take the complex format into account.
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
df2f6e3b6e [poincare] Fix tests with complex cas 2019-01-10 11:42:03 +01:00
Émilie Feral
d95585956c [poincare] Implement Expression::realPart, Expression::imaginaryPart,
Expression::complexNorm, Expression::complexArgument
2019-01-10 11:42:03 +01:00
Émilie Feral
0e1825817b [poincare] Test: clean helper
Create a method expressions_are_equal
2019-01-10 11:42:02 +01:00
Léa Saviot
2772e0397f [poincare] Add tests on power serailization 2018-11-26 14:07:42 +01:00
Léa Saviot
0ecaea0695 [poincare] Fix power serialization 2018-11-26 14:07:42 +01:00
Léa Saviot
3e12f83bb1 [tests] Fix with new serializations 2018-11-23 12:04:10 +01:00
Léa Saviot
53e4a290f7 [poincare] Rename Expression:parse in Parse 2018-11-23 12:04:09 +01:00
Émilie Feral
e516c9d544 [poincare] Helper: add a function to check approximateWithValueForSymbol 2018-11-23 12:04:08 +01:00
Léa Saviot
755af81d65 [poincare] Fix tests 2018-11-23 12:04:06 +01:00
Léa Saviot
60656f3ecd [poincare] Add tests on circular variables definitions 2018-11-23 12:04:06 +01:00
Léa Saviot
bdbae0777e [poincare] Add Store tests 2018-11-23 12:04:05 +01:00
Ruben Dashyan
603e672cf3 [poincare] Add parsing tests 2018-11-23 12:04:05 +01:00
Léa Saviot
da226f7861 [tests] Fix GlobalContext namespace and duplicate test 2018-11-23 12:04:01 +01:00
Léa Saviot
95b59ce90a [poincare] Fix tests by using the UnknownX charset 2018-11-23 12:03:59 +01:00
Léa Saviot
438968384c [tests] Fix them by using the new APIs 2018-11-23 12:03:59 +01:00
Émilie Feral
bc2ce86825 [poincare] Change signature: polynomialDegree,
getPolynomialCoefficients, getPolynomialReducedCoefficients
2018-11-23 12:03:58 +01:00
Lionel Debroux
1a8c6b6ae9 [poincare, escher, ion, apps] Split the huge umbrella header poincare.h, to reduce build time.
This should be a NFC, but surprisingly, it also reduces size... so what does it change ?
2018-10-23 11:49:09 +02:00
Émilie Feral
9d471552c7 [poincare] Tests: fix expression_debug to be able to print_expression 2018-09-26 09:37:39 +02:00
Léa Saviot
59c8c801c5 [poincare] Clean compilation warnings in poincare/test 2018-09-21 16:00:21 +02:00
Émilie Feral
365b145cf3 [poincare] Change names: LayoutReference-->Layout 2018-09-18 16:29:44 +02:00
Émilie Feral
d668eccb4f [poincare] Tests: no variable-size tables 2018-09-17 17:14:43 +02:00
Émilie Feral
616e4c0bcc [poincare] Change name: LayoutRef --> LayoutReference 2018-09-14 16:57:12 +02:00
Émilie Feral
c9aa35fe82 [poincare] Fix binomial_coefficient_layout test 2018-08-29 15:41:02 +02:00
Léa Saviot
abd18a508c [poincare] MatrixTrace, Transpose, Dimension and Inverse 2018-08-28 12:06:34 +02:00
Émilie Feral
a1bcbe28e6 [quiz] Turn all assert in quiz_assert 2018-08-28 10:40:52 +02:00
Léa Saviot
396a2c4330 [poincare] Add "properties" tests 2018-08-27 11:57:29 +02:00
Émilie Feral
fcec3017fc [poincare] Parse Decimal Number 2018-08-22 16:28:07 +02:00
Émilie Feral
20bbc69c79 [poincare] Improve test helper 2018-08-16 16:46:36 +02:00
Émilie Feral
95ca623a0e [poincare] Test helper: increase the buffer size 2018-08-16 16:46:36 +02:00
Émilie Feral
69b57a0b8c [poincare] Fix test helper 2018-08-16 16:46:36 +02:00
Léa Saviot
71c807b565 [poincare] Node->isDefined becomes !Node->isUninitialized 2018-08-14 16:40:12 +02:00
Léa Saviot
c87c85bce0 [poincare] Update poincare/test/helper with new Expressions 2018-08-13 12:25:16 +02:00
Émilie Feral
aaa20a58fa [poincare] Implement SerializationHelper and
SerializationHelperInterface. WriteTextInBuffer->serialize
2018-08-08 15:31:40 +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
d89b6ef85a [poincare] Fix tests 2018-07-18 17:09:07 +02:00
Émilie Feral
dd0bc491f6 [poincare] Replace Poincare::Complex by std::complex 2018-07-18 16:32:49 +02:00
Émilie Feral
0f89de63f3 [solver][poincare] Fix tests 2018-06-07 13:46:18 +02:00
Léa Saviot
379dcdba1a [poincarE] Add unary tests on Layouts.
Change-Id: I21f33e84eb4a60ecbabbba99a966abed6a23039c
2018-05-15 18:05:32 +02:00
Émilie Feral
1b10cbdbb3 [poincare] Add a method: Expression::polynomialDegree 2018-03-22 10:48:06 +01:00
Émilie Feral
aa843bdb02 [poincare] Implement shallowReduce of stores and symbols 2018-01-16 15:17:16 +01:00
Émilie Feral
b6c6fcb580 [poincare] Expand any multinome (a0+a1+...+am)^n which naive method 2018-01-16 10:05:08 +01:00
Émilie Feral
40da35f17c [poincare] Clean and sort tests
Change-Id: Ia6a66f5d6e568731ba4127c94a073f7fd62bc26a
2017-11-29 09:44:35 +01:00
Émilie Feral
8874977a77 [poincare] Clean tests
Change-Id: Ib1a36aa1fff91e41ec92da18631bbe9c8c9a5f5f
2017-11-28 17:03:12 +01:00
Émilie Feral
fda382cc0d [poincare] Change name: evaluate->approximate
Change-Id: I649a7c640190713dcf063a4148decd6038e62796
2017-11-24 13:31:44 +01:00
Émilie Feral
156e08dc12 [poincare] Fix unitary tests (part I)
Change-Id: Ib971a3562a7dbf98dda3a02ad1b7064ad7b57fdf
2017-11-22 16:47:39 +01:00
Émilie Feral
d5fc8d139f [poincare] First version of Simplification with matrix (no tests yet!)
Change-Id: I28ad4750ad31995836b23725f7d715669fcb7ae2
2017-11-10 15:22:33 +01:00
Émilie Feral
aac7650339 [poincare] Tests
Change-Id: I89e635deb09dbb26927b70e7b6d63961d126f747
2017-10-09 16:38:59 +02:00
Émilie Feral
be1f2be60f [poincare] Repair tests
Change-Id: Ie14d3c1afc0c8e66d4b0eddb2919958391c5c959
2017-09-26 16:38:22 +02:00