|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.softsynth.jmsl.util.PolynomialTableData
public class PolynomialTableData
PolynomialTableData
Provides an array of short[] containing data generated by a polynomial.
Input to polynomial is -1..1, output is -1..1, and stored in double[]
Constructor Summary | |
---|---|
PolynomialTableData(Polynomial poly,
int numFrames)
|
|
PolynomialTableData(Polynomial poly,
int numFrames,
boolean renormalize)
Constructor which fills double[numFrames] with polynomial data -1..1 numFrames should be an odd number (1024 + 1 is a good table size for example!) Note that any Polynomial can plug in here, just make sure output is -1..1 when input ranges from -1..1 |
Method Summary | |
---|---|
double[] |
getPeakTableData()
|
double[] |
getScalerTableData(double maxValue)
return double[] containing multiplicative inverses of peak data |
double[] |
getTableData()
|
static void |
main(java.lang.String[] args)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PolynomialTableData(Polynomial poly, int numFrames, boolean renormalize)
public PolynomialTableData(Polynomial poly, int numFrames)
Method Detail |
---|
public double[] getTableData()
public double[] getPeakTableData()
public double[] getScalerTableData(double maxValue)
public java.lang.String toString()
toString
in class java.lang.Object
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |