Commit Graph

11243 Commits

Author SHA1 Message Date
É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
Émilie Feral
8a01e8e2d3 [apps/probability] Improve law models
Change-Id: Ibfbf9df3f7c94b0fb1c4cef6900b5680e5ea3b7d
2016-12-15 16:18:01 +01:00
Émilie Feral
69593fd174 [apps/probability] Delete local context
Change-Id: I1f15cf659b44e4e6b8311109a40b8a5916fde782
2016-12-15 16:18:01 +01:00
Émilie Feral
6e47595eaa [liba] Add expf and lgammaf to the math library
Change-Id: I8ddca97622404bf3346a3166e354bbfc88fc299f
2016-12-15 16:17:48 +01:00
Émilie Feral
00bf0cb92d [apps/probability] Delete the expression contained in law model
Change-Id: Id6a7a83a8c3bc1d1674b496189d18eea84a69eda
2016-12-15 13:51:41 +01:00
Émilie Feral
38b8c6dbd7 [apps] Change curve view API
Change-Id: I77984536d1a8b4197b02e2f005590537a46d8084
2016-12-15 13:51:41 +01:00
Émilie Feral
f85ee9bc68 [apps/probability] Simplify the curve view
Change-Id: I0a198c21e280e6ef300cf3ab06d690574c433737
2016-12-15 13:51:41 +01:00
Émilie Feral
7af3979d3b [poincare] Change Context API
Change-Id: I2818866fb41bf73c39396fbd85600e586a79065c
2016-12-15 13:51:41 +01:00
Émilie Feral
75948af80f [escher] in text field, reinit the draft text buffer when changing the editing state
Change-Id: I595a9abac3ee593556ec37df9c7065a06f3c856c
2016-12-15 13:51:41 +01:00
Émilie Feral
bbe1b06eae [apps][escher] Use only one draftTextBuffer by controller (as you cannot
edit all cells at the same time)

Change-Id: Ifbc6e8c7b7f2dd17539666ed3b1253f1c28ef873
2016-12-15 13:51:40 +01:00
Émilie Feral
bed8b40e5b [apps/probability] Add a comment for future optimisation
Change-Id: Ifb70e995772d63ed036078c5caa7082068fb2337
2016-12-15 13:51:40 +01:00
Émilie Feral
b1b8f3a028 [apps/probability] Tidy all law models in a folder law/
Change-Id: Ic2713ee57336fc48bfca25c4f94c4bb191894007
2016-12-15 13:51:40 +01:00
Émilie Feral
2a79d8bfd9 [apps/probability] Make law model an abstract class with inheritance for
all specific laws (binomial...)

Change-Id: Ida6d5bfb7a3fbfc288393cd2f7e9e9b934798073
2016-12-15 13:51:40 +01:00
Émilie Feral
8c284ba34f [escher][apps] CHange textField API
Change-Id: I766d153b7f7429473f297707a08358051123accc
2016-12-15 13:51:40 +01:00
Émilie Feral
fed6664b42 [kandinsky] Correct error: clip the pixels if the rect has been clipped
Change-Id: If4230d49fbea7d7c12d79160a6d52345c570d54f
2016-12-15 13:51:40 +01:00
Émilie Feral
ca4b5d511a [apps/graph/graph] Optimize the redrawing of the graph view when only
the cursor has changed

Change-Id: I34fbe3d4599474ae821f508078d5236362260dc0
2016-12-15 13:51:32 +01:00
Émilie Feral
810fdde40e [apps/graph/graph] Modify the law model method panToMakePointVisible to return a
boolean

Change-Id: Ib61a7c96d3716cc25e03b056c1ed3864db82f60d
2016-12-13 15:10:03 +01:00
Émilie Feral
0eb1616e90 [poincare] Correct error: exponent layout
Change-Id: I26945086caa8d490c4c71753bba7928a49601129
2016-12-13 15:10:03 +01:00
Émilie Feral
579da2384e [apps/graph/graph] In graphWindow, use constexpr to compute grid units
Change-Id: I4cb42e1eb13d6d16ffb7d6e373c6bf12d8ecbdbe
2016-12-13 15:10:03 +01:00
Émilie Feral
50513126d7 [apps/graph/graph] Delete antialiasing on cursor
Change-Id: If2f69c07997f8c8f6298cb64743a767747e4e72a
2016-12-13 15:10:03 +01:00
Émilie Feral
140e943021 [apps/graph/graph] Merge two redundant methods in graph view
Change-Id: Icc154656143e81696abba18574c3806bcfdd4c7a
2016-12-13 15:10:03 +01:00
Émilie Feral
c0dc33cfbd [escher] Make one constructor only for views
Change-Id: I304a49995beb59071dd88fcfad8715bdb58e6685
2016-12-13 15:10:02 +01:00
Émilie Feral
32d9f9516a [apps] Change name: scale->gridUnit
Change-Id: I1616bdf2c317fa2c8d35ff243ca5ae125ef9a799
2016-12-13 15:10:02 +01:00
Émilie Feral
e42f23f56a [apps/graph/graph] Reinit the cursor position if the window was changed
Change-Id: I840d73b8b3224c614773e09fed8de1ecc7a7a1c0
2016-12-13 15:09:58 +01:00
Émilie Feral
9b2e39f2cf [apps/graph/graph] Add methods to the graph window model
Change-Id: I3361b76c87a79d0f997e51ad62c7687b2ac313e5
2016-12-12 15:31:25 +01:00
Émilie Feral
7554046ecd [apps/graph/graph] Change name: AxisInterval-> GraphWindow
Change-Id: Ia67c7a3feaeb5a0db34099f65e6335fdbf91e1ef
2016-12-09 11:26:03 +01:00
Émilie Feral
172528f49f [apps/calculation] Change names: PrettyPrintView -->
ScrollableExpressionView and make result View an scrollable expression
view

Change-Id: I9ac85671bcb4fdbeda0e5dbc6788dc7eb93b7343
2016-12-09 11:01:44 +01:00
Émilie Feral
e1f808e7da [apps/calculation] Change names: expression->input, evaluation->output
Change-Id: I9d65a9fc7d1b7132ae3aaa8a86e4511286b7e3da
2016-12-09 11:01:44 +01:00
Émilie Feral
c96fe1c708 [escher] in text field, erase the buffer before setting a new text
Change-Id: I26cc1bad1398595b8bcc44c7324de69de24e6d6b
2016-12-09 11:01:44 +01:00
Émilie Feral
69e381d736 [poincare] Redesign the text method of expression to avoid keeping a
buffer in all expressions

Change-Id: I2ca33be09a525adf429854e651beaa75e5605d7a
2016-12-09 11:01:43 +01:00
Émilie Feral
41ed0bf8da [apps/calculation] delete useless dirty marker in the calculation text
field

Change-Id: I81507ded019eb9791776854b300b7f70a6d7f596
2016-12-09 11:01:43 +01:00
Émilie Feral
397a4ad98f [poincare] Add tests on matrix operations
Change-Id: I4f0070a32abe5eb4b06dfc6dfca0bbd83e666f34
2016-12-09 11:01:43 +01:00
Émilie Feral
d45855ba72 [apps] Make the apps container a static object
Change-Id: Ie052b558607d0d469f926301c2a0008cd77025da
2016-12-09 11:01:43 +01:00
Émilie Feral
548ac8902e [ion] Init FPU before calling static object contructors
Change-Id: I4e29825183f8014b237b213452914764f9df8d62
2016-12-09 11:01:43 +01:00
Émilie Feral
a07a59efe9 [poincare] Factorise the method evaluate
Change-Id: Ief252568e8d232fc4606e8c86b5e3f9b4c076955
2016-12-09 11:01:39 +01:00
Émilie Feral
4df7f4aaa1 [poincare] Correct memory leaking issue
Change-Id: Ide22a702f7a23b140cad7cd61f4543355b2de8f6
2016-12-08 17:10:36 +01:00