| push_matrix_product | Function (ROM Call 0x3C5)

AMS 1.01 or higher | basop.h

void push_matrix_product (CESI ptr1, CESI ptr2);

Executes TI-Basic '*' operator for matrices.

Assuming that ptr1 and ptr2 point to tags of two matrices (which are, in fact, lists of equally sized lists), push_matrix_product pushes the matrix product of these two matrices to the expression stack. As the matrix product is not comutative, the matrix pointed to by ptr1 is assumed to be the first factor. If the matrices are not compatible for multiplying, an error will be thrown. If ptr1 or ptr2 don't point to matrices, the behavior is unpredictable.

Uses: push_product, delete_between, push_quantum, top_estack, get_matrix_indices, push0, replace_top2_with_sum
Used by: push_equals, push_greater_than, push_greater_than_or_equals, push_less_than, push_less_than_or_equals, push_list_times, push_not_equals, did_push_anti_deriv, push_1st_derivative, push_csolve, push_czeros, push_def_int, push_desolve, push_lim, push_max, push_min, push_nsolve, push_solve, push_zeros, get_ub, push_sq_matrix_to_whole_number