774
Appendix A: System Routines — Math
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
push_cosh
Declaration:
void
push_cosh
(EStackIndex
k
)
Category(ies):
Math
Description:
Pushes onto the estack the internally-simplified hyperbolic cosine of the
expression indexed by
k
.
When
k
indexes a square numeric matrix, pushes the Float matrix
hyperbolic cosine computed via
cosh
(eigenvalues(matrix)).
Inputs:
k
— Index of the top tag of an internally-simplified algebraic expression,
algebraic comparison, or aggregate 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_sinh, push_tanh, push_acosh, push_asinh, push_atanh
Example:
void push_sech (EStackIndex i)
/* Pushes onto the estack the hyperbolic secant of the expression indexed by i. */
{ if (LIST_TAG == ESTACK (i))
{ map_tail (push_sech, i - 1u);
push_quantum (LIST_TAG);
}
else
{ push_cosh (i);
replace_top_with_reciprocal ();
}
}