758
Appendix A: System Routines — Math
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
did_push_series
Declaration:
Boolean
did_push_series
(EStackIndex
i
, EStackIndex
ki
,
EStackIndex
k
, EStackIndex
j
, Boolean
stop_after_1st_non0_term
)
Category(ies):
Math
Description:
Returns TRUE if it successfully pushes onto the estack the
kth
-order Taylor
series expansion of expression
i
with respect to variable
ki
expanded about
ki
= expression
j
.
j
== NULL_INDEX makes the expansion point 0.
Stops early after the first nonzero term if
stop_after_1st_non0_term
is
TRUE. If invoked via
push_internal_simplify
,
ki
and
i
are simplified to
deepest variable. However, if the deepest variable value of
ki
has a
such-that or
§
value, that value is substituted for the deepest variable
value after computing the symbolic series.
For example, taylor(
e
^x, x, 3, 0) | x = 1 -> 8/3.
Inputs:
i
— Index of the top tag of an
internally-simplified expression, algebraic
comparison, or an aggregate thereof.
ki
— Index of the top tag of a variable.
k
— Index of a non-negative number.
j
— NULL_INDEX or the index of the top tag of
an algebraic expression.
stop_after_1st_non0_term
— TRUE if function should stop after the first
nonzero term.
Outputs:
Returns TRUE if it successfully pushes onto the estack the
kth
-order Taylor
series expansion of expression
i
with respect to variable
ki
expanded about
ki
= expression
j
. Otherwise returns FALSE.
Assumptions:
None
Side Effects:
None
Availability:
On AMS 2.02 and higher.
TI
-
89 / TI
-
92 Plus
Differences:
None
(continued)