void vsip_MATINDEX(vsip_scalar_vi row, vsip_scalar_vi col, vsip_scalar_mi *r););
This function converts row and column indices to a single linear matrix index, storing the result in the provided output parameter.
Unlike the function version, vsip_matindex, this macro stores the result in the provided output parameter rather than returning it directly.
vsip_scalar_vi row: Row index (0-based).
vsip_scalar_vi col: Column index (0-based).
vsip_scalar_mi *r: Pointer to store the resulting matrix index.