Appendix A: System Routines — Lists and Matrices
693
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
push_identity_mat
Declaration:
void
push_identity_mat
(EStackIndex
size
)
Category(ies):
Lists and Matrices, Math
Description:
Pushes onto the estack the identity matrix using the expression indexed by
size
to specify the size.
Inputs:
size
— Indexes the expression specifying the size of the identity matrix
to push on the estack.
Outputs:
None
Assumptions:
The input expression must be a positive integer.
Side Effects:
None
Availability:
On AMS 2.00 and higher.
TI-89 / TI-92 Plus
Differences:
None
See Also:
None
Example:
This example augments a matrix with the identity matrix.
EStackIndex mat;
.
.
.
/* Assume matrix already on estack */
mat = top_estack;
push_rowdim( mat );
push_identity_mat ( top_estack );
push_augment( mat, top_estack );