Commit Graph

39 Commits

Author SHA1 Message Date
Émilie Feral
df2f6e3b6e [poincare] Fix tests with complex cas 2019-01-10 11:42:03 +01:00
Émilie Feral
5b782c3ff7 [poincare] Power: fix sqrt(-1*i) != i*sqrt(i) 2019-01-10 11:42:03 +01:00
Émilie Feral
06264b2ea8 [poincare] Fix sqrt(-1) reduces to i 2018-12-17 09:43:06 +01:00
Émilie Feral
0e3d8514c5 [poincare] Fix tests: first operand of addition does not require
parentheses anymore
2018-11-23 12:04:09 +01:00
Léa Saviot
63e83c246b [poincare] Undefined::Name() gives "undef" 2018-11-23 12:04:08 +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
c95c3145bc Merge remote-tracking branch 'github/master' into Tree 2018-09-13 17:03:31 +02:00
Émilie Feral
c462e387cb [poincare] Add tests on Power 2018-09-12 15:41:46 +02:00
Léa Saviot
9049b81d2c [poincare] Add some comments 2018-08-22 10:43:28 +02:00
Léa Saviot
66e768b452 [poincare] Enable more power tets 2018-08-22 10:42:53 +02:00
Léa Saviot
9418932578 [poincare] Fix Rational::IntegerPower for negative integer 2018-08-21 15:55:09 +02:00
Léa Saviot
3c1de1bbc6 [poincare] Add some power tests 2018-08-21 14:18:28 +02:00
Émilie Feral
4dff3a2609 [poincare] Fix power simplification: a^(b+c+d) --> a^b*a^(c+d) instead
of a^b*a^c
2018-08-17 10:34:02 +02:00
Émilie Feral
1e0836ed74 [poincare] Fix tests 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
b9cc0c8d2b [poincare] Add tests on logarithm complex, trigo complex 2018-07-18 17:09:07 +02:00
Émilie Feral
d89b6ef85a [poincare] Fix tests 2018-07-18 17:09:07 +02:00
Émilie Feral
8340eb29d8 [poincare] Simplification: R(a) with a < 0 --> R(-a)*i 2018-06-11 13:58:42 +02:00
Émilie Feral
31801ac20c [poincare] Power: do no simplify Power whose result is too big (fix bug
1.00666666666667^60 = undef)
2018-05-15 11:03:11 +02:00
Émilie Feral
45684d439b [poincare] Arithmetic::PrimeFactorization returns special cases when the
factorization fails. factor(integer) can fail and returns Undefined
2018-01-23 10:24:52 +01:00
Émilie Feral
47eacfd555 [poincare] Power: when expanding multinome, cap the number of terms in
resulting sum at 25
2018-01-16 10:05:08 +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
652c232ce3 [poincare] Power: expand Newton binomes 2018-01-16 10:05:08 +01:00
Émilie Feral
f962f7ef6d [poincare] Remove ambiguity on casting char in int (different behaviours
for different compilers..)

Change-Id: I51630e104311d2038b140a9877ede893dddfefeb
2017-11-29 16:53:49 +01:00
Émilie Feral
40da35f17c [poincare] Clean and sort tests
Change-Id: Ia6a66f5d6e568731ba4127c94a073f7fd62bc26a
2017-11-29 09:44:35 +01:00
Jacob Young
4d9e8c40b8 Fix #102. 2017-09-21 13:32:27 +02:00
Jacob Young
0904313624 Fix #100. 2017-09-06 23:38:04 -04:00
Jacob Young
198c26f99d Fix grammar. 2017-08-31 18:09:00 -04:00
Jacob Young
37700f9e11 Default expression tests to scalar. 2017-08-31 18:04:56 -04:00
Jacob Young
0f3f419441 Add and use infrastructure to test matrix dimensions. 2017-08-31 17:24:54 -04:00
Émilie Feral
82e212e771 [poincare] Template for double
Change-Id: I7404bd5cefc9ef78a5dbd572c3874a557cded28e
2017-08-16 09:55:29 +02:00
Émilie Feral
f73ddcd08f [poincare] Evaluation return numerical matrix
Change-Id: I58dbc93ad22a086580a77318b2524db9c70e47d2
2017-08-03 13:47:11 +02:00
Émilie Feral
28bf496e9e [poincare] Complete matrix hiding (tests)
Change-Id: I470784110e098a96cc288ab2dad584bb8b3555bd
2017-05-03 14:22:52 +02:00
Émilie Feral
1f751589b9 [Kandinsky] In font, for the i complex, use the i cyrillic instead of
iota

Change-Id: I746e1060f1437fe090a2dee533c3bbec24bda7d4
2017-02-17 16:35:06 +01:00
Émilie Feral
69e46f4958 [poincare] Namespace Poincare
Change-Id: I51a84fa7978ba16f128cfe1d32c390970f2037e8
2017-02-13 17:15:06 +01:00
Émilie Feral
1d5d127cd8 [poincare] Add test on complex operations
Change-Id: I474e4a14273ac89775e0f7747222445cabbe2df8
2017-02-13 17:15:05 +01:00
Émilie Feral
7af3979d3b [poincare] Change Context API
Change-Id: I2818866fb41bf73c39396fbd85600e586a79065c
2016-12-15 13:51:41 +01:00
Émilie Feral
397a4ad98f [poincare] Add tests on matrix operations
Change-Id: I4f0070a32abe5eb4b06dfc6dfca0bbd83e666f34
2016-12-09 11:01:43 +01:00