pylupnt.math_utils.mat_to_arr_idx¶
- pylupnt.math_utils.mat_to_arr_idx(i: int, j: int, n: int) int ¶
Convert matrix indices to array index
- Parameters:
i (int) – row index
j (int) – column index
n (int) – number of rows
- Returns:
array index
- Return type:
k (int)