com.frinika.audio.analysis
Class FloatSinTable

java.lang.Object
  extended by com.frinika.audio.analysis.FloatSinTable

public class FloatSinTable
extends java.lang.Object


Constructor Summary
FloatSinTable()
           
 
Method Summary
static void main(java.lang.String[] args)
          Testing...
static double sin(float ang)
          interpolated values of sin.
static double sinFast(double a)
          calculates fast sin, but with low precision.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FloatSinTable

public FloatSinTable()
Method Detail

sinFast

public static final double sinFast(double a)
calculates fast sin, but with low precision.

Parameters:
a - angle in radians
Returns:
sin of angle a

sin

public static final double sin(float ang)
interpolated values of sin. Not so fast, but much more precise than

Parameters:
ang - angle in radians
Returns:
sin of angle a

main

public static void main(java.lang.String[] args)
Testing...

Parameters:
args -