760
Appendix A: System Routines — Math
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
push_1st_derivative
Declaration:
void 
push_1st_derivative
 (EStackIndex 
i
, EStackIndex 
j
)
Category(ies):
Math
Description:
Pushes onto the estack the first derivative of the expression indexed by 
i
with respect to the variable indexed by 
j
.
If invoked via 
push_internal_simplify
, 
j
 and 
i
 are simplified to deepest
variable. However, if the deepest variable value of 
j
 has a such-that or
§
 value, that value is substituted for the deepest variable value after
computing the symbolic derivative.
For example, d(x^2, x) | x = 3 -> 6.
Inputs:
i
— Indexes the top tag of an internally-simplified algebraic expression,
comparison, or aggregate thereof.
j
— Indexes the top tag of a variable.
Outputs:
None
Assumptions:
None
Side Effects:
None
Availability:
On AMS 2.02 and higher.
TI
-
89 / TI
-
92 Plus
Differences:
None
See Also: push_nth_derivative
Example:
void push_grad_tail (EStackIndex i, EStackIndex vars)
/* i indexes an algebraic expression.
   vars indexes a tail of variables.
   Pushes the rectangular Cartesian gradient tail of i with respect to vars.
*/
{  if (END_TAG == ESTACK (vars))
      push_quantum (END_TAG);
   else
   {  push_grad_tail (i, next_expression_index (vars));
      push_1st_derivative (i, vars);
   }
}