-
-
Notifications
You must be signed in to change notification settings - Fork 480
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Doctest: Add more logic flags to more functions #22155
Comments
comment:2
The gamma function
You might also want to deal with Are there flags in ginac for properties like: "power series with non-negative coefficients", "power series with integer coefficients", etc? |
comment:3
Hyperbolic trigonometric functions
|
comment:4
But instead of hardcoding all these informations in functions, it would be better to actually deduce it from some other properties (like Taylor series as I suggested before). |
comment:5
Will this approach be recursive, namely |
comment:6
Replying to @videlec:
Not possible. Taylor series are determined in general by differentiation. There is no builtin formula which we can inspect.
Yes. |
comment:7
as discussed on sage-develop, the best way IMHO would be to be able to return |
Dependencies: pynac-0.7.4 |
comment:9
Improvements in pynac/pynac@acec861 |
Commit: |
comment:11
Nice! Could you add doctest to check
New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:13
Replying to @videlec:
Not possible using current machinery. Note the information kept is boolean (or maybe tri-state in the future) for speed reasons, as it is routinely used with manipulation of expressions. Any slowdown like numeric computations that are potentially calling !Python/Cython code from C++ should be avoided. |
comment:14
What does mean "dependencies pynac-0.7.4"? |
comment:15
There is no ticket atm for the 0.7.4 upgrade. When there is I'll replace that with the ticket number. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Author: Ralf Stephan |
Changed dependencies from pynac-0.7.4 to #22219 |
comment:18
Two failing doctests. |
comment:19
Actually the doctests were wrong: |
Reviewer: Vincent Delecroix |
Changed branch from u/rws/add_more_logic_flags_to_more_functions to |
Some functions are handled with some flags in https://github.com/pynac/pynac/blob/master/ginac/function.cpp#L1581
This should be extended (in Pynac) and doctests added (here). This ticket should list which questions can be answered definitely to the positive. To start:
Depends on #22219
CC: @videlec
Component: symbolics
Author: Ralf Stephan
Branch/Commit:
350580a
Reviewer: Vincent Delecroix
Issue created by migration from https://trac.sagemath.org/ticket/22155
The text was updated successfully, but these errors were encountered: