Package mikera.matrixx.algo

Examples of mikera.matrixx.algo.FFT.realForwardFull()


    double[] d=new double[2];
    double r=Math.random();
    d[0]=r;
   
    FFT fft=new FFT(1);
    fft.realForwardFull(d);
   
    assertEquals(0.0,d[1],0.000001);
    assertEquals(r,d[0],0.000001);
  }
 
View Full Code Here


    d[2]=r2;
   
    FFT fft=new FFT(3);
   
    //System.out.println(Vector.create(d));
    fft.realForwardFull(d);
    //System.out.println(Vector.create(d)); 
    fft.complexInverse(d, true);
    //System.out.println(Vector.create(d));
    assertEquals(r0,d[0],0.000001);
    assertEquals(r1,d[2],0.000001);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.