Push_Rowswap - Texas Instruments TI-89 Developer's Manual

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

Advertisement

Appendix A: System Routines — Lists and Matrices

push_rowswap

Declaration:
void push_rowswap (EStackIndex mat_idx , EStackIndex row_index1 ,
EStackIndex row_index2 )
Category(ies):
Lists and Matrices
Description:
Pushes onto the estack a matrix with two rows swapped.
mat_idx
Inputs:
row_index1 — Index of one of the rows to swap.
row_index2 — Index of the other row to swap.
Outputs:
None
None
Assumptions:
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:
None
Example:
This code fragment swaps two rows in a matrix on the estack (indexed by
mat_idx) if piv_row is not equal to cur_row. The old matrix is removed from
the estack and mat_idx is set to point to the newly created matrix.
EStackIndex piv_row_idx, cur_row_idx, mat_idx, old_mat_idx;
unsigned short piv_row, cur_row;
.
.
.
/* assume mat_idx, piv_row, and cur_row already set */
if (piv_row != cur_row) {
old_mat_idx = mat_idx;
push_ulong_to_integer ((unsigned long)piv_row);
piv_row_idx = top_estack;
push_ulong_to_integer ((unsigned long)cur_row);
cur_row_idx = top_estack;
/* Swap rows so current row is pivot row. */
push_rowswap (mat_idx, piv_row_idx, cur_row_idx);
delete_between (old_mat_idx, cur_row_idx);
delete_expression (mat_idx);
mat_idx = top_estack;
}
.
.
.
TI-89 / TI-92 Plus Developer Guide
— Index of the input matrix.
Not for Distribution
713
Beta Version January 26, 2001

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Joseph C Denslow
February 5, 2025

My screen is dark and nothing appears when I type, I qam trying to figure a solution

1 comments:
Mr. Anderson
February 10, 2025

To fix a dark screen on a Texas Instruments TI-89 calculator, adjust the display contrast. Press and release the [Diamond] key, then press and release the [−] key. Repeat this process a few times until the screen is visible. If the issue persists, try replacing the AAA batteries with a fresh set from the same package and adjust the contrast again.

This answer is automatically generated

This manual is also suitable for:

Ti-92 plusTi-92 plus

Table of Contents

Save PDF