Class Gamma

Inheritance Relationships

Base Type

Class Documentation

class SymEngine::Gamma : public SymEngine::OneArgFunction

Public Functions

Gamma(const RCP<const Basic> &arg)

Gamma Constructor.

The gamma function

.. math:: \Gamma(x) := \int^{\infty}_{0} t^{x-1} e^{t} \mathrm{d}t.

The gamma function implements the function which passes through the values of the factorial function, i.e. \Gamma(n) = (n - 1)! when n is an integer. More general, \Gamma(z) is defined in the whole complex plane except at the negative integers where there are simple poles.

bool is_canonical(const RCP<const Basic> &arg) const

Return

true if canonical

RCP<const Basic> create(const RCP<const Basic> &arg) const

Return

Canonicalized gamma