- Mathematical function, suitable for both symbolic and numerical manipulation.
- The satisfies the recurrence relation with .
- AlternatingFactorial can be evaluated to arbitrary numerical precision.
- AlternatingFactorial automatically threads over lists.
Examplesopen allclose all
Basic Examples (6)
Compute the first several alternating factorial numbers:
Plot the values on a log scale over a subset of the reals:
Plot over a subset of the complexes:
Expand the alternating factorial in terms of other functions:
Give the closed form of the following alternating sum:
The alternating factorial numbers give the solution to the following recurrence:
Numerical Evaluation (3)
Evaluate to high precision:
Evaluate efficiently at high precision:
Plot the absolute value of AlternatingFactorial:
Plot the real part of :
Plot the imaginary part of :
Introduced in 2014