[Scipy-svn] r5480 - trunk/scipy/fftpack/src

scipy-svn@scip... scipy-svn@scip...
Sun Jan 18 05:23:43 CST 2009


Author: cdavid
Date: 2009-01-18 05:23:38 -0600 (Sun, 18 Jan 2009)
New Revision: 5480

Modified:
   trunk/scipy/fftpack/src/dct.c
Log:
Trailing spaces.

Modified: trunk/scipy/fftpack/src/dct.c
===================================================================
--- trunk/scipy/fftpack/src/dct.c	2009-01-18 07:10:41 UTC (rev 5479)
+++ trunk/scipy/fftpack/src/dct.c	2009-01-18 11:23:38 UTC (rev 5480)
@@ -74,7 +74,7 @@
     } else {
         ptr = inout;
         /* 0.5 coeff comes from fftpack defining DCT as
-         * 4 * sum(cos(something)), whereas most definition 
+         * 4 * sum(cos(something)), whereas most definition
          * use 2 */
         for (i = n * howmany - 1; i >= 0; --i, ++ptr) {
             *((double *) (ptr)) *= 0.5;
@@ -100,7 +100,7 @@
         case DCT_NORMALIZE_NO:
             ptr = inout;
             /* 0.5 coeff comes from fftpack defining DCT as
-             * 4 * sum(cos(something)), whereas most definition 
+             * 4 * sum(cos(something)), whereas most definition
              * use 2 */
             for (i = n * howmany - 1; i >= 0; --i, ++ptr) {
                 *((double *) (ptr)) *= 0.5;
@@ -109,7 +109,7 @@
         case DCT_NORMALIZE_ORTHONORMAL:
             ptr = inout;
             /* 0.5 coeff comes from fftpack defining DCT as
-             * 4 * sum(cos(something)), whereas most definition 
+             * 4 * sum(cos(something)), whereas most definition
              * use 2 */
             n1 = 0.25 * sqrt(1./n);
             n2 = 0.25 * sqrt(2./n);
@@ -118,7 +118,7 @@
                 for (j = 1; j < n; ++j) {
                     ptr[j] *= n2;
                 }
-            } 
+            }
             break;
         default:
             fprintf(stderr, "dct2: normalize not yet supported=%d\n",
@@ -145,7 +145,7 @@
     } else {
         ptr = inout;
         /* 0.5 coeff comes from fftpack defining DCT as
-         * 4 * sum(cos(something)), whereas most definition 
+         * 4 * sum(cos(something)), whereas most definition
          * use 2 */
         for (i = n * howmany - 1; i >= 0; --i, ++ptr) {
             *((float *) (ptr)) *= 0.5;
@@ -171,7 +171,7 @@
         case DCT_NORMALIZE_NO:
             ptr = inout;
             /* 0.5 coeff comes from fftpack defining DCT as
-             * 4 * sum(cos(something)), whereas most definition 
+             * 4 * sum(cos(something)), whereas most definition
              * use 2 */
             for (i = n * howmany - 1; i >= 0; --i, ++ptr) {
                 *((float *) (ptr)) *= 0.5;
@@ -180,7 +180,7 @@
         case DCT_NORMALIZE_ORTHONORMAL:
             ptr = inout;
             /* 0.5 coeff comes from fftpack defining DCT as
-             * 4 * sum(cos(something)), whereas most definition 
+             * 4 * sum(cos(something)), whereas most definition
              * use 2 */
             n1 = 0.25 * sqrt(1./n);
             n2 = 0.25 * sqrt(2./n);
@@ -189,7 +189,7 @@
                 for (j = 1; j < n; ++j) {
                     ptr[j] *= n2;
                 }
-            } 
+            }
             break;
         default:
             fprintf(stderr, "dct2: normalize not yet supported=%d\n",



More information about the Scipy-svn mailing list