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 #736 background imageLoading...
Page #736 background image
694
Appendix A: System Routines — Lists and Matrices
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
push_list_to_mat
Declaration:
void
push_list_to_mat
(EStackIndex
list_idx,
EStackIndex
el_per_row_idx
)
Category(ies):
Lists and Matrices
Description:
Converts the list indexed by
list_idx
to a matrix with the elements per row
as specified by the value indexed by
el_per_row_idx
and pushes the result
on the estack.
Inputs:
list_idx
Indexes the input list.
el_per_row_idx
Indexes the number of elements per row for the
resulting matrix. If NULL then the number of elements
in the list is used (a row matrix is created).
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_mat_to_list
Example:
/* Push a row matrix on the estack from a list indexed by list_index.
Assume list_index already setup, make sure it is a list and not a matrix.
*/
if ((ESTACK(list_index) == LIST_TAG) && (ESTACK(list_index-1) != LIST_TAG)) {
push_list_to_mat (list_index, NULL);
/* Now push a column matrix on the estack */
push_list_to_mat (list_index, Integer1Index);
}

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