Commit Graph

9221 Commits

Author SHA1 Message Date
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
É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
Léa Saviot
f70a58ecb6 [poincare/normal_distribution] ExpressionParametersAreOK 2019-08-23 17:48:28 +02:00
Léa Saviot
b594ce3cbd [poincare/normal_distribution] Better check of parameters validity 2019-08-23 17:29:18 +02:00
Léa Saviot
f19350c763 [poincare/normalDistribution] Fix sigma/var typo 2019-08-23 17:29:18 +02:00
Léa Saviot
76ed420a1d [poincare/test] Fix typo 2019-08-23 17:29:18 +02:00
Léa Saviot
a2f435bed3 [poincare/inv_norm] Don't simplify if variance is not checked to be >0 2019-08-23 17:29:15 +02:00
Léa Saviot
cd227ef3bd [poincare] InvNorm simplification + better approx 2019-08-23 16:39:20 +02:00
Léa Saviot
976c3ce245 [poincare] NormPDF 2019-08-23 15:57:18 +02:00
Léa Saviot
04ccc285c8 [poincare] InvNorm 2019-08-23 15:57:18 +02:00
Léa Saviot
ec4e76defb [poincare] Fix header guardians 2019-08-23 15:27:53 +02:00
Léa Saviot
0316702adf [poincare] NormCDF2 2019-08-23 15:27:53 +02:00
Léa Saviot
294def02bd [apps/proba] Improve Distribution::finiteIntegralBetweenAbscissas 2019-08-23 15:27:53 +02:00
Léa Saviot
e1fd5ce5fa [poincare/norm_cdf] Evaluation using NormalDistribution 2019-08-23 15:27:53 +02:00
Léa Saviot
0840ca7a1e [apps/poincare] Move NormalDistribution to Poincare 2019-08-23 13:47:52 +02:00
Léa Saviot
cf4413bbfa [poincare] NormCDF 2019-08-22 17:50:08 +02:00
Léa Saviot
3a03132c6c [apps/toolbox] Probability submenu 2019-08-22 17:21:28 +02:00
Léa Saviot
d0cab49b11 [apps/toolbox] Renaming 2019-08-22 15:56:36 +02:00
Léa Saviot
08642f00ec [poincare/test] More gradians tests 2019-08-22 15:23:37 +02:00
Léa Saviot
e76ea70773 [poincare/tests] Fix tests 2019-08-22 15:23:20 +02:00