Cptfuncx - Texas Instruments TI-89 Developer's Manual

Graphing calculator
Hide thumbs Also See for TI-89:
Table of Contents

Advertisement

590

CptFuncX

Declaration:
BCD16 CptFuncX (BCD16 incs , GR_WIN_VARS * ptr )
Category(ies):
Graphing
Description:
Add the given number of x increments ( incs ) to the original xmin of the
specified graph viewing window. The current xmin will be different from the
original xmin only if panning has occurred in function mode. CptFuncX is
the same as XCvtPtoF, except that increment 0 always corresponds to the
original xmin, which may not be column 0 after panning.
Inputs:
incs — Number of x increments to the left (negative) or right (positive)
ptr
Outputs:
Returns the x coordinate obtained by computing original xmin+ x* incs in
BCD16 floating point format, rounded to 12 digits.
Assumptions:
Assumes an x, y coordinate system, even in 3D mode.
Side Effects:
None
All versions of the TI-89 / TI-92 Plus.
Availability:
TI-89 / TI-92 Plus
Differences:
None
See Also:
XCvtPtoF
Example:
for( inc = -10; inc <= 10; ++inc )
{
/* generate table of x values before and after xmin
/* compute BCD x value corresponding to next increment */
x = CptFuncX( inc, gr_active );
.
.
.
}
TI-89 / TI-92 Plus Developer Guide
Appendix A: System Routines — Graphing
of original xmin. Increment 0 always corresponds to the original
xmin, before any panning that may have occurred.
— Pointer to the GR_WIN_VARS struct to use for viewing window
values (gr_active for the active graph window, gr_other for the
second graph in two graph mode).
Not for Distribution
*/
Beta Version January 26, 2001

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ti-92 plusTi-92 plus

Table of Contents