oldk1331
2018-10-22 10:53:27 UTC
This integration takes 1 second, but differentiates back takes
38 seconds and "normalize" verification takes 80 seconds.
By skipping the verification, the test can run much faster.
=======================
make integration test run much faster
--- a/src/input/integ.input
+++ b/src/input/integ.input
@@ -652,7 +652,9 @@
-- used to fail since we need to factor Trager resultant over complex
-- numbers
testIntegrate("cos(x)^2/sqrt(cos(x)^4 + cos(x)^2 + 1)", "x", "alg")
-testIntegrate("sqrt(tan(x)^2 + 2*tan(x) + 2)", "x", "alg")
+
+-- the integration is fast, but to verify it takes too much time
+testTrue("(integrate(sqrt(tan(x)^2 + 2*tan(x) + 2), x); true)")
t1 := exp(x)
t2 := exp(1/(1 + t1))
38 seconds and "normalize" verification takes 80 seconds.
By skipping the verification, the test can run much faster.
=======================
make integration test run much faster
--- a/src/input/integ.input
+++ b/src/input/integ.input
@@ -652,7 +652,9 @@
-- used to fail since we need to factor Trager resultant over complex
-- numbers
testIntegrate("cos(x)^2/sqrt(cos(x)^4 + cos(x)^2 + 1)", "x", "alg")
-testIntegrate("sqrt(tan(x)^2 + 2*tan(x) + 2)", "x", "alg")
+
+-- the integration is fast, but to verify it takes too much time
+testTrue("(integrate(sqrt(tan(x)^2 + 2*tan(x) + 2), x); true)")
t1 := exp(x)
t2 := exp(1/(1 + t1))
--
You received this message because you are subscribed to the Google Groups "FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fricas-devel+***@googlegroups.com.
To post to this group, send email to fricas-***@googlegroups.com.
Visit this group at https://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fricas-devel+***@googlegroups.com.
To post to this group, send email to fricas-***@googlegroups.com.
Visit this group at https://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.