Commit Graph

1406 Commits

Author SHA1 Message Date
Émilie Feral
6da1fb2ae8 [poincare] Fix memory leak
Change-Id: I10f860eeb2fa4a7a1c6e358b208cc33f7d5d9d75
2017-03-16 15:12:09 +01:00
Émilie Feral
112bf400f6 [poincare] Parse arithmetic functions (gcd, lcm, rem, quo)
Change-Id: Ia557927c149760cc0e23488094f8021a39a8b3d7
2017-03-16 15:12:09 +01:00
Émilie Feral
7a030b1174 [poincare] Parse permute(n,k)
Change-Id: I0c435d9cebaf3f2b9a7b4e5b4944071aecda7a8d
2017-03-16 15:12:08 +01:00
Émilie Feral
0e824cfe80 [poicare] Parse binomial() function
Change-Id: Ib75b980794dc05ee85002c67dd5a54746a2cfb2c
2017-03-16 15:12:08 +01:00
Émilie Feral
ff4c3f1948 [poincare] parse and layout conj() function
Change-Id: I34636b43dffd746ac3fc8c76449e354898992f2d
2017-03-16 15:12:08 +01:00
Émilie Feral
652753873c [poincare] Parse re() and im() functions
Change-Id: I0972a3cdf38ec2777600c87558cfeea2271a4c04
2017-03-16 15:12:02 +01:00
Émilie Feral
f58970f590 [poincare] Parse arg(2+i)
Change-Id: I4e7736e419398be9b7b252d30ac5c9d14ec0c892
2017-03-08 15:56:54 +01:00
Émilie Feral
d543fe3044 [poincare] Simplify abolute value
Change-Id: I13beff4a74820432e0b759209826ba7d62fd53b4
2017-03-08 15:47:21 +01:00
Émilie Feral
a019289a6a [poincare] Implement complex format
Change-Id: I98731b356cce0ae3107fd0a660697241210692ae
2017-03-07 15:53:05 +01:00
Émilie Feral
f3b677d149 [poincare] In preference, delete choice between reel and complex
Change-Id: If3d4406ba3ff31858956b864fc947e969e56120e
2017-03-07 15:53:05 +01:00
Émilie Feral
f34379d14e [apps/settings] Improve settings rendering
Change-Id: I717fe46d4ac302fbd992f83d1fe910903059eedd
2017-03-07 15:49:18 +01:00
Émilie Feral
014ab70c01 [poincare] Inverse and determinant of matrix
Change-Id: I40ca6ee34a243a17be1729277e7b7e3ceae50013
2017-03-07 13:28:26 +01:00
Émilie Feral
e2ec5409c5 [poincare] Parse u(n), v(n)... as symbols
Change-Id: I3a24aaf546b070d8f583f828c6de7597f06a20d1
2017-03-02 15:35:03 +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
7cbfd37925 [poincare] Clean complex: replace m_numberOfSignificantDigits by
k_numberOfSignificantDigits

Change-Id: I0398542beea3e83339131a7333f7bc0726331466
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
69e46f4958 [poincare] Namespace Poincare
Change-Id: I51a84fa7978ba16f128cfe1d32c390970f2037e8
2017-02-13 17:15:06 +01:00
Émilie Feral
5d93c7244b [poincare] Implement complex evaluation of trigonometric functions
Change-Id: Icb8141dde4b5ead4366c4aac006e9b3e4713b77a
2017-02-13 17:15:05 +01:00
Émilie Feral
1adc5fa38d [poincare] Create a class hyperbolic tangent
Change-Id: Ib810a31912d3d0f5e32dae31acb792dae8315d4a
2017-02-13 17:15:05 +01:00
Émilie Feral
74f722efb9 [poincare] Create a class hyperbolic sine
Change-Id: I3895897ffeaae5fc1b267eab56ab03dd8632fd5b
2017-02-13 17:15:05 +01:00
Émilie Feral
0ac57bbbe1 [poincare] Create a class hyperbolic cosine
Change-Id: I1080cbc4026035937dfef47955a566a4621600fb
2017-02-13 17:15:05 +01:00
Émilie Feral
6f846636e6 [poincare] Implement complex power
Change-Id: I7e1344d298209e243b53c727d95dfadf801b1a7f
2017-02-13 17:15:04 +01:00
Émilie Feral
676bd46f33 [poincare] Expand numbers to complex numbers
Change-Id: I2e7cf5240e184da45b656ee4f121ad76aabfd1c7
2017-02-13 17:15:03 +01:00
Émilie Feral
03f74e105f [poincare] Make the matrix default expression a float rather than an
integer

Change-Id: I94087d63d182a609627c1636a6a7e62d52cf8088
2017-02-06 16:30:48 +01:00
Émilie Feral
02d30fdcd5 [poincare] Make addition a binary operation
Change-Id: I70df98ca8e84b3653b9e41f257deeb613a078de0
2017-02-06 16:30:48 +01:00
Émilie Feral
42e4cf408d [poincare] Enbale to evaluate expression in degrees or radian
Change-Id: I8b08e7fa93431817559a594a1ea03d4414f0c830
2017-02-06 16:30:48 +01:00
Émilie Feral
e951140298 [poincare] Change method createLayout() to createLayout(DisplayMode)
Change-Id: Ifb1027d38b53a50a0ada80e11b68d44e72ac9099
2017-01-31 10:36:13 +01:00
Émilie Feral
7f658266c3 [poincare] [apps] Merge Display mode enum class of Float and Preferences
Change-Id: I50498ff0f12991fdd905421441eee7a477d53a4d
2017-01-30 16:11:36 +01:00
Émilie Feral
13f314a744 [poincare] Complete integral implementation
Change-Id: I09cc543db9eac24eacfc35c36b3900bb3f6ff974
2017-01-27 12:03:29 +01:00
Émilie Feral
ae9117d180 [poincare] Merge XContext and NContext together
Change-Id: Idf99dc291a233a6d34f049031e04311b8fe17816
2017-01-27 12:02:37 +01:00
Émilie Feral
94b96d4ef9 [poincare] Replace exp() parsing by e^()
Change-Id: I5d84aea32ead00574e92e5edb5ff416bec2772d0
2017-01-27 12:02:20 +01:00
Émilie Feral
0c51270e19 [apps][poincare] Use special symbols when required
Change-Id: I376f15eb9e08fd26d34fffb6aa86d2097af4c2c4
2017-01-27 11:59:15 +01:00
Émilie Feral
b60a6615b1 [poincare] In integral, improve integral approximation
Change-Id: If07ebbece7c8e49561db8f5f1a0c0ced4889467d
2017-01-27 11:16:33 +01:00
Émilie Feral
290c2ff6c1 [poincare] Create a class square root
Change-Id: I326212043c9342cab43ac35b4d0edecdf89649fc
2017-01-18 15:06:37 +01:00
Émilie Feral
bc3bc0fcd7 [poincare] Create a class naperian logarithm
Change-Id: Ic71bce73fcb2e915481281a42f5d0a119f89e55e
2017-01-18 14:40:39 +01:00
Émilie Feral
f33250f6ff [poincare] Parse Pi
Change-Id: I7dbfa92d1c7aaf1c9d479fd1b907c444b292097e
2017-01-18 14:39:43 +01:00
Émilie Feral
4fa5fef8ef [poincare] Create a class product
Change-Id: I7069b55c7ec17ede42375a83e7f122ff1ed24f88
2017-01-15 20:09:23 +01:00
Émilie Feral
5bfa345b0b [poincare] Change name: product->multiplication
Change-Id: Ie4f4580675a68ddad32256df568ec000e6f50ede
2017-01-15 20:09:22 +01:00
Émilie Feral
66d2713162 [poincare] improve the sum layout
Change-Id: I59149dfd618b3882a906aac3a0497e62c8eb7d91
2017-01-15 20:09:22 +01:00
Émilie Feral
3283a063cb [poincare] Improve integral layout
Change-Id: Ie9f10058d856741838f8e34ba30fc6934909581b
2017-01-15 20:09:22 +01:00
Émilie Feral
8eed045315 [poincare] Improve logarithm layout
Change-Id: I0bd84672b5e24389308e7d1fd8609056f25cf2d4
2017-01-15 20:09:22 +01:00
Émilie Feral
8db4cad6f1 [poincare] Create a class sum
Change-Id: Ida82d33d8389376abd2b6d6874acb338639a5e37
2017-01-15 20:09:21 +01:00
Émilie Feral
8860902444 [poincare] Create a class n_context
Change-Id: Icce8f8fe79c07e73587d8c0563e930c1b1e6b308
2017-01-15 20:09:21 +01:00
Émilie Feral
d9877e6181 [poincare] Create a first version of a class integral (approx method is
to be improved with QUADPACK algo)

Change-Id: I2afed19640c9be3072220b15b14ebff7a9671218
2017-01-15 20:09:21 +01:00
Émilie Feral
3ccd7417bb [poincare] Create a class opposite
Change-Id: Ib903a31d7ba76cd76b95464f701ea2605ff7392d
2017-01-15 20:09:21 +01:00
Émilie Feral
6319d08fc9 [poincare] Add a class exponential
Change-Id: I74cad802e239088cd388f5293b8574f80a2d312e
2017-01-15 20:09:21 +01:00
Émilie Feral
051613d422 [poincare] Improve derivative calculation
Change-Id: Id1695f16b1f390e2eea1fe50c1671ea0b2073f3e
2017-01-15 20:08:01 +01:00
Émilie Feral
ef3cb14f50 [poincare] Enable to parse function with any number of arguments.
Change-Id: I3901f452a2a0dc6d7a821570421fb741b97d684b
2017-01-15 20:04:59 +01:00
Émilie Feral
a74eef903a [poincare] Redesign Float::convertTotext
Change-Id: Id27d9472147b5e443ee296feca891392fad735c8
2017-01-15 20:04:59 +01:00