Displaying 1 result from an estimated 1 matches for "nverts".
Did you mean:
inverts
2010 Jun 07
0
No subject
...t) cos(M_PI / 2 / =
n * (2 * i + 1 + n/2.0)*(2*j+1));
=A0=A0=A0=A0=A0=A0=A0=A0 // formula from wikipedia
=A0=A0=A0=A0=A0=A0=A0=A0 //acc +=3D 2.0f / n2 * x[j] * (float) cos(M_PI/n2 =
* (i + 0.5 + n2/2)*(j + 0.5));
=A0=A0=A0=A0=A0=A0=A0=A0 // these are equivalent, except the formula from t=
he paper inverts the multiplier!
=A0=A0=A0=A0=A0=A0=A0=A0 // however, what actually works is NO MULTIPLIER!?=
!
=A0=A0=A0=A0=A0=A0=A0=A0 //acc +=3D 64 * 2.0f / n2 * x[j] * (float) cos(M_P=
I/n2 * (i + 0.5 + n2/2)*(j + 0.5));
=A0=A0=A0=A0=A0=A0=A0=A0 acc +=3D x[j] * (float) cos(M_PI / 2 / n * (2 * i =
+ 1 + n/2.0)*(...