EasyManuals Logo
Home>Texas Instruments>Calculator>TI-89

Texas Instruments TI-89 Developer's Guide

Texas Instruments TI-89
1398 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #859 background imageLoading...
Page #859 background image
Appendix A: System Routines — Math
817
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
push_randpoly
Declaration:
void
push_randpoly
(EStackIndex
var_idx
, EStackIndex
order_idx
)
Category(ies):
Math
Description:
Pushes onto the estack a polynomial of the specified order with random
integer coefficients between -9 and 9 and with the leading coefficient
nonzero. The caller must specify an independent variable.
Inputs:
var_idx
Indexes the name of the independent variable to use in the
output polynomial.
order_idx
Indexes the order of the output polynomial.
Outputs:
None
Assumptions:
None
Side Effects:
May expand expression stack, cause heap compression, or throw an error.
Availability:
On AMS 1.05 and higher.
TI-89 / TI-92 Plus
Differences:
None
See Also: push_rand, push_randmat, push_randnorm
Example:
This example pushes a fourth order polynomial in “z” on the estack.
BYTE zName = ENCODE_LETTER('z'); /* single letter variables are stored specially */
push_ushort_to_integer( 4 ); /* 4th order polynomial */
push_randpoly( zName, top_estack );

Table of Contents

Other manuals for Texas Instruments TI-89

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments TI-89 and is the answer not in the manual?

Texas Instruments TI-89 Specifications

General IconGeneral
Display size (HxV)100 x 160 mm
Memory type639K FLASH ROM, 188K bytes RAM
Compatible operating systemsOperating System 2.09
Battery typeAAA

Related product manuals