Commit Graph

13 Commits

Author SHA1 Message Date
É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
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
924e43d138 [poincare/hyperbolic_functions] Simplification tests 2019-08-21 18:05:32 +02:00
Léa Saviot
127a166762 [poincare/test] Det + identity simplification 2019-08-20 17:20:59 +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
19e271d81f [poincare] Expression simplification: respect required complex format
inside matrix entries
2019-08-16 11:01:58 +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
Émilie Feral
adb1a09638 [poincare] MatrixDimension: fix shallowReduce (missing
replaceWithInPlace)
2019-08-14 09:38:27 +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
073479b9aa [poincare] MultiplicationImplicit: MultiplicationImplicit(2^3,4)
seriliazes to [2^3]4. Add tests about expression serialization
2019-08-08 17:22:05 +02:00
Émilie Feral
cedcab21ec [poincare] Tidy tests and add TODO for tests that need to be completed 2019-08-08 17:22:04 +02:00