矩阵 | 拷贝二维数组

/** * MatClone * @param mat */ export let MatClone = <T>(mat: T[][]): T[][] => mat.map(raw => [...raw])
相关文章
相关标签/搜索