Push_Randmat - Texas Instruments TI-89 Developer's Manual

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

Advertisement

706

push_randmat

Declaration:
void push_randmat (EStackIndex rdim_index , EStackIndex cdim_index )
Category(ies):
Lists and Matrices
Description:
Pushes onto the estack a matrix of random integers between –9 and +9.
Inputs:
rdim_index — Indexes the number of rows in the new matrix.
cdim_index — Indexes the number of columns in the new matrix.
Outputs:
None
Assumptions:
None
Side Effects:
May expand expression stack, cause heap compression, or throw an error.
Availability:
On AMS 2.00 and higher.
TI-89 / TI-92 Plus
Differences:
None
See Also:
push_newlist, push_newmat
Example:
This example pushes a 4x10 matrix of random integers between -9 and 9
on the estack.
EStackIndex num4;
push_ushort_to_integer( 4 );
num4 = top_estack;
push_ushort_to_integer( 10 );
push_randmat( num4, top_estack );
TI-89 / TI-92 Plus Developer Guide
Appendix A: System Routines — Lists and Matrices
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