Appendix A: System Routines — Math
811
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
push_perm
Declaration:
void
push_perm
(EStackIndex
i
, EStackIndex
j
)
Category(ies):
Math
Description:
Let
i
index expression z, and let
j
index expression k. Pushes z!/k! onto the
estack. For integer k >= 0, this is the Pochhammer symbol (z)[k], or the
“falling factorial power” z
†
(z - 1)
†
. . .
†
(z - k). If z is also an integer and
z >= k, this is the number of permutations of z items taken k at a time.
Inputs:
i
,
j
— Indices of the top tags of internally-simplified algebraic
expressions or aggregates thereof.
Outputs:
None
Assumptions:
None
Side Effects:
None
Availability:
On AMS 2.02 and higher.
TI
-
89 / TI
-
92 Plus
Differences:
None
See Also:
None
Example:
push_quantum_as_nonnegative_int (4u);
i = top_estack;
push_quantum_as_nonnegative_int (2u);
push_perm (i, top_estack); /* Pushes a tagged integer 12 */