706
Appendix A: System Routines — Lists and Matrices
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
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 );