Push_Factorial - Texas Instruments TI-89 Developer's Manual

Graphing calculator
Hide thumbs Also See for TI-89:
Table of Contents

Advertisement

784

push_factorial

Declaration:
void push_factorial (EStackIndex i )
Category(ies):
Math
Description:
Pushes the internally-simplified factorial of the expression indexed by i .
Although z! = Gamma(z - 1) for all complex z, where Gamma is the Euler
Gamma function, this implementation of factorial computes a numeric
result only for non-negative integer z.
Inputs:
i
Outputs:
None
Assumptions:
None
Side Effects:
None
Availability:
On AMS 2.02 and higher.
TI-89 / TI-92 Plus
Differences:
None
See Also:
None
If i indexes a negative integer, then push_factorial( i ) pushes
Example:
PLUS_OR_MINUS_INFINITY_TAG.
If i indexes IM_RE_TAG or PI_TAG, then push_factorial( i ) pushes
FACTORIAL_TAG on top of a copy of the expression indexed by i .
push_quantum_as_nonnegative_int (3u);
push_factorial (top_estack);
TI-89 / TI-92 Plus Developer Guide
— Indexes the top tag of an algebraic expression, an algebraic
comparison, or an aggregate thereof.
/* Pushes a tagged integer 6 */
Not for Distribution
Appendix A: System Routines — Math
Beta Version January 26, 2001

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ti-92 plusTi-92 plus

Table of Contents