Skip to content

provide wrapper for psi function of GiNaC #6961

@burcin

Description

@burcin

From sage-support:

On Fri, 18 Sep 2009 15:47:45 -0700 (PDT)
The_Fool <[email protected]> wrote:

> While working with the derivative of the Gamma function, the digamma
> function is obviously involved.  The sage "diff" function does show Γ
> '(x) == Γ(x)ψ(x) like it should, however, the digamma function (called
> psi in sage) is not defined whenever I try to do anything with it.  It
> seems as if only the output of "diff" can use this function.

psi() is defined in GiNaC, but we don't provide wrappers for it.

Defining a function psi, similar to the way arctan2 is defined in line 422 of sage/functions/trig.py should fix this.

The sage-support thread is here:

http://groups.google.com/group/sage-support/browse_thread/thread/1ad313c921b7dbc0

Component: symbolics

Keywords: psi, gamma, digamma, polygamma

Author: Burcin Erocal

Reviewer: Karl-Dieter Crisman, Ross Kyprianou, Minh Van Nguyen

Merged: sage-4.3.3.alpha1

Issue created by migration from https://trac.sagemath.org/ticket/6961

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions