Commit Graph

175 Commits

Author SHA1 Message Date
Émilie Feral
0796892f0a [poincare] Fix bugs in sequence
Change-Id: I04a6cc0fa381c444a116c5d601a2fdfc4c6b8710
2017-05-03 14:22:52 +02:00
Émilie Feral
bea3a97786 [poincare] Interrupt too long event when back key is down
Change-Id: I668efec0aefdd5d3baf7973942d4f44165a05f07
2017-05-03 14:22:50 +02:00
Émilie Feral
b9b06e400b [poincare] Factorize product and sum and cap their evaluation time
Change-Id: Iea355d2239bd2f7e332fe42591119ad573d93286
2017-05-03 10:22:01 +02:00
Émilie Feral
784c27b8c8 [apps] Memory leak
Change-Id: Iffc90ef26a7e5aa500d47c77140b91e62cf6dbdc
2017-04-25 13:52:29 +02:00
Émilie Feral
f3da453fc0 [poincare] Implement factorial
Change-Id: I2344d12fdc9084db84247a096110efe0e909e32a
2017-04-18 10:28:03 +02:00
Émilie Feral
3f246d8b72 [poincare] Cheat on trigonometric functions
Change-Id: If49f6e25403dcf09736e1cd3e9c5f25bba140af3
2017-04-12 10:33:31 +02:00
Émilie Feral
28b7bca7fc [poincare] Fix bug
Change-Id: I2d860f699e91e91b8ac7c7cbe92ca492736d60e2
2017-03-29 18:36:46 +02:00
Émilie Feral
2c8383c95d [poincare] Pop up a syntax error for function with the wrong number of
arguments

Change-Id: I8be6838c1d94676a2b579a353c3d36011e6edba1
2017-03-29 18:36:45 +02:00
Émilie Feral
6d8d105d7e [escher][apps] Clean and fix bug in text field
function application)

Change-Id: I5d425ea7752a054ea6b05735b12442c4429f13b4
2017-03-29 15:04:37 +02:00
Émilie Feral
fa2ee9e624 [poincare] Never return nullptr when creating a expression to avoid
nullptr dereference

Change-Id: Ie7976a8ee86c82283ebcbffc28fe902ddfb7a952
2017-03-29 11:35:30 +02:00
Émilie Feral
0d34320c8a [poincare] Fix bug
Change-Id: I49b0ac9d71a1d541f94030de275a5e6498823f4f
2017-03-28 14:49:28 +02:00
Émilie Feral
9636d2decb [poincare] Display an error when parsing a function with the wrong
number of parameters

Change-Id: I1d0b88dcfa1e61581e425caa2a335b567a1d92c8
2017-03-20 14:55:59 +01:00
Émilie Feral
91385765d8 [poincare] Parse "3->A" (sto)
Change-Id: Idd8545cfcb91cebc7f95e2425db795e8105da14b
2017-03-16 15:12:10 +01:00
Émilie Feral
6b98af5287 [apps][poincare] Add a submenu to toolbox about fluctuation intervals
Change-Id: Iae352e67abe4e70a75a4083bc669ea2541618457
2017-03-16 15:12:10 +01:00
Émilie Feral
db4dab9731 [poincare] Parse acosh, asinh, atanh
Change-Id: I4c0f965e9bb1738c017964b8664c7867e41c5339
2017-03-16 15:12:10 +01:00
Émilie Feral
ce66a582b6 [poincare] parse acos, asin, atan
Change-Id: I1f6c3566315cbe21b5a46c79f3e9dee5123432bb
2017-03-16 15:12:10 +01:00
Émilie Feral
8e5e5d97ca [poincare] Parse approximation functions (floor, ceil, frac, round)
Change-Id: I54fed14f1effe2cf793ced0111db781c0c3ab06c
2017-03-16 15:12:09 +01:00
Émilie Feral
18265e2111 [poincare] Parse trace(matrix) and dim(matrix)
Change-Id: I8de073595d23c78bbea440d485d2d0d0c576fe13
2017-03-16 15:12:09 +01:00
Émilie Feral
b360ed2986 [poincare] parse transpose(matrix)
Change-Id: Iaf5585312b175a22196c22ea7f50f38a174b3c5a
2017-03-16 15:12:09 +01:00
É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