convert/factorial - Maple Programming Help

Home : Support : Online Help : Programming : Data Types : Conversion : convert/factorial

convert/factorial

convert GAMMAs and binomials to factorials

 Calling Sequence convert(expr, factorial, indets)

Parameters

 expr - expression indets - (optional) indeterminate or set of indeterminates

Description

 • The convert/factorial function converts GAMMAs (expressions expressed in terms of the gamma function), binomials and multinomial coefficients in an expression to factorials.
 • If an indeterminate or set of indeterminates is specified, then only GAMMAs and binomials involving a specified indeterminate are converted to the factorial function.
 • The convert(..., !) calling sequence is equivalent to the convert(..., factorial) calling sequence.

Examples

 > $\mathrm{convert}\left(\mathrm{Γ}\left(x\right),\mathrm{factorial}\right)$
 $\left({x}{-}{1}\right){!}$ (1)
 > $\mathrm{convert}\left(\mathrm{Γ}\left(x\right),\mathrm{!}\right)$
 $\left({x}{-}{1}\right){!}$ (2)
 > $\mathrm{convert}\left(\mathrm{binomial}\left(m,3\right),\mathrm{factorial}\right)$
 $\frac{{1}}{{6}}{}\frac{{m}{!}}{\left({m}{-}{3}\right){!}}$ (3)
 > $\mathrm{convert}\left(\mathrm{Β}\left(x,y\right),\mathrm{factorial}\right)$
 $\frac{\left({x}{-}{1}\right){!}{}\left({y}{-}{1}\right){!}}{\left({x}{+}{y}{-}{1}\right){!}}$ (4)