Appendix A: System Routines — Math
777
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
push_dot_exponentiate
Declaration:
void
push_dot_exponentiate
(EStackIndex
i
, EStackIndex
j
)
Category(ies):
Math, Lists and Matrices
Description:
Pushes the internally-simplified result of (expression
i
)^(expression
j
) onto
the estack. When the base is a square matrix, this is done by merely
distributing the exponent over the elements of the base rather than by
(possibly repeated) matrix multiplication and/or inversion.
Inputs:
i
,
j
— Index the top tags of internally-simplified algebraic expressions,
algebraic comparisons, 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: push_exponentiate, raise_to_top, replace_top2_with_pow, push_sqrt,
push_square, push_reciprocal, replace_top_with_reciprocal
Example:
/* Push random 2 by 2 matrix: */
push_randmat (Integer2Index, Integer2Index);
/* Push the matrix of the squares of the elements */
push_dot_exponentiate (top_estack, Integer2Index);