Texas Instruments TI89 Developer Guide - Page 749
push_red_row_ech, push_row_echelon
UPC - 033317198566
View all Texas Instruments TI89 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 749 highlights
Appendix A: System Routines - Lists and Matrices 707 push_red_row_ech Declaration: void push_red_row_ech (EStackIndex mat_idx, EStackIndex tol_idx) Category(ies): Lists and Matrices, Math Description: Pushes onto the estack the reduced row echelon form of a matrix. Inputs: mat_idx - Indexes the input matrix. tol_idx - If not NULL then indexes a tolerance factor. Any matrix element is treated as zero if its absolute value is less than the tolerance. 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_row_echelon Example: Assuming rMat indexes a matrix and colsum is the sum of the absolute values of the columns of that matrix, this example computes a tolerance factor from colsum and then pushes the reduced row echelon form of rMat onto the estack using the computed tolerance. short n; float tol, colsum[4]; EStackIndex rMat; . . . /* Assume rMat already setup */ tol = colsum[0]; for ( n=1 ; n tol ) tol = colsum[n]; tol *= 1.2e-12; push_Float( tol ); push_red_row_ech( rMat, top_estack ); TI-89 / TI-92 Plus Developer Guide Not for Distribution Beta Version January 26, 2001