# include# include # define row 10 # define col 10 int i, j; float summation; void display( float mat[row][col], int, int); void input(float mat[row][col] ,int, int); float norm_mat(float mat[row][col], int, int); void display(float mat[row][col] ,int row1, int col1) { for(i = 0; i < row1; i++) { for(j = 0; j < col1; j++) { printf(" %f", mat[i][j]); } printf("\n"); } } /* Input function */ void input(float mat[row][col] ,int row1, int col1) { for(i = 0 ; i< row1; i++) { for(j = 0 ; j
C Program to Find norm of matrix: Norm a matrix is defined as squareroot of the sum of the squares of the elements of a matrix
Next Article to Read
Among many other career blogs, Fun-The-Mentals is a different blog to help students achieve their goals.. This blog is maintained by Debashish and group. The blog is intended to bring decent and genuine information to the students of colleges and universities to help their preparation for job in the competitive world.
Add on Facebook
?
0 comments:
Post a Comment