- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
#include
"stdafx.h"#include
#include
#include
using
namespace std;void
{
T
}
getTranspose(int C[4][4], int T[4][4])for (int i=0;i<4;i++)for (int j=0;j<4;j++)void
{
cout << endl;
R
}
void
{
cout << endl;
D
}
MatrixMultiply_RT(int R[4][4], int T[4][4],int D[4][4])for (int i=0;i<4;i++)for (int j=0;j<4;j++) Dvoid
{
UINT64 startCount, endCount, diffCount, freq;
QueryPerformanceCounter((LARGE_INTEGER*)&startCount);
QueryPerformanceCounter((LARGE_INTEGER*)&endCount);
cout << endl;
}
MatrixMultiply_CX(C, X, R);
cout << endl;
}
MatrixMultiply_RT(R, T, D);
cout << endl;
}
diffCount = endCount - startCount;
QueryPerformanceFrequency((LARGE_INTEGER*)&freq);
printf(
}
main(void)int C[4][4] ={1,1,1,1,2,1,-1,-2,1,-1,-1,1,1,-2,2,-1};int X[4][4] ={4,8,6,9,7,6,3,11,1,9,8,3,15,5,15,6};int R[4][4];int T[4][4];int D[4][4];for (int i=0;i<4;i++) {for (int j=0;j<4;j++)cout << TLink Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you repost your code using the button that looks like a yellow pencil (between the HTML and Omega buttons).
Jim
Jim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I agree with Jim. You could also attach the source as a file as well using the "Add Files" button. I thought the problem was just some added whitespace, so I was going to just clean it up, but it looks like some code got transposed, so I'm not sure if the code really made it through the cut/paste properly.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page