Matrix 矩阵

M 行 N 列 的矩阵 第 i 行 j 列的id是 id = i * N + j;

id 回溯到行列 row = id/N; column = id%N;

Last updated

Was this helpful?