Ruben Dashyan
43d72e082f
[apps] Move sumBetweenBounds from Shared::Function to Shared::SumGraphController
2019-08-29 11:07:22 +02:00
Ruben Dashyan
1d0668a84c
[apps] Move some methods from Shared::CartesianFunction to GraphControllers
2019-08-29 11:07:22 +02:00
Ruben Dashyan
2866a8f861
[apps/shared/sum_graph_controller] Clean start/endSum
2019-08-29 11:07:22 +02:00
Ruben Dashyan
b2bca3e4aa
[apps/shared/sum_graph_controller] Remove redundancy
2019-08-29 11:07:22 +02:00
Ruben Dashyan
4fef87ddb5
[apps/sequence/sequence] Replace sumBetweenBounds explicit definition by Poincare machinery
2019-08-29 11:07:22 +02:00
Ruben Dashyan
70f96ee912
[apps/shared/global_context] Remove ExpressionFromRecord
2019-08-29 11:07:22 +02:00
Ruben Dashyan
84130236a8
[apps/shared/global_context] Inline SetExpressionForFunctionRecord
2019-08-29 11:07:22 +02:00
Ruben Dashyan
f4f45caf19
[apps/shared/expression_model(_handle)] Mark setExpressionContent's Expression parameter as const
2019-08-29 11:07:22 +02:00
Ruben Dashyan
e03e7717e9
[apps/shared/expression_model] Mark updateNewDataWithExpression's Expression parameter as const
2019-08-29 11:07:22 +02:00
Ruben Dashyan
d20d0becc4
[apps/*/expression_model(_handle)] Remove unknownSymbol()
2019-08-29 11:07:21 +02:00
Ruben Dashyan
a8810ef066
Use UCodePointUnknownX instead of UCodePointUnknownN
2019-08-29 11:07:21 +02:00
Ruben Dashyan
e98a474f2b
[apps/shared/expression_model(_handle)] Do not create layout from unknown symbol
2019-08-29 11:07:21 +02:00
Ruben Dashyan
e385205992
[apps] VariableBoxController gets layouts through GlobalContext::LayoutForRecord
2019-08-29 11:07:21 +02:00
Ruben Dashyan
c2b8781983
[apps/*/function] Move implementation of evaluateAtAbscissa to CartesianFunction
2019-08-29 11:07:21 +02:00
Ruben Dashyan
5e365104ae
[apps/shared/function] Factor templatedApproximateAtAbscissa
2019-08-29 11:07:21 +02:00
Ruben Dashyan
ae21a592a1
[apps/*/expression_model_handle] Remove Symbol static method
2019-08-29 11:07:21 +02:00
Ruben Dashyan
07af06aaad
[apps/*/expression_model_store] Remove virtual symbol and unknownSymbol methods
2019-08-29 11:07:21 +02:00
Ruben Dashyan
b665e841ad
[apps] Remove arg parameter in Shared::Function::nameWithArgument and Shared::CartesianFunction::derivativeNameWithArgument
2019-08-29 11:07:21 +02:00
Ruben Dashyan
b1b309c0c4
[apps/*expression_model*] unknownSymbol is replaced in ExpressionModel
2019-08-29 11:07:21 +02:00
Ruben Dashyan
7859308053
[apps/*/expression_model_handle] setContent uses virtual symbol() and unknownSymbol()
...
ExpressionModelHandle::setContent() does not need to be virtual anymore.
2019-08-29 11:07:21 +02:00
Ruben Dashyan
8b96901c06
[apps/*/expression_model_handle] Define virtual symbol and unknownSymbol methods
2019-08-29 11:07:21 +02:00
Ruben Dashyan
86a3ea51e8
[apps/shared/expression_model] setContent does not need to be virtual
2019-08-29 11:07:21 +02:00
Ruben Dashyan
4396a82452
[apps/*/values*function_parameter_controller] Get the symbol from the FunctionStore
2019-08-29 11:07:21 +02:00
Ruben Dashyan
6d7e833a46
[apps/shared/function_banner_delegate] Factor reloadBannerViewForCursorOnFunction
2019-08-29 11:07:21 +02:00
Tiago Pires
d0010c88dc
Some corrections in Portuguese language
2019-08-29 10:11:36 +02:00
Émilie Feral
c5ed1bebfe
[poincare] HyperbolicTrigonometricFunction: add rules cosh(0) -> 1,
...
sinh(0) -> 0, tanh(0) -> 0 and acosh(1) -> 0, asinh(0) -> 0, atanh(0) ->
0
2019-08-29 10:01:40 +02:00
Émilie Feral
a70707ea2f
[poincare] Remove useless factorization
2019-08-29 09:58:23 +02:00
Émilie Feral
246b545683
[poincare] Layout: add TODOs
2019-08-29 09:58:23 +02:00
Léa Saviot
4aa380516a
[poincare] VariableContext can only contain a Symbol, not a function
...
In the solver app, the equation x(x+1)(x+2)(x+3) would have the roots 0,
-2 and -3 because the parsed function "x applied to x+1" would be replaced
by the value 0 for the symbol x during the root finding algorithm.
2019-08-27 17:24:57 +02:00
Léa Saviot
dcb5a061e9
[apps/poincare] Clearer method names
2019-08-27 17:24:57 +02:00
Léa Saviot
faca423a82
[poincare/symbol_abstract] Remove unused method
2019-08-27 17:24:57 +02:00
Léa Saviot
6a45073e09
[apps/calc] Fix tests
2019-08-27 17:24:57 +02:00
Léa Saviot
3849aba0c2
[apps/calculation] Don't display exact result for parametered expr
...
Otherwise symbolic computation is possible with, for instance :
diff(x+x,x,2)
diff(2x,x,2) = 2
2019-08-27 17:21:48 +02:00
Léa Saviot
7e397ac92b
[apps/calculation] Clean code
2019-08-27 17:21:01 +02:00
Léa Saviot
9dac80492b
[poincare] regularized_incomplete_beta_function tests
2019-08-27 11:09:16 +02:00
Léa Saviot
3dd5112a0b
[poincare] Use reg incomplete beta function in binomial distribution
2019-08-27 11:09:16 +02:00
Léa Saviot
f4c9889b67
[apps/proba] Tests about binomial law
2019-08-27 11:09:16 +02:00
Léa Saviot
48971b6eb3
[apps/calculation] Display approx only if input = exactOutput
2019-08-27 11:09:16 +02:00
Léa Saviot
c47bcb5bd1
[poincare/proba] Fix P(X<?) = 0 for binomial distribution
...
Returns 0 if p = 1, else NAN
2019-08-26 16:28:13 +02:00
Léa Saviot
107976ee9d
[poincare/normal_distribution] Add infinity/undef checks
2019-08-26 16:17:09 +02:00
Léa Saviot
a8a5ecfd4e
[apps/proba] Factorize code
2019-08-26 16:04:08 +02:00
Léa Saviot
ddba1f6050
[poincare/InvBinom]
2019-08-26 15:53:18 +02:00
Léa Saviot
56448e3c41
[poincare] BinomPDF
2019-08-26 15:42:44 +02:00
Léa Saviot
1f2f5f4c28
[apps/proba] BinomCDF
2019-08-26 15:04:27 +02:00
Léa Saviot
392198fad4
[apps] Fix typo
2019-08-26 10:47:39 +02:00
Léa Saviot
5c443e0412
[poincare/normal_distribution_function] Factorize code in parent class
2019-08-26 10:44:19 +02:00
Léa Saviot
ff0105182d
[apps/proba] P(X<?) = 0 gives 0 for ChiSquaredDistribution
2019-08-26 10:14:38 +02:00
Léa Saviot
61a66f56d4
[apps/proba] Check value is ok before computing
2019-08-26 10:14:00 +02:00
Léa Saviot
a650edebc7
[poincare/nom_dist] ShallowReduce for invalid mu/sigma values
2019-08-23 17:54:28 +02:00
Léa Saviot
037e581e27
[poincare/inv_norm] Clearer variable names
2019-08-23 17:50:43 +02:00