Léa Saviot
45b8c20059
[poincare/layout] Fix XNT when cursor points outside of integrand
...
Example:
3
sum(|4) and XNT event gives n
n=1
3
|sum(4) and XNT event gives 0
n=1
2019-09-20 15:11:39 +02:00
Léa Saviot
aa0f388e0a
[poincare/trigonometry] Cleaning
2019-09-20 11:42:45 +02:00
Léa Saviot
93832549f1
[poincare] childNeedsUserParentheses takes childIndex param
...
Scenario:
0+exp^0 i->b
0+exp b^0 i->b
Go to VariableBox/expression -> Parentheses were not properly added when
b was replaced
2019-09-20 10:20:48 +02:00
Léa Saviot
1cbc40815b
[poincare] Typos
2019-09-20 10:20:48 +02:00
Léa Saviot
3911dc89b7
[poincare/normcdf2] Fix shallowReduce (mu and var indexes were wrong)
2019-09-19 14:28:40 +02:00
Léa Saviot
e09e36a57f
[poincare] When replacing symbols, if it contains itsef return undef
...
Circularly defined functions/symbols are detected more quickly, which
prevents some tree pool exhaustions.
For instance, with f(t) = [[f(t)][f(2t)]]
2019-09-12 11:04:12 +02:00
Émilie Feral
db4cfb1763
[poincare] Solver: increase IncreasingFunctionRoot precision
2019-09-05 13:27:18 +02:00
Émilie Feral
6636c1488b
[poincare] IEEE754: add methods to find the next and the previous
...
IEEE754 exactly representable float/double
2019-09-05 12:06:48 +02:00
Léa Saviot
1b169e0836
[apps/solver] Fix bad assertion
2019-09-04 17:34:50 +02:00
Léa Saviot
1c34eab71e
[poincare/solver] Fix precision handling in IncreasingFunctionRoot
...
Scenario: ChiSquared distribution, P(X<?) = 0.1
2019-09-04 16:55:39 +02:00
Émilie Feral
bd8d3b3685
[poincare] Preferences: VeryShortNumberOfSignificantDigits is 3 instead
...
of 2 to be able to use engineering mode
2019-09-04 15:20:51 +02:00
Émilie Feral
dba9912bbe
[apps/graph] ListParameterController: display only 2 significant digits
...
on the definition domain
2019-09-03 16:21:28 +02:00
Léa Saviot
9fe6034eb5
[apps/cartesian_function] Change function when switching plotType
...
Cartesian -> Parametric -> Polar
3 -> [[t][3]] -> 3
2019-09-02 11:08:54 +02:00
Léa Saviot
a945c02edf
[poincare/Coordinate2D] Rename members x1 and x2
2019-08-29 11:07:22 +02:00
Léa Saviot
28a721e96e
[apps] Start fixing apps as cursor has new member variable
2019-08-29 11:07:22 +02:00
Léa Saviot
7ea7ecd3c2
[poincare/coordinate2D] Rename member values to x and y
2019-08-29 11:07:22 +02:00
Léa Saviot
a15bc53e06
[poincare/Coordinate2D] Template for double or float
2019-08-29 11:07:22 +02:00
Ruben Dashyan
a8810ef066
Use UCodePointUnknownX instead of UCodePointUnknownN
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
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
3dd5112a0b
[poincare] Use reg incomplete beta function in binomial distribution
2019-08-27 11:09:16 +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
5c443e0412
[poincare/normal_distribution_function] Factorize code in parent class
2019-08-26 10:44:19 +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
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
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
c410b70b63
[apps/settings] Typos and coding style
2019-08-22 14:13:12 +02:00
Léa Saviot
3851aa7c55
[apps/settings] Gradians is the last angle unit
2019-08-22 14:13:12 +02:00
Léa Saviot
fbec61db47
Merge branch 'feature/Gradians' of https://github.com/boricj/epsilon
2019-08-22 11:25:25 +02:00
Léa Saviot
63ecdebe2f
[apps/proba] Find inverse probability using increasing function
...
This fixes the test
Student law with 5.4 degrees of freedom
assert_cumulative_distributive_function_direct_and_inverse_is(&law, 1.3, 0.876837383157582639370275501278229057788848876953125);
2019-08-20 17:00:23 +02:00
Émilie Feral
15696d3237
[poincare] Improve shallowReduce of Ceiling and Floor to be exact most
...
of the time
2019-08-20 11:51:37 +02:00
Émilie Feral
fbbc11cf33
[poincare] Fix childNeedsUserParentheses with Conjugate expressions
2019-08-16 16:16:53 +02:00
Émilie Feral
19e271d81f
[poincare] Expression simplification: respect required complex format
...
inside matrix entries
2019-08-16 11:01:58 +02:00
Émilie Feral
19c0037a31
[poincare] Add comments on Expression methods
2019-08-14 09:38:28 +02:00
Émilie Feral
6c203a545a
[poincare] Fix Expression::isReal method with Matrix reducing
2019-08-14 09:38:28 +02:00
Émilie Feral
eb0f6153c5
[poincare] When reducing expressions, we check if an expression is a
...
matrix to know if it can be permuted in a multiplication for example.
This check has to be 'recursive'/'deep' to detect cases like "cos(3×confidence(cos(2)/25,3))"
2019-08-14 09:38:27 +02:00
Léa Saviot
52d67024bf
[poincare] Brent algorithms in solver.cpp
2019-08-13 18:00:15 +02:00
Léa Saviot
1e483d60ce
[poincare] Coordinate2D out of the Expression class
2019-08-13 18:00:15 +02:00
Léa Saviot
7c9e253506
[poincare] Factorize and clean some Engineering notation methods
2019-08-12 10:51:20 +02:00