Émilie Feral
f00f639bed
[poincare] Interrupt simplification of when too many nodes where
...
generated while bubbling up ComplexCartesian. Retry with another
ReductionTarget
2019-01-10 11:42:03 +01:00
Émilie Feral
df2f6e3b6e
[poincare] Fix tests with complex cas
2019-01-10 11:42:03 +01:00
Émilie Feral
2fe8b386c3
[poincare] Add tests on Complex
2019-01-10 11:42:03 +01:00
Émilie Feral
7d9c49919c
[poincare] simplifyForComplexFormat: before extracting
...
ComplexCartesian/ComplexPolar, deepReduce instead of simplify to avoid
generating uselessly big trees. To make it work, implement shortcuts for
Power::complexCartesian and Power::complexPolar to return nice cartesian
expression when the power index is -1, 1/2 or -1/2
2019-01-10 11:42:03 +01:00
Émilie Feral
c62922ec5c
[poincare] Change complex getters design: extract real and imaginary
...
parts at the same time in complexCartesian and norm and arg in
complexPolar
2019-01-10 11:42:03 +01:00
Émilie Feral
64aebcf16d
[poincare] Implement shallowReduce of ComplexArgument, AbsoluteValue,
...
RealPart and ImaginaryPart
2019-01-10 11:42:03 +01:00
Émilie Feral
9e2b709fcb
[poincare] Change sign() signature to sign(context, angleUnit)
2019-01-10 11:42:03 +01:00
Émilie Feral
68367343ed
[poincare] Add tests on complex extractors
2019-01-10 11:42:03 +01:00
Émilie Feral
d72b906919
[poincare] SquareRoot: implement realPart & imaginaryPart
2019-01-10 11:42:03 +01:00
Émilie Feral
3c3f68c6c4
[poincare] Multiplication and Division implement realPart,
...
imaginaryPart and complexNorm
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
d89b6ef85a
[poincare] Fix tests
2018-07-18 17:09:07 +02:00
Émilie Feral
652c232ce3
[poincare] Power: expand Newton binomes
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
bd79b6c8a1
[poincare] inf -> undef
...
Change-Id: Ibf7ba53a462c1d57f0928f9edcfe4919587908ab
2017-11-27 11:03:02 +01:00
Émilie Feral
fda382cc0d
[poincare] Change name: evaluate->approximate
...
Change-Id: I649a7c640190713dcf063a4148decd6038e62796
2017-11-24 13:31:44 +01:00
Émilie Feral
920a12027f
[poincare] In complex writeToText, change '*' to MiddleDot
...
Change-Id: If5e56f5c1a96ce0d0d5136272086dc78887a1cec
2017-11-23 10:01:43 +01:00
Émilie Feral
156e08dc12
[poincare] Fix unitary tests (part I)
...
Change-Id: Ib971a3562a7dbf98dda3a02ad1b7064ad7b57fdf
2017-11-22 16:47:39 +01:00
Émilie Feral
091a0ff10e
[poincare] Fix bug: print 0 in polar mode should print 0 and not undef
...
Change-Id: Ic38168a2c80bc97fa539963e6c6da2f408ec5659
2017-11-22 11:07:47 +01:00
Jacob Young
7e2cc375d2
Fix potential overflow in complex radius calculation.
2017-09-20 12:04:35 +02:00
Jacob Young
ebeabd677e
Allow tests to print progress.
2017-09-01 04:07:34 -04:00
Émilie Feral
82e212e771
[poincare] Template for double
...
Change-Id: I7404bd5cefc9ef78a5dbd572c3874a557cded28e
2017-08-16 09:55:29 +02:00
Émilie Feral
1964d61fdc
[libaxx] add cmath and use cmath instead of math.h when required
...
Change-Id: Id839b17d33c69e2e002f370e553ff35246a1bc90
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
34d461d6d7
[poincare] Fix bug in convert float to text
...
Change-Id: Ieeea7da976ac972412e90b29fc03d240c4c0a754
2017-06-27 15:54:50 +02:00
Émilie Feral
8ddf3e72d8
[poincare] Add test on convert float to text
...
Change-Id: Ie8be3b5b191cf686d51871b1b7ea804306b06101
2017-06-27 14:34:10 +02:00
Émilie Feral
b64a4110af
Change name: Algebric -> Cartesian
...
Change-Id: I7855e9df1d401f9a3c0e95c933078852594ff309
2017-06-21 13:11:08 +02:00
Émilie Feral
3ef5b67162
[poincare] Clean complex test
...
Change-Id: I7fe668e1c612df26ddeaa30892556201fe7db7a9
2017-05-31 14:52:29 +02:00
Émilie Feral
ccd1cef028
[poincare] Comment tests
...
Change-Id: Ie41b2df890b63b738cb8b7c5f529bb7ed5411fd8
2017-05-09 14:12:19 +02:00
Émilie Feral
3c3981e0e4
[poincare] Fix bug in convert float to text
...
Change-Id: I2b672cbb356a60a00a9fd11be8ed3787d2387c83
2017-05-05 11:08:14 +02:00
Romain Goyet
38596fbedd
[poincare] DRY-up the Complex::convertFloatToText tests
...
Change-Id: Ie3a44c288832ec5153fe0ed7d3de094d3dcf519a
2017-05-05 09:08:09 +01:00
Émilie Feral
670242b97d
[poincare] Fix bug in tests
...
Change-Id: I559d42bec3c9fd9107271d2128655471aa172688
2017-05-03 14:22:52 +02:00
Émilie Feral
1be226d7a4
[poincare] Improve scientific display mode
...
Change-Id: Ia86ea6561bc262c011835fbf15362d460652ec85
2017-03-16 15:12:10 +01:00
Émilie Feral
dc7a629dfa
[poincare] Replace complex constructors by named constructors
...
Change-Id: I6aad82edfb1bd243c4537a48888655608b90eeb5
2017-02-20 09:39:25 +01:00
Émilie Feral
e5e9f7cc41
[poincare][apps] Make preferences a const object accessible from
...
anywhere (poincare and apps)
Change-Id: I49cc6bf940d1efeb6b153daac949ffcb23999a8d
2017-02-20 09:39:24 +01:00
Émilie Feral
b79bcfb9dc
[poincare] Change name DisplayMode -> FloatDisplayMode
...
Change-Id: I7754b4a5ac96c3f3564749749b49130ddf357e20
2017-02-17 16:35:07 +01: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
b1735da380
[poincare] Replace E by small capital E to respresent 10^
...
Change-Id: I350958f0e0c87e36ad5b01af91e11f403536b22d
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
676bd46f33
[poincare] Expand numbers to complex numbers
...
Change-Id: I2e7cf5240e184da45b656ee4f121ad76aabfd1c7
2017-02-13 17:15:03 +01:00