answersLogoWhite

0


Best Answer

int sym_test(const **a,int n){

int i,j,sym;

i=1;j=0;sym=1;

while(sym && i<n){

if ( a[i][j] != -[j][i] ) sym=0;

else if (j<i-1) ++j;

else ++i,y=0;

}

return sym;

}

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Wap to find whether given matrix is skew symmetric matrix or not using arrays?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Math & Arithmetic
Related questions

Write a program using c plus plus to check whether the given square matrix is symmetric or not?

means whether the matrix is same or not program for symmetric matrix : include&lt;stdio.h&gt; #include&lt;conio.h&gt; main() { int a[10][10],at[10][10],k,i,j,m,n; clrscr(); printf("enter the order of matrix"); scanf("%d %d",&amp;m,&amp;n); printf("enter the matrix"); for(i=0;i&lt;m;i++) { for(j=0;j&lt;n;j++) scanf("%d",&amp;a[i][j]); } for(i=0;i&lt;m;i++) { for(j=0;j&lt;n;j++) at[i][j]=a[j][i]; } for(i=0;i&lt;m;i++) { for(j=0;j&lt;n;j++) { if(at[i][j]!=a[i][j]) k=1; } } if(k==1) printf("not symmetric"); else printf("symmetric"); getch(); }


Given two arrays A and B Array?

distinguish extra element in two arrays


what- Assaf is provided with the figure shown. it is given that....?

Symmetric Property of Congruence


Determinant of test?

The determinant of test is usually a scalar quantity. The determinant of a matrix is used to test whether a given matrix has an inverse or not. It is used to test for the linear dependence of the vectors.


What also called two dimensional arrays are?

I suppose you could refer to a two-dimensional array as a rectangular or square array (or as a jagged array of not all arrays within a given dimension have the same size). Table, grid or matrix may also be good synonyms for two-dimensional array, subject to the problem domain addressed with the algorithm.


what- bianca is provided with the figure shown. it is given that...?

symmetric property of congruence


what- camille is provided with the figure shown. it is given that?

symmetric property of congrence


what- Given: GRM?

(1) Symmetric, (2) Transitive, (3) HL


Reflexive matrix for a given matrix?

The matrices that follow d rule of reflexivity is known as ref matrix


How many symmetric relations are there on a set with eight elements?

2^32 because 2^(n*(n+1)/2) is the no of symmetric relation for n elements in a given set


Transitive matrix-a matlab program?

taking an example of matrix x ,we find whether this matrix is transitive or not: x=[1 1 0 ;1 0 1;1 0 1] m=1; for i=1:3 for j=1:3 if x(i,j)==1 for k=1:3 if x(j,k)==1 if x(i,k)~=1 m=0; end end end end end end if m==1 disp('Given matrix is Transitive') else disp('Given Matrix is not Transitive') end


How many rectangular arrays help you identify factors and factor pairs for a given number?

6