EasyManuals Logo

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 #746 background imageLoading...
Page #746 background image
704
Appendix A: System Routines — Lists and Matrices
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
push_newmat
Declaration:
void
push_newmat
(EStackIndex
rdim_index
, EStackIndex
cdim_index
)
Category(ies):
Lists and Matrices
Description:
Pushes onto the estack a matrix of zeros.
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_randmat
Example:
This example creates a 2x2 matrix named M0 and stores to one of its
elements.
BYTE mName[] = {0,'m','0',0};
/* create a 2x2 matrix of zeros on the estack */
push_ushort_to_integer( 2 );
push_newmat( top_estack, top_estack );
/* Store matrix created with push_newmat to 'M0' */
VarStore( mName+3, STOF_ESI, 0, top_estack );
/* Store 1.234 to M0[2,1] */
push_Float( 1.234 );
VarStore( mName+3, STOF_ELEMENT, 0, top_estack, 1u, 2u );

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