SymEngine::PolyGamma Class Reference
+ Inheritance diagram for SymEngine::PolyGamma:
+ Collaboration diagram for SymEngine::PolyGamma:

Public Member Functions

virtual void accept (Visitor &v) const
 
virtual void accept (EvalRealDoubleVisitorFinal &v) const
 
 PolyGamma (const RCP< const Basic > &n, const RCP< const Basic > &x)
 PolyGamma Constructor.
 
bool is_canonical (const RCP< const Basic > &n, const RCP< const Basic > &x)
 
RCP< const Basicrewrite_as_zeta () const
 
virtual RCP< const Basiccreate (const RCP< const Basic > &a, const RCP< const Basic > &b) const
 
virtual RCP< const Basiccreate (const RCP< const Basic > &a, const RCP< const Basic > &b) const=0
 
RCP< const Basiccreate (const vec_basic &b) const
 
- Public Member Functions inherited from SymEngine::TwoArgBasic< BaseClass >
 TwoArgBasic (const RCP< const Basic > &a, const RCP< const Basic > &b)
 b in TwoArgBasic(a, b) More...
 
hash_t __hash__ () const
 
RCP< const Basicget_arg1 () const
 
RCP< const Basicget_arg2 () const
 
virtual vec_basic get_args () const
 
RCP< const Basiccreate (const vec_basic &b) const
 
virtual bool __eq__ (const Basic &o) const
 
virtual int compare (const Basic &o) const
 Structural equality comparator.
 

Static Public Attributes

static const TypeID type_code_id = SYMENGINE_POLYGAMMA
 

Detailed Description

Definition at line 1204 of file functions.h.

Member Function Documentation

◆ create() [1/3]

RCP< const Basic > SymEngine::PolyGamma::create ( const RCP< const Basic > &  a,
const RCP< const Basic > &  b 
) const
virtual
Returns
canonicalized PolyGamma

Implements SymEngine::TwoArgBasic< BaseClass >.

Definition at line 3348 of file functions.cpp.

3350 {
3351  return polygamma(a, b);
3352 }
RCP< const Basic > polygamma(const RCP< const Basic > &n_, const RCP< const Basic > &x_)
Canonicalize PolyGamma.
Definition: functions.cpp:3354

◆ create() [2/3]

virtual RCP<const Basic> SymEngine::TwoArgBasic< BaseClass >::create

The polygamma function

It is a meromorphic function on \mathbb{C} and defined as the (n+1)-th derivative of the logarithm of the gamma function:

.. math:: \psi^{(n)} (z) := \frac{\mathrm{d}^{n+1}}{\mathrm{d} z^{n+1}} \log\Gamma(z).

◆ create() [3/3]

RCP<const Basic> SymEngine::TwoArgBasic< BaseClass >::create
inline

The polygamma function

It is a meromorphic function on \mathbb{C} and defined as the (n+1)-th derivative of the logarithm of the gamma function:

.. math:: \psi^{(n)} (z) := \frac{\mathrm{d}^{n+1}}{\mathrm{d} z^{n+1}} \log\Gamma(z).

Definition at line 108 of file functions.h.

109  {
110  SYMENGINE_ASSERT(b.size() == 2);
111  return create(b[0], b[1]);
112  }
virtual RCP< const Basic > create(const RCP< const Basic > &a, const RCP< const Basic > &b) const=0

Field Documentation

◆ type_code_id

const TypeID SymEngine::PolyGamma::type_code_id = SYMENGINE_POLYGAMMA
static

Type_code_id shared by all instances

Definition at line 1218 of file functions.h.


The documentation for this class was generated from the following files: