function_expand function
Rewrite special functions of shifted arguments in terms of simpler ones.
How to write it
function_expand(expr)
- expr
- Any expression: a number, a formula, a list or a matrix. Takes an expression.
Examples
function_expand(gamma(x + 1))In the solver,
Open in the solverfunction_expand(gamma(x + 1))givesx*gamma(x).
Functions its examples use
- gamma
Gamma function: gamma(n) is (n - 1)! for a whole number n.
Related functions
- expand
Multiply out products and powers into a sum.
- complex_expand
Expand an expression assuming its variables are real.
- power_expand
Expand powers and logarithms of products and powers.
- groebner_basis
Groebner basis of a list of polynomials.
- full_simplify
Search harder than simplify for a simpler form, under assumptions.
- minimal_polynomial
Minimal polynomial of an algebraic number over the rationals.