# include <stdio .h > # define r 10 # define c 10 int i, j; float value; float mat[r][c]; void display(int, int); void display_o( float transp[r][c],int, int); void input( float transp[r][c],int, int); void transpose( float transp[r][c],int, int); int Symmetry_Matrix(float transp[r][c], int , int ); /* Transpose function */ void transpose( float transp[r][c], int row, int col) { for(i = 0; i < row; i++) { for(j = 0; j < col; j++) { mat[i][j] = transp[j][i] ; } } } /* Output function */ void display(int row, int col) { for(i = 0; i < row; i++) { for(j = 0; j < col; j++) { printf(" %f", mat[i][j]); } printf("\n"); } } /* Output function */ void display_o(float transp[r][c], int row, int col) { for(i = 0; i < row; i++) { for(j = 0; j < col; j++) { printf(" %f", transp[i][j]); } printf("\n"); } } /* Input function */ void input( float transp[r][c], int row, int col) { for(i = 0 ; i< row; i++) { for(j = 0 ; j
C Program for Test for symmetry 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