Commit Graph

31 Commits

Author SHA1 Message Date
Émilie Feral
ef8f5e07c2 [apps] In CurveView, replace the virtual method evaluateModelWithParameter by a function given as parameter (to be able to call Curve view methods with different implementation of evaluateModelWithParameter) 2018-01-30 18:19:27 +01:00
Émilie Feral
8f4e9b9656 [apps] Probability: redesigning the calculation controller (for future
scrolling purpose)
2018-01-04 15:48:06 +01:00
Émilie Feral
1964d61fdc [libaxx] add cmath and use cmath instead of math.h when required
Change-Id: Id839b17d33c69e2e002f370e553ff35246a1bc90
2017-08-16 09:55:29 +02:00
Émilie Feral
2468a6d9c3 [apps/shared] Correct drawHistogram
Change-Id: If2262489b01ab4725a2e3d553b7381c4777807a1
2017-07-28 10:40:05 +02:00
Émilie Feral
1cc75e5d76 [apps/probability] Move Calculation model to snapshot
Change-Id: If04e331a7ee81667c7aa8c302479d054189dd63a
2017-05-18 17:49:59 +02:00
Émilie Feral
e814b0c0c0 [apps/probability] MOve law in snapshot
Change-Id: I2b1daa2f3b624ca2f81d667ab0f2ed4dcf84eb43
2017-05-18 16:40:47 +02:00
Émilie Feral
0f987ebdc5 [apps] Fix uninitialized variables
Change-Id: Ia8a218786028d8e8da7faf6b17313fc160d0f264
2017-05-09 15:08:31 +02:00
Émilie Feral
23026b6718 [apps/shared] Namespace shared
Change-Id: I6dec7ce900bb4e801a25c567fe5e242cb744cf29
2017-02-13 17:15:06 +01:00
Émilie Feral
6050fdb4f8 [apps/probability] Improve colors
Change-Id: Iee9f176c9ce2521b71acdfb1ddeac9c8f515a7f9
2017-02-02 10:29:06 +01:00
Émilie Feral
c3008ca360 [apps] Improvements of MVC structure regarding curve views and ranges
Change-Id: Iec8031dbf349c34c18694dffabd02ef9c88ebf2d
2017-01-18 14:31:42 +01:00
Émilie Feral
d80272f695 [apps] In curve view, correct draw histogram
Change-Id: I33e78200f551a20fd66df24c2f1dfdedf8488491
2017-01-15 20:04:59 +01:00
Émilie Feral
affda5eae9 [apps] Modular reimplementation of application models (stores and
ranges) and of curve views/curve view controllers.

Change-Id: If4ca9bf1bec024917ef540a3fc7baefa8700f7ba
2017-01-10 13:35:19 +01:00
Émilie Feral
8d94b4f26b [apps]Make the curve view margins customisable
Change-Id: I7a632ae9ad98ae0b92a2259fa8465c3aecfbf570
2017-01-09 15:08:54 +01:00
Émilie Feral
d4c7656186 [apps/probability] In calculation, add methods: lowerBound and
upperbound

Change-Id: Ieeffe78b40b3a4166a184000de3d8bd05b5da3c0
2017-01-09 15:08:54 +01:00
Émilie Feral
88166440b0 [apps] In curve view, merge drawDiscreteHistogram and drawHistogram
methods in a unique method

Change-Id: I7093f1c0d639cc77f7e73bddf15fadc5c967823b
2017-01-09 15:08:54 +01:00
Émilie Feral
699ee7ddc5 [apps] CHange name in curve view:
evaluateCurveAtAbscissa->evaluateModelWithParameter

Change-Id: Iface679b85d20fc59e8197eb14b516ad86d97862
2017-01-09 15:08:54 +01:00
Émilie Feral
e8bb416bec [apps] In cuve view, always put KDContext and KDRect as first parameters
Change-Id: I606f6bbe798fba9c75cd98e8857cd020b0eb0ca0
2017-01-09 15:08:54 +01:00
Émilie Feral
8aff2dac2b [apps] In curve view, distinguish 2 methods to draw discrete histograms
and any histogram

Change-Id: I52cec9a3c063d80b0385f8dded1e3de9f6837fdc
2017-01-09 15:08:53 +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
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
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
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
3732a707ab [apps/probability] Draw histograms for discrete laws
Change-Id: Ib18418dfd297bfad06f9f4c99c7a3e80cbf9115b
2016-12-15 16:20:07 +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
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
32d9f9516a [apps] Change name: scale->gridUnit
Change-Id: I1616bdf2c317fa2c8d35ff243ca5ae125ef9a799
2016-12-13 15:10:02 +01:00
Émilie Feral
4bef23b7e2 [apps] Make the abstract curve view hold methods to draw labels
Change-Id: Ib1451b51c6d16db27487b5c9d34cd345fcf379f0
2016-12-08 15:21:52 +01:00
Émilie Feral
5205e71e5a [apps/probability] Create a class law curve view inheriting from curve
view

Change-Id: I3a6aacd3532c4eb9303b9970765e08f546850439
2016-12-08 15:21:52 +01:00