com.softsynth.math
Class PolynomialTableData
java.lang.Object
com.softsynth.math.PolynomialTableData
public class PolynomialTableData
- extends java.lang.Object
PolynomialTableData
Provides an array of double[] containing data generated by a polynomial.
This is typically used with ChebyshevPolynomial.
Input to Polynomial is -1..1, output is -1..1, scaled to -32768..32767 and stored in short[]
- Author:
- Nick Didkovsky (C) 1997 Phil Burk and Nick Didkovsky, All Rights Reserved
- See Also:
ChebyshevPolynomial
,
Polynomial
Constructor Summary |
PolynomialTableData(Polynomial polynomial,
int numFrames)
Constructor which fills double[numFrames] with Polynomial data -1..1
Note that any Polynomial can plug in here, just make sure output is -1..1 when input ranges from -1..1 |
Method Summary |
double[] |
getData()
|
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PolynomialTableData
public PolynomialTableData(Polynomial polynomial,
int numFrames)
- Constructor which fills double[numFrames] with Polynomial data -1..1
Note that any Polynomial can plug in here, just make sure output is -1..1 when input ranges from -1..1
getData
public double[] getData()
main
public static void main(java.lang.String[] args)