Joachim LF
135a56b6b3
[Poincare/tests] Fix ∞ tests
2021-02-12 09:05:15 +01:00
Hugo Saint-Vignes
c0413709b7
[poincare] Require same vector orientation for dot and cross products
...
Change-Id: I4cf248cf564899314a1efb1c5e39a041395ba583
2020-11-19 11:41:29 +01:00
Hugo Saint-Vignes
cb54e22272
[poincare/test] Add tests on horizontal vectors
...
Change-Id: If2d6293ede044ffe71e632212eff155b80ad683f
2020-11-19 11:41:29 +01:00
Hugo Saint-Vignes
b051242f2b
[test] Avoid high precision number approximation
...
Change-Id: I88537653cea2a399581e9686bd027c9d20953667
2020-11-04 15:33:03 +01:00
Hugo Saint-Vignes
a326a1f9ff
[poincare] Fix approximation test
...
Change-Id: I0951e01acf7266e33d05f40de3119b73c656b9a2
2020-11-04 15:33:03 +01:00
Hugo Saint-Vignes
a89878a24d
[poincare] Allow more BinomialCoefficient exact results
...
Change-Id: I9dbbf9471ee6d9e12fe4861a5b11990858382562
2020-11-04 15:33:01 +01:00
Gabriel Ozouf
fad375c11c
[poincare] Add unitFormat to ReductionContext
...
Change-Id: I1d3fcd2f47c973c041e1be84e9a902dd58de3562
2020-11-04 15:11:44 +01:00
Hugo Saint-Vignes
8d2af7e77f
[poincare/test] Add VectorOperation tests, tidy rref tests
...
Change-Id: I4072bee6b2d3bf1ad17045149bff8dcdb6a2f238
2020-11-04 15:11:43 +01:00
Hugo Saint-Vignes
cce1fa0c90
[poincare/test] Add tests for LCM and GCD
...
Change-Id: If91c1ef863c9810e1ab87525a5ed2b4c7ed45656
2020-11-04 15:11:43 +01:00
Arthur Camouseigt
f9a1f1a1b7
[Poincare/test/approximation.cpp] Fixed broken test
...
Change-Id: I6d851abf9626d282133f143afa2a16ca2d8bec7e
2020-11-04 15:07:20 +01:00
Hugo Saint-Vignes
c4018d0648
[poincare] Update rowCanonize pivot selection for more consistent ref results
...
Change-Id: Id7e856f57ccd3d990077b0f6753089bc6edcc03b
2020-11-04 15:07:20 +01:00
Hugo Saint-Vignes
007c38652f
[poincare] Add ref and rref matrix functions
...
Change-Id: Id0e57a4f85d551ca5320c4b6e3c0baadae70946d
2020-11-04 15:07:20 +01:00
Arthur Camouseigt
997c103fba
[Toolbox] Changed the required parameters for normal_distributions
...
Changed the parameter σ2 to σ. This is now consistant with the
probability app
Change-Id: I96101ba158cebef972e536cfa5cc1b2da71b543d
2020-11-04 15:07:19 +01:00
Hugo Saint-Vignes
735fc6e1bb
[poincare] Generalize Binomial Coefficient n to any real
...
Change-Id: I3cda882e67db4becfe232c6428e14905e922662b
2020-11-04 14:45:34 +01:00
Émilie Feral
2630d0dee2
[poincare] Change approximation test to work on the device
...
implementation of libm (hypotf is not as accurate on the device)
2020-06-04 14:58:20 +02:00
Léa Saviot
02b7ed3e27
[poincare/test] Add test for commit 02a1246
2020-06-04 14:50:10 +02:00
Léa Saviot
061fe05b40
[poincare/normal_distribution] Fix StandardNormalCumulDistFuncAtAbs
2020-04-28 02:52:17 -07:00
Émilie Feral
8c844a772b
[poincare] Fix tests to be passed on windows platform (approximation
...
issues)
2020-04-10 13:34:00 -04:00
Léa Saviot
49cd841f99
[poincare/test] Increase some test precisions
2020-04-09 13:58:56 +02:00
Léa Saviot
44fb06890e
[poincare/test] Reduce asin(-1) approximation test precision
...
Now the computation is really done in floats
2020-04-09 13:58:56 +02:00
Léa Saviot
da6306cb11
[poincare/multiplication] Interrupt reduction if overflow
...
When the overflow is due to the max size a rational can hold, stop the
reduction, otherwise some false results can appear.
For instance: 1.0092^50*ln(1.0092) was computed to 0 due to this problem
2020-03-13 14:16:43 +01:00
Léa Saviot
1e11650122
[poincare/test] Fix precision in approximation test
2020-03-13 14:16:43 +01:00
Léa Saviot
e636a2c315
[poincare/test] Add failing tests (commented but to fix later!)
2020-03-13 14:16:43 +01:00
Léa Saviot
97d94d9e56
[poincare/test] Add failing test on multiplication simplification
2020-03-13 14:16:43 +01:00
Émilie Feral
d431642e60
[poincare] Add tests on atanh approximation
2020-03-12 14:41:50 +01:00
Émilie Feral
12a5f5499c
[poincare] Handle real root finding in Power and NthRoot in order to
...
remove beautifying x^(p/q) -> root(x,q)^p. This triggered precision
loss!
2020-03-12 14:41:50 +01:00
Émilie Feral
5407709798
[poincare] Add approximation tests that fails because of precision loss
2020-03-12 14:41:50 +01:00
Émilie Feral
515405a5df
[poincare] In Power::approximation and SquareRoot::approximation, the
...
real (or imaginary) part negligence should depend on the argument value
relatively to some other values (norms of the parameters) and not of its
value absolutely!
2020-03-12 14:41:50 +01:00
Émilie Feral
4e948ce533
[poincare] Change Factor approximation to return undef on non real
...
values
2020-02-12 15:13:22 +01:00
Léa Saviot
756eeeb2d8
[poincare/parser] Add context
2020-02-12 15:13:21 +01:00
Émilie Feral
30c4e01737
[poincare] Fix and add tests about BasedInteger
2020-02-12 15:13:19 +01:00
Ruben Dashyan
3271fc90a4
[poincare/test] Clean header inclusions
2020-02-12 15:13:16 +01:00
Émilie Feral
c2f86e0806
[poincare] Add tests on lcm and gcd approximations
2019-12-23 09:26:18 +01:00
Léa Saviot
475c2daffc
[poincare/derivative] Fix templateApproximate
...
Various fixes:
- Stop the iterative riddersApproximation if the error starts increasing
- h should be superior to 10 epsilon
- if the result is close to 0, be less restrictive on the error/result
ratio
2019-10-07 15:15:18 +02:00
Émilie Feral
b756924f46
[poincare] Tests: fix test to comply with windows libm precision
2019-10-02 15:02:30 +02:00
Émilie Feral
ee852bd2d0
[poincare] Tests: change test to work with all platforms libm precision
2019-10-02 15:02:30 +02:00
Léa Saviot
5acda9069c
[poincare/normal_distribution] Uses sigma, not var
2019-09-30 17:26:24 +02:00
Émilie Feral
f995cd3a90
[poincare] Fix tests: different libm have various precisions on trigonometric function
...
(tan(pi/2) is not always undef). Change approximation tests to be
correct on travis platform.
2019-09-18 15:24:51 +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
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
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
0316702adf
[poincare] NormCDF2
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
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
Léa Saviot
fbec61db47
Merge branch 'feature/Gradians' of https://github.com/boricj/epsilon
2019-08-22 11:25:25 +02:00
Émilie Feral
081462ab5e
[poincare] Fix tests with Multiplication serialization (it always add
...
the × operator
2019-08-08 17:22:06 +02:00
Émilie Feral
84405f00c2
[poincare] Test: fix test precision for device
2019-08-08 17:22:05 +02:00