Émilie Feral
51e360aa6f
[apps] In calculation, default XNT is x
...
Change-Id: I9bfef8920a4975b1162e2630aa4c4556537886b1
2017-11-28 11:42:21 +01:00
Émilie Feral
29587bf762
[poincare] Cap the integers that can be prime factorized
...
Change-Id: Iaf8cd747ac99a586438910bffc90de53e18b7640
2017-11-27 16:13:33 +01:00
Émilie Feral
eb4e2bcade
[poincare] Fix bug in logarithm split integer
...
Change-Id: I6b65443262e07e6ae3cc79eb7e5ea0c5caed1a06
2017-11-27 16:13:04 +01:00
Émilie Feral
2b9fe1b3f4
[poincare] In Power::shallowReduce: handle simple cases (0^x,x^0...) first to avoid
...
division by 0 afterwards
Change-Id: Ic88af4f88a4802e52593a566640104ac5276f7a2
2017-11-27 14:46:03 +01:00
Émilie Feral
11b2eaecce
[poincare] Clean: delete old code that was forgotten
...
Change-Id: If3d0d0ee794f6993ea1d05aa61ce42ad12f4cb79
2017-11-27 14:44:28 +01:00
Émilie Feral
60346032de
[poincare] In Multiplication: fix bug when factorizing sin^m*cos^n
...
Change-Id: Idebee5110e52a5d39e093dca265ba0ab88fae16a
2017-11-27 13:35:18 +01:00
Émilie Feral
bf2a26d90e
[apps] In calculation, do not accept expression whose corresponding
...
texts is too long
Change-Id: Ic96e5ed42e249d43e21241f8e1a7b1e873f3cad3
2017-11-27 12:07:35 +01:00
Émilie Feral
74a91ac214
[apps] In Calculation, the input text can be longer that the text
...
written by the user (omitted multiplication signs added, parenthesis
...)
Change-Id: Icc9861da847c7e65939ea6a9c337ffb3d1f12e61
2017-11-27 11:13:30 +01:00
Émilie Feral
900fdeaefa
[Poincare] Fix commit "Power: do not reduce too big negative power
...
(999^-999)"
Change-Id: I66073d1378b8c0e429547f4746697c28cc0a8ef8
2017-11-27 11:09:19 +01:00
Émilie Feral
ef97fac5ca
[poincare] Fix error in matrix dimension name
...
Change-Id: I6163cc4529cf9fc825dba208f2a20f4da4d142a1
2017-11-27 11:03:07 +01:00
Émilie Feral
36e8898178
[poincare] Consider symbols M* as matrix expressions
...
Change-Id: I0050fa16119b883c67a5098a215ddb5932ce0f2f
2017-11-27 11:03:06 +01:00
Émilie Feral
bd79b6c8a1
[poincare] inf -> undef
...
Change-Id: Ibf7ba53a462c1d57f0928f9edcfe4919587908ab
2017-11-27 11:03:02 +01:00
Émilie Feral
89485104b8
[apps] In calculation, fix history table row height
...
Change-Id: Ia0ee485b80d6f4db81f480d0e3e8f91b73c912a2
2017-11-24 17:13:21 +01:00
Émilie Feral
2c06727f36
[apps] Simplify expressions in sequence and function applications
...
Change-Id: I2708934d3b5c90e8692e50d939b3a13028b8615e
2017-11-24 14:39:06 +01:00
Émilie Feral
fda382cc0d
[poincare] Change name: evaluate->approximate
...
Change-Id: I649a7c640190713dcf063a4148decd6038e62796
2017-11-24 13:31:44 +01:00
Émilie Feral
76cbd2678d
[poincare] Change names: approximate->approximateToScalar
...
Change-Id: I701451b35909bb577dd729e0ea76a405b9543f23
2017-11-24 12:06:35 +01:00
Émilie Feral
53ea983307
[poincare] Read-me (first version)
...
Change-Id: I4f88b79eb992c1a08149b555f14955c127a862dd
2017-11-24 11:53:55 +01:00
Émilie Feral
e6762bb25c
[poincare] Merge Hierarchy into Expression class
...
Change-Id: Iea40f14e76dede947ffff1c63d53f6727d730e49
2017-11-24 11:53:39 +01:00
Émilie Feral
d8f269529b
[poincare] Add all previous evaluation tests
...
Change-Id: I7667c8c23d4097c33e3abef696f20d9f460b5068
2017-11-24 10:11:29 +01:00
Émilie Feral
b6d261c2b2
[poincare] Factorial: simplification order was needlessly (?)
...
complicated.
Change-Id: Id0987b734f63bb6306d5c36d90573a770f541728
2017-11-24 09:39:05 +01:00
Émilie Feral
914e9e8806
[poincare] In Integral evalutation, decrease the maximal number of
...
iteration (for time complexity)
Change-Id: Ie2af42071e128818e5f144c82720d36cac62c51b
2017-11-24 09:36:54 +01:00
Émilie Feral
1fed5c15cf
[poincare] Power: do not reduce too big negative power (999^-999)
...
Change-Id: I52fdd31dcea53bc8926ad14945d6bb42ea18f668
2017-11-24 09:36:21 +01:00
Émilie Feral
051f7c4a8a
[poincare] Multiplication: fix shallowReduce
...
Change-Id: I95a1423e19d3d6e020a60736838be27124dc79d4
2017-11-24 09:35:13 +01:00
Émilie Feral
54fbcfe15c
[poincare] In trigonometry, avoid to loop on trigo table if the
...
expression does have the right type
Change-Id: I2cd5169df6709943aeddf96d098aa8d8275465d0
2017-11-23 14:54:29 +01:00
Émilie Feral
42e407cad5
[poincare] Improve implementation of Division::shallowReduce
...
Change-Id: Id6b1f6606e5d4aa11b2543151fbba3c7be54551c
2017-11-23 14:53:52 +01:00
Émilie Feral
5acafb0cdb
[poincare] Cap the length of integer that are printed
...
Change-Id: I6d5e1f1201d1354ca48fee6f84dc0400143b7347
2017-11-23 14:52:25 +01:00
Émilie Feral
6f75b54e8b
[poincare] Fix: Do not reduce too big power (999^-999)
...
Change-Id: I46bab384d1700cfc7d8069eb68b0c77efc2b343d
2017-11-23 14:02:41 +01:00
Émilie Feral
a90228a48f
[poincare] Power of true complexes is undefined (otherwise, some rules
...
cannot be applied: (x^y)^z)
Change-Id: I44b64a9fb80997abb7d957b9ac9c1d4d38f8de8e
2017-11-23 13:47:29 +01:00
Émilie Feral
888d1a6df1
[poincare] In DynamicHierarchy: speed up sort operands as we know there
...
is no matrix among operands
Change-Id: Ia673fbcdf7ae8d07138efa6b43a81b3de19a5444
2017-11-23 11:50:29 +01:00
Émilie Feral
a5c984fce3
[apps] Calculation: change the grey of approximate output
...
Change-Id: Iac001fc581544af0634ad1d7765074f69aa07809
2017-11-23 11:49:52 +01:00
Émilie Feral
7f0c54e6e1
[poincare] Add a todo with commented test
...
Change-Id: I9cc1a758d77c3ee5267c019dc2b4f40834f198ca
2017-11-23 11:01:56 +01:00
Émilie Feral
942e8c5bd4
[poincare] Multiplication::shallowReduce : factorizing factors can lead
...
to new rational that have to be merge afterwards (ie 2^(1/2)*2^(1/2) or
i*i or pi*pi^(-1))
Change-Id: Ibeb21e305ff065524210a5cfb46182b0de2f49c9
2017-11-23 10:41:43 +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
cbea9aa091
[poincare] Do not split in prime factors integers that are too big (to
...
avoid lagging)
Change-Id: Icb70a5ca96fbd8b3eb1c829f8de798df43d54de5
2017-11-22 18:01:38 +01:00
Émilie Feral
7503a6aedd
[poincare] implement Round::shallowReduce for rationals
...
Change-Id: I552570bceed2b52dbf6db9b6d47979e0f87b7a4f
2017-11-22 17:20:01 +01:00
Émilie Feral
156e08dc12
[poincare] Fix unitary tests (part I)
...
Change-Id: Ib971a3562a7dbf98dda3a02ad1b7064ad7b57fdf
2017-11-22 16:47:39 +01:00
Émilie Feral
f5983c97e6
[poincare] Fix confusion between double and float!
...
Change-Id: I57a12f85f3e24a80c09de48a3f33e4e81593fc85
2017-11-22 16:46:49 +01:00
Émilie Feral
8f4c49d8c1
[apps] In calculation, fix the almostEqual aligmnent
...
Change-Id: I26eca4c9c2b5a3b1ad05567e8d5daf76922f2cb7
2017-11-22 14:38:53 +01:00
Émilie Feral
7ae6241acd
[poincare] Fix all layouts: redefine baseline
...
Change-Id: Iff04bf9bee946050721fc095d1617586dc251d6b
2017-11-22 14:38:08 +01:00
Émilie Feral
a536ef58cf
[poincare] Fix writeTextInBuffer of Power and Division: add parenthesis
...
to x^(2/3) and x^y^z
Change-Id: I61bed286260a21b42712eff04d46fc664724c203
2017-11-22 14:18:51 +01:00
Émilie Feral
ff0a72177c
[poincare] Fix error in write in buffer: conjugate(2)->conj(2)
...
Change-Id: I68056b192afc76f50117fd4157d85d5f9fa029db
2017-11-22 13:57:02 +01:00
Émilie Feral
b126c1927b
[poincare] Modify power rule: 0^0 = undef and x^0 = 1
...
Change-Id: I5e0d04c55d730a04c2a671465a49c592f0f1819a
2017-11-22 11:59:12 +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
Émilie Feral
43aadf41fe
[poincare] In store, do not evaluate twice stored value: evaluate only
...
once in global context
Change-Id: I7e0ec3122e4d84500ea4f3e157a8398d0ed09d50
2017-11-22 10:28:38 +01:00
Romain Goyet
52bdf4a41f
Merge branch 'cas_with_app_copy' into python_console
2017-11-21 18:44:38 +01:00
Léa Saviot
07bc7672e8
[code] Fixed cursor bug when inserting text in editor.
...
Now the cursor moves only if the insterion was successful.
Change-Id: If2f74307aecd4b9b86183a3437a53fd8875c1751
2017-11-21 17:37:48 +01:00
Léa Saviot
5bfc482e62
[escher] textArea now returns a bool when inserting text.
...
Change-Id: I79111148e8e8b30abb24a6aecea0c187dbd7e2f6
2017-11-21 17:37:48 +01:00
Léa Saviot
711f78f837
[code] Added Kandinsky module and other functions in Toolbox.
...
Change-Id: I81a1323993c91990b13e81cbf4ea2af1ace8ef11
2017-11-21 17:37:48 +01:00
Léa Saviot
c537a59006
[code] Removed "input()" and Random module from the Toolbox catalog.
...
Change-Id: Id9e99cc908d533f018b1fe28f60b6fa26d8ea546
2017-11-21 17:37:48 +01:00
Léa Saviot
f7a6e615ca
[code] The cursor in a toolbox command does not go before a point.
...
The cursor now goes either after the first open parenthesis or at the
end of the command.
Fixed z.real and z.imag.
Change-Id: I46ca3be0415832fd91273ca7fed12ed3d6f125dc
2017-11-21 17:37:48 +01:00