Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[help]帮助文档M_full.txt的小小错误 #15

Open
sjhsbhqf opened this issue Oct 12, 2023 · 0 comments
Open

[help]帮助文档M_full.txt的小小错误 #15

sjhsbhqf opened this issue Oct 12, 2023 · 0 comments

Comments

@sjhsbhqf
Copy link

	//	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 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant