Matrix_hub
Matrix_hub copied to clipboard
[help]帮助文档M_full.txt的小小错误
// Mat_2
MATRIX_TYPE _mat_2[5][3] = { 1,2,3,4,5,6,7,8,7,10,11,12,11,14,15 };
row = sizeof(_mat_2) / sizeof(_mat_2[0]);
column = sizeof(_mat_2[0]) / sizeof(_mat_2[0][0]);
Matrix* mat_2 = Matrix_gen(row,column,_mat_2);
// Full
M_print(mat_2);
Matrix* mat_full = M_full(mat_2,1,1,1,1,0);
M_print(mat_2);
应该改成
// Mat_2
MATRIX_TYPE _mat_2[5][3] = { 1,2,3,4,5,6,7,8,7,10,11,12,11,14,15 };
row = sizeof(_mat_2) / sizeof(_mat_2[0]);
column = sizeof(_mat_2[0]) / sizeof(_mat_2[0][0]);
Matrix* mat_2 = Matrix_gen(row,column,_mat_2);
// Full
M_print(mat_2);
Matrix* mat_full = M_full(mat_2,1,1,1,1,0);
M_print(mat_full );