#9130: Access to beta function
---------------------------+------------------------------------------------
Reporter: kcrisman | Owner: burcin
Type: enhancement | Status: needs_work
Priority: major | Milestone: sage-4.8
Component: symbolics | Keywords: special function, pynac, sd35.5
Work_issues: | Upstream: N/A
Reviewer: | Author: Karen T. Kohl, Burcin Erocal
Merged: | Dependencies:
---------------------------+------------------------------------------------
Changes (by benjaminfjones):
* status: needs_review => needs_work
Comment:
I think we discovered that the only complex inputs that the code accepts
are ones where one of the parameters is equal to 1. In that case
`beta(1,x) = 1/x` is used to compute the result. Looks like GiNaC can't
handle complex inputs at all (or perhaps complex numbers aren't being
passed to GiNaC in a way it understands).
On the other hand,
[http://mpmath.googlecode.com/svn/tags/0.17/doc/build/functions/gamma.html
#beta-function mpmath] does support evaluation at arbitrary precision
complex numbers so that could be a useful enhancement that could take
place in a new ticket.
I would change the docstrings to clearly indicate that
1. only real inputs are accepted (for now)
1. beta(1,x) = beta(x,1) = 1/x simplification is automatically applied
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9130#comment:14>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.