[Main] Name=init_matrix_indices Type=Function Subtype=ROM Call Header Files=estack.h Definition=ESI *init_matrix_indices (ESI *indices, CESI expr); MinAMS=1.01 [ROM Call] Index=$2BB [Description] Computes and stores the indices of the elements of a matrix. [Explanation] init_matrix_indices stores the index of the first element of the first row to indices, then it repeatedly calls next_expression_index and stores the result to indices until the END_TAG for the whole matrix is reached.
expr is assumed to point to a double LIST_TAG. init_matrix_indices returns indices.

Here is an example (called "Matrix elements") which displays the matrix elements as returned by init_matrix_indices: $$EXAMPLE(Matrix elements.c) [References] Out=estack.h/next_expression_index In=unknown.h/get_matrix_indices, unknown.h/push_lu_fact, unknown.h/push_symbolic_qr_fact