Commit Graph

7778 Commits

Author SHA1 Message Date
Émilie Feral
819177ae47 Merge changes I9871d3a1,I06051c40,I69eec933,Ic9c1ed5b,I0970343e, ...
* changes:
  [apps/graph/values] Make values controller inherit from editable cell table view controller
  [apps/statistics] Make data controller inherits from editable cell table view controller
  [apps] Create a class editable cell table view controller
  [apps] Factorize app classes by creating a text field delegate app
  [apps/statistics] Use data model to improve data controller
  [apps/statistics] Create a model data
  [escher] Change even odd editable cell constructor
  [apps/graph/value] Use even odd editable pointer cell in values controller instead of title cell
  [escher] Add a class even odd pointer text cell
  [apps] Use even odd editable text cell in values controller
  [escher] Create a even odd editable text cell inheriting from even odd and composing with editable text cell
  [apps] add the stat apps in the container
  [apps/statistics] Create the structure of the stat apps
  [escher] In tab view controller, enable a fourth tab
  [escher] In tab view controller, implement lazy loaded for tab titles
  [apps/probability] Draw continuously law curves
  [apps/probability] Color the integral under the curve
  [apps/probability] Correct dirtyness and layout order
  [apps] Enable to color under curves in curve view
  [apps] In curve view, add a boolean to decide whether to shift the origin label
  [apps/probability] Tidy calculation subclasses in a folder
  [apps/probability] Cap the number of operations
  [apps/probability] Handle edge case
  [liba] add constant INFINITY
  [apps/probability] Change Calculation API (adding heritage)
  [apps/probability] Handle integral calculations
  [apps/probability] Display an error modal when the parameter is out of the domain
  [apps/probability] Improve law density window
  [apps/probability] Compute binomial law in a way to avoid to big integer
  [apps/probability] Draw histograms for discrete laws
  [apps] Correct errors in curve view
  [apps/probability] Improve law models
  [apps/probability] Delete local context
  [liba] Add expf and lgammaf to the math library
2016-12-27 13:52:15 +01:00
Émilie Feral
f00492fb59 [apps] Add a margin around the window when drawing curves
Change-Id: Iaf806c1f9e710dabc89f78b60d1c2985c9659012
2016-12-21 14:50:36 +01:00
Émilie Feral
4d62c6c9bd [apps] Use curve view window in the abstract class curve view
Change-Id: I2c54cb111944f294e00d45244f23cdda9984bf02
2016-12-21 14:50:36 +01:00
Émilie Feral
cda9582a7c [apps/statistics] Make data model inherit from curve view window
Change-Id: Iabf36299d20b17d9ac6fb4ae3a6166513f9a50c7
2016-12-21 14:50:36 +01:00
Émilie Feral
0be1c43f72 [apps/probability] Make the model law inherit from curve view window
Change-Id: I2e2cf0c7a14cb1cb36c5b22c49b604d659d49bc6
2016-12-21 14:50:36 +01:00
Émilie Feral
2f3bfaf209 [apps/graph/graph] Make the model graph window inherit from curve view
window

Change-Id: I21a08f181725800937ec5ee043cc40a0ac301a6a
2016-12-21 14:50:35 +01:00
Émilie Feral
9ce66a254b [apps] Create an abstract model curve view window
Change-Id: Iec94d0d75d03bb7a2a3e7085f38a0732639baff7
2016-12-21 14:50:35 +01:00
Émilie Feral
4e1bd2b477 [apps/graph/graph] When redrawing the curve, slightly exceed the rect to
ensure the continuity of the curve

Change-Id: I7dcdc53dc14819b7bf1327a7ba98d459b3bc9c63
2016-12-21 14:50:35 +01:00
Émilie Feral
ba67ef4a2e [apps/graph/graph] Add a banner view in the graph view
Change-Id: Iafa0dcfc730911264d5b045c14bde54f432f53a2
2016-12-21 14:50:35 +01:00
Émilie Feral
30fb8307bc [apps/graph/graph] Create a class banner view
Change-Id: I76e4f1a4300f631bbd93855bc992beb81bc5fecf
2016-12-21 14:50:27 +01:00
Romain Goyet
86e33b8fdb [poincare] Some level of 1.2E3 support
Change-Id: I9618967de161a553ae35ec6dbcf1486c16dadb0d
2016-12-21 10:13:28 +01:00
Romain Goyet
47b16a06dc [poincare] Parse floats
Change-Id: I3cfc063e1059d3769e1038593e90e6f56c0d7ce1
2016-12-21 10:13:28 +01:00
Romain Goyet
5963345981 [poincare] NULL-termination and Integer parsing
Discard non-10 base handling for now

Change-Id: I487e85a169c7ae5780c83b0bcf3c40bd3daac0fe
2016-12-21 10:13:06 +01:00
Romain Goyet
dd4a3e618f [poincare] Better error handling
We were ignoring yyparse's return value...

Change-Id: I09c44d13440aa578b4748a8119a0d557eec4ef00
2016-12-20 17:25:45 +01:00
Émilie Feral
bd8ecf73db [apps/probability] Add a pointer to the data model in the histogram
controller

Change-Id: I1297e10f1e30133d93e96becfb4bc49eb7a8a28d
2016-12-20 10:14:51 +01:00
Émilie Feral
ef9b47555b [apps/probability] Improve data controller to delete pairs of data
Change-Id: Ifc64250e277c61976c82a91c21a68dd775d7cac0
2016-12-20 10:08:03 +01:00
Émilie Feral
b85ea03b8e [escher] Add a method in even odd editable text cell to access editable
text cell

Change-Id: Ic1c7749dfacb890f6def5f7261ba4cb0659fc1f3
2016-12-20 10:06:40 +01:00
Émilie Feral
e688b91fce [apps/probability] Add method in data model (to delete pairs)
Change-Id: Idff6b1a01c655552d75252551b882f72ba7d6f0d
2016-12-20 10:06:00 +01:00
Émilie Feral
9eb65a374b [escher] Correct syntax error
Change-Id: Ic04ba9bdad1f0b5949c85b7c41fbf4c58688b74c
2016-12-20 10:04:42 +01:00
Émilie Feral
59347f0c84 [apps/graph/values] Make values controller inherit from editable cell
table view controller

Change-Id: I9871d3a1ee062205c8db64ee60ee8aa68761bcd1
2016-12-20 09:31:55 +01:00
Émilie Feral
3ce2c91c7f [apps/statistics] Make data controller inherits from editable cell table
view controller

Change-Id: I06051c40edff8eac8ac326b061bb7e03bf74ef8a
2016-12-20 09:31:51 +01:00
Émilie Feral
38d0310e37 [apps] Create a class editable cell table view controller
Change-Id: I69eec933e0aa47317e7ba48b08dd840309a0adf7
2016-12-19 17:30:36 +01:00
Émilie Feral
983905af59 [apps] Factorize app classes by creating a text field delegate app
Change-Id: Ic9c1ed5ba6eb620389cbe4a009f703ecbfe98c55
2016-12-19 17:30:29 +01:00
Émilie Feral
8668f0c21e [apps/statistics] Use data model to improve data controller
Change-Id: I0970343e434a89c4ccec9f1bdcbcff064d243068
2016-12-19 17:00:50 +01:00
Émilie Feral
4220131160 [apps/statistics] Create a model data
Change-Id: Iad946d1a1bc27aaea985f73d87163e8368206d40
2016-12-19 17:00:49 +01:00
Émilie Feral
4b4aad556f [escher] Change even odd editable cell constructor
Change-Id: I2a4e5223e0806433e2e8ece998e0207dcab10e9e
2016-12-19 17:00:49 +01:00
Émilie Feral
77b9630086 [apps/graph/value] Use even odd editable pointer cell in values
controller instead of title cell

Change-Id: Ic6b2fa6dad45f4d56a6cf0a2d7708894a92c1a96
2016-12-19 17:00:49 +01:00
Émilie Feral
de4ae4a3a8 [escher] Add a class even odd pointer text cell
Change-Id: I843ad6626fff17306ab288e532eba6273a034573
2016-12-19 17:00:49 +01:00
Émilie Feral
3cc4ebf83f [apps] Use even odd editable text cell in values controller
Change-Id: I8d5f6dc7656a50000849de85f5b3ba537756eaf1
2016-12-19 17:00:49 +01:00
Émilie Feral
16a785f135 [escher] Create a even odd editable text cell inheriting from even odd
and composing with editable text cell

Change-Id: I454159402260fe791769859130052e824cb03128
2016-12-19 17:00:49 +01:00
Émilie Feral
6dff4b9a07 [apps] add the stat apps in the container
Change-Id: I89338a609a80cc376a5bdfbe47dadbd3c0ae9f59
2016-12-19 17:00:49 +01:00
Émilie Feral
14b54c1358 [apps/statistics] Create the structure of the stat apps
Change-Id: Iad59fcb3a7343d60621d28225fd4e5ab824fec49
2016-12-19 17:00:43 +01:00
Émilie Feral
31be51143b [escher] In tab view controller, enable a fourth tab
Change-Id: Ifffc59044146ea08f27d00b2c40c692554e609ba
2016-12-19 14:13:13 +01:00
Émilie Feral
ccb34ee949 [escher] In tab view controller, implement lazy loaded for tab titles
Change-Id: I6ad14f2a523c075951cd8ca0382fe90e4b99eb06
2016-12-19 14:13:13 +01:00
Émilie Feral
1f1945fe63 [apps/probability] Draw continuously law curves
Change-Id: I742e46e7ebd7f0cf17d8397c2fe5b250d3a9a558
2016-12-19 14:13:13 +01:00
Émilie Feral
1f4fad1f52 [apps/probability] Color the integral under the curve
Change-Id: I157ee8ed180dab366f89fcdcec82d4329f46a82b
2016-12-19 14:13:13 +01:00
Émilie Feral
7c27ce5ec0 [apps/probability] Correct dirtyness and layout order
Change-Id: I5cdda0c7fc7552ef3e76e870b1012f058c30f3f5
2016-12-19 14:13:06 +01:00
Émilie Feral
4a4d466c6b [apps] Enable to color under curves in curve view
Change-Id: I5557481fe1c4f72cb5873736b12cafd7a20763ed
2016-12-16 16:55:41 +01:00
Émilie Feral
c38adbd6c5 [apps] In curve view, add a boolean to decide whether to shift the
origin label

Change-Id: Id5701df32e08030cfd3a2c9e3f7fbc08fc1e2136
2016-12-16 15:15:55 +01:00
Émilie Feral
4602acf2b6 [apps/probability] Tidy calculation subclasses in a folder
Change-Id: I75cfdb11128b06961fc53288cd121799f6e31002
2016-12-16 15:11:39 +01:00
Émilie Feral
7908042804 [apps/probability] Cap the number of operations
Change-Id: I1ceb3230b0de8c1ef9a171bba445aa44ce379363
2016-12-16 14:57:35 +01:00
Émilie Feral
5e0752ca2f [apps/probability] Handle edge case
Change-Id: Ib9c7be51073933013355c6bdc4fbc56e6526468f
2016-12-16 14:51:22 +01:00
Émilie Feral
24c23f761c [liba] add constant INFINITY
Change-Id: I801a23f5bb84bd86a4e93f6c24815737555ee8ce
2016-12-16 14:30:56 +01:00
Émilie Feral
fbadd2ef0e [apps/probability] Change Calculation API (adding heritage)
Change-Id: I56b4391b22086d5296ec034a29378e7b068253a9
2016-12-16 12:58:49 +01:00
Émilie Feral
c00ea95369 [apps/probability] Handle integral calculations
Change-Id: I53097126ba28aeddee0452ceeda42c998c0850cd
2016-12-16 12:58:45 +01:00
Émilie Feral
becf0603e1 [apps/probability] Display an error modal when the parameter is out of
the domain

Change-Id: I47ea5bbf4ac516d9cd876f546b606e3377c621f7
2016-12-15 16:20:13 +01:00
Émilie Feral
dbc9b3d567 [apps/probability] Improve law density window
Change-Id: I4f71b09062a2e6bc4123836e5d3af488b16da213
2016-12-15 16:20:13 +01:00
Émilie Feral
39f7c0d852 [apps/probability] Compute binomial law in a way to avoid to big integer
Change-Id: I8b8405b91532ddd28861828c3d75bef281f171a0
2016-12-15 16:20:13 +01:00
Émilie Feral
3732a707ab [apps/probability] Draw histograms for discrete laws
Change-Id: Ib18418dfd297bfad06f9f4c99c7a3e80cbf9115b
2016-12-15 16:20:07 +01:00
Émilie Feral
7c259dbf1b [apps] Correct errors in curve view
Change-Id: I8849b277f536161801f8b577c5090bf4f2c23500
2016-12-15 16:18:01 +01:00