WELL, I'm pretty new to C, my program needed to have a function that will transpose or multiply matrices.. since a matrix (or array) of m x n, has a transposed matrix of n x m .. i would need to call 2 arrays/pointers into the Transpose function.. 1 with the original values and the other with the n by m size the array/pointer that i will put something from the original .. So how can the function know which function should be this or this ..
for example,where A[i][j] is the orig. function
for example,where A[i][j] is the orig. function
Code:
for(i=0; i<column; i++)
{
for(j=0; j<row; j++)
{
B[i][j]=A[j][i];
}
}
Comment