diff fft/test.html @ 7:47f08ebded06

Fix Cross implementation and add to test matrix
author Chris Cannam
date Mon, 05 Oct 2015 12:54:49 +0100
parents fcb64e4b8393
children c6577c4b3780
line wrap: on
line diff
--- a/fft/test.html	Mon Oct 05 11:54:32 2015 +0100
+++ b/fft/test.html	Mon Oct 05 12:54:49 2015 +0100
@@ -1,5 +1,6 @@
 <html>
-
+  <head>
+    
   <meta charset="UTF-8">
 
   <style type="text/css">
@@ -12,8 +13,11 @@
   <script src="fft.js/lib/complex.js"></script>
   <script src="jsfft/lib/complex_array.js"></script>
   <script src="jsfft/lib/fft.js"></script>
+  <script src="cross/Cross.js"></script>
+  <script src="cross/FFT.js"></script>
   <script src="test.js"></script>
 
+  </head>
 <body>
 
   <h3>Results</h3>
@@ -30,6 +34,8 @@
       <td>Nockert</td><td id="nockert-result"></td><td id="nockert-1"></td><td id="nockert-2"></td><td id="nockert-itr"></td>
     </tr><tr>
       <td>Dntj</td><td id="dntj-result"></td><td id="dntj-1"></td><td id="dntj-2"></td><td id="dntj-itr"></td>
+    </tr><tr>
+      <td>Cross</td><td id="cross-result"></td><td id="cross-1"></td><td id="cross-2"></td><td id="cross-itr"></td>
     </tr>
   </table>
 
@@ -39,6 +45,7 @@
     <li><b>Nayuki</b>: in-place single-precision complex-complex</li>
     <li><b>Nockert</b>: double-precision real-complex</li>
     <li><b>Nayuki</b>: double-precision complex-complex. Forward transform is scaled and I've scaled it back again here, which may introduce rounding error.</li>
+    <li><b>Cross</b>: double-precision real-complex in C, compiled with Emscripten. This is considered a slow implementation amongst native code ones.</li>
   </ul>
   
   <h3>Rationale</h3>