Commit Graph

1570 Commits

Author SHA1 Message Date
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
Léa Saviot
7b8f827f5a [poincare/print_float] No float truncation over numberOfSignDigits 2019-08-09 18:05:57 +02:00
Émilie Feral
36648ee0d8 [poincare] PrintFloat: change name "k_maxFloatBufferLength" -->
"k_maxFloatBufferSize"
2019-08-09 12:04:33 +02:00
Léa Saviot
1f801f9058 [poincare/preferences] m_numberOfSignificantDigits is a uint8_t
Clearer than a char
2019-08-08 17:22:06 +02:00
Léa Saviot
061ea7cd13 [poincare/print_float] Engineering notation 2019-08-08 17:22:06 +02:00
Léa Saviot
ab86fa84de [apps/settings] Engineering notation selection 2019-08-08 17:22:06 +02:00
Émilie Feral
8af50eca90 [poincare] Multiplication operator when layouting: use the dot
multiplication sign before a nth root layout with an index
2019-08-08 17:22:06 +02:00
Émilie Feral
664b480e20 [poincare] Improve NthRootLayout 2019-08-08 17:22:06 +02:00
Émilie Feral
d1ed886855 [poincare] Multiplication: createLayout can uses 3 different operators
·, × or nothing according to the layout shape on both sides of the
operators.
2019-08-08 17:22:06 +02:00
Léa Saviot
fdafd91da5 [poincare/print_int] Fix for tests 2019-08-08 17:22:06 +02:00
Léa Saviot
a2f1cef60f [poincare/print_float] Fix computations
To fix tests
2019-08-08 17:22:06 +02:00
Léa Saviot
b0b10f184e [poincare/print_float] convertFloatToText -> ConvertFloatToText 2019-08-08 17:22:06 +02:00
Léa Saviot
57162fa90c [poincare/print_float] Escape cases when !returnTrueRequiredLength 2019-08-08 17:22:05 +02:00
Léa Saviot
49a508ea62 [poincare] Fix serializations
They should return the number of written chars
2019-08-08 17:22:05 +02:00