Appendix A: System Routines — Algebra Utilities
251
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
is_independent_of
Declaration:
Boolean 
is_independent_of
 (EStackIndex 
i
, EStackIndex 
j
)
Category(ies):
Algebra Utilities
Description:
Determines whether the expression indexed by 
i
 is syntactically
independent of the expression indexed by 
j
.
Inputs:
i
, 
j
— Indices of the top tags of internally-simplified expressions.
Outputs:
Returns TRUE if the expression indexed by 
i
 is syntactically independent of
the expression indexed by 
j
. Otherwise returns FALSE.
Assumptions:
None
Side Effects:
None
Availability:
All versions of the TI
-
89 / TI
-
92 Plus.
TI
-
89 / TI
-
92 Plus
Differences:
None
See Also: is_free_of_tag, is_independent_of_tail, is_tail_independent_of
Example:
Boolean is_tail_independent_of (EStackIndex i, EStackIndex j)
{  for (;;)
   {  if (END_TAG == ESTACK (i))
         return TRUE;
      else if (is_independent_of (i, j))
         i = next_expression_index (i);
      else
         return FALSE;
   }
}