Texas Instruments TI89 Developer Guide - Page 722
push_rownorm
UPC - 033317198566
View all Texas Instruments TI89 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 722 highlights
680 Appendix A: System Routines - Lists and Matrices push_colnorm Declaration: void push_colnorm (EStackIndex mat_idx) Category(ies): Lists and Matrices, Math Description: Pushes onto the estack the column norm of the matrix indexed by mat_idx. The column norm is the largest value of the sums of the absolute values of the elements in each column of the matrix. Inputs: mat_idx - Indexes the input 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_rownorm, push_matnorm Example: EStackIndex mIndx; /* A matrix is just a list of lists */ push_quantum(END_TAG); push_quantum(END_TAG); push_Float(-12); push_Float(-24); push_quantum(LIST_TAG); push_quantum(END_TAG); push_Float(7); push_Float(5); push_quantum(LIST_TAG); push_quantum(LIST_TAG); mIndx = top_estack; /* mIndx points to [[5, 7]] [-24, -12]] */ /* The column norm (29 == abs(-24)+abs(5)) will be pushed onto the estack */ push_colnorm( mIndx ); /* The row norm (36 == abs(-24)+abs(-12)) will be pushed onto the estack */ push_rownorm( mIndx ); /* Push the matrix norm (28.178) */ push_matnorm( mIndx ); /* Push the determinant (108) */ push_determinant( mIndx, NULL ); TI-89 / TI-92 Plus Developer Guide Not for Distribution Beta Version January 26, 2001