tom.cpp file void tom::multiply(void* btr) { short* A =(short*)btr; int j,i; short C[4][4]={1,1,1,1,2,1,-1,-2,1,-1,-1,1,1,-2,2,-1}; short B[4][4];
B<small>ik</small> = C<small>ij</small> * A<small>jk</small>
for (i=0; i<4; i++) for (k=0; k<4; k++) for (j=0; j<4; j++) B[i][k] = C[i][j] * A[j*4+k]
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)