ChartDirector
Class ArrayMath
java.lang.Object
|
+--ChartDirector.ArrayMath
- public class ArrayMath
- extends java.lang.Object
Method Summary |
ArrayMath |
abs()
|
ArrayMath |
acc()
|
ArrayMath |
add(double b)
|
ArrayMath |
add(double[] b)
|
ArrayMath |
add2(double b)
|
java.util.Date[] |
aggregate(java.util.Date[] srcArray,
int aggregateMethod)
|
java.util.Date[] |
aggregate(java.util.Date[] srcArray,
int aggregateMethod,
double param)
|
double[] |
aggregate(double[] srcArray,
int aggregateMethod)
|
double[] |
aggregate(double[] srcArray,
int aggregateMethod,
double param)
|
double |
avg()
|
ArrayMath |
delta()
|
ArrayMath |
delta(int offset)
|
ArrayMath |
div(double b)
|
ArrayMath |
div(double[] b)
|
ArrayMath |
div2(double b)
|
ArrayMath |
expAvg(double smoothingFactor)
|
ArrayMath |
financeDiv(double[] b,
double zeroByZeroValue)
|
ArrayMath |
insert(double[] a)
|
ArrayMath |
insert(double[] a,
int insertPoint)
|
ArrayMath |
insert(double c,
int len)
|
ArrayMath |
insert(double c,
int len,
int insertPoint)
|
ArrayMath |
insert2(double c,
int len)
|
ArrayMath |
insert2(double c,
int len,
int insertPoint)
|
ArrayMath |
lowess()
|
ArrayMath |
lowess(double smoothness)
|
ArrayMath |
lowess(double[] b)
|
ArrayMath |
lowess(double[] b,
double smoothness)
|
ArrayMath |
lowess(double[] b,
double smoothness,
int iteration)
|
ArrayMath |
lowess(double smoothness,
int iteration)
|
ArrayMath |
lowess2(double[] b)
|
ArrayMath |
lowess2(double[] b,
double smoothness)
|
ArrayMath |
lowess2(double[] b,
double smoothness,
int iteration)
|
double |
max()
|
int |
maxIndex()
|
double |
med()
|
double |
min()
|
int |
minIndex()
|
ArrayMath |
movAvg(int interval)
|
ArrayMath |
movCorr(int interval)
|
ArrayMath |
movCorr(int interval,
double[] b)
|
ArrayMath |
movMax(int interval)
|
ArrayMath |
movMed(int interval)
|
ArrayMath |
movMin(int interval)
|
ArrayMath |
movPercentile(int interval,
double percentile)
|
ArrayMath |
movStdDev(int interval)
|
ArrayMath |
mul(double b)
|
ArrayMath |
mul(double[] b)
|
ArrayMath |
mul2(double b)
|
double |
percentile(double p)
|
ArrayMath |
rate()
|
ArrayMath |
rate(int offset)
|
ArrayMath |
replace(double a,
double b)
|
double[] |
result()
|
ArrayMath |
selectEQZ()
|
ArrayMath |
selectEQZ(double[] b)
|
ArrayMath |
selectEQZ(double[] b,
double fillValue)
|
ArrayMath |
selectGEZ()
|
ArrayMath |
selectGEZ(double[] b)
|
ArrayMath |
selectGEZ(double[] b,
double fillValue)
|
ArrayMath |
selectGTZ()
|
ArrayMath |
selectGTZ(double[] b)
|
ArrayMath |
selectGTZ(double[] b,
double fillValue)
|
ArrayMath |
selectLEZ()
|
ArrayMath |
selectLEZ(double[] b)
|
ArrayMath |
selectLEZ(double[] b,
double fillValue)
|
ArrayMath |
selectLTZ()
|
ArrayMath |
selectLTZ(double[] b)
|
ArrayMath |
selectLTZ(double[] b,
double fillValue)
|
ArrayMath |
selectNEZ()
|
ArrayMath |
selectNEZ(double[] b)
|
ArrayMath |
selectNEZ(double[] b,
double fillValue)
|
ArrayMath |
selectRegularSpacing(int majorTickStep)
|
ArrayMath |
selectRegularSpacing(int majorTickStep,
int minorTickStep)
|
ArrayMath |
selectRegularSpacing(int majorTickStep,
int minorTickStep,
int initialMargin)
|
ArrayMath |
selectStartOfDay()
|
ArrayMath |
selectStartOfDay(int majorTickStep)
|
ArrayMath |
selectStartOfDay(int majorTickStep,
double initialMargin)
|
ArrayMath |
selectStartOfHour()
|
ArrayMath |
selectStartOfHour(int majorTickStep)
|
ArrayMath |
selectStartOfHour(int majorTickStep,
double initialMargin)
|
ArrayMath |
selectStartOfMinute()
|
ArrayMath |
selectStartOfMinute(int majorTickStep)
|
ArrayMath |
selectStartOfMinute(int majorTickStep,
double initialMargin)
|
ArrayMath |
selectStartOfMonth()
|
ArrayMath |
selectStartOfMonth(int majorTickStep)
|
ArrayMath |
selectStartOfMonth(int majorTickStep,
double initialMargin)
|
ArrayMath |
selectStartOfSecond()
|
ArrayMath |
selectStartOfSecond(int majorTickStep)
|
ArrayMath |
selectStartOfSecond(int majorTickStep,
double initialMargin)
|
ArrayMath |
selectStartOfWeek()
|
ArrayMath |
selectStartOfWeek(int majorTickStep)
|
ArrayMath |
selectStartOfWeek(int majorTickStep,
double initialMargin)
|
ArrayMath |
selectStartOfYear()
|
ArrayMath |
selectStartOfYear(int majorTickStep)
|
ArrayMath |
selectStartOfYear(int majorTickStep,
double initialMargin)
|
ArrayMath |
shift()
|
ArrayMath |
shift(int offset)
|
ArrayMath |
shift(int offset,
double fillValue)
|
double |
stdDev()
|
ArrayMath |
sub(double b)
|
ArrayMath |
sub(double[] b)
|
ArrayMath |
sub2(double b)
|
double |
sum()
|
ArrayMath |
trim()
|
ArrayMath |
trim(int startIndex)
|
ArrayMath |
trim(int startIndex,
int len)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ArrayMath
public ArrayMath(double[] a)
ArrayMath
public ArrayMath(java.util.Date[] a)
add
public ArrayMath add(double[] b)
add
public ArrayMath add(double b)
add2
public ArrayMath add2(double b)
sub
public ArrayMath sub(double[] b)
sub
public ArrayMath sub(double b)
sub2
public ArrayMath sub2(double b)
mul
public ArrayMath mul(double[] b)
mul
public ArrayMath mul(double b)
mul2
public ArrayMath mul2(double b)
div
public ArrayMath div(double[] b)
div
public ArrayMath div(double b)
div2
public ArrayMath div2(double b)
financeDiv
public ArrayMath financeDiv(double[] b,
double zeroByZeroValue)
shift
public ArrayMath shift(int offset,
double fillValue)
shift
public ArrayMath shift(int offset)
shift
public ArrayMath shift()
delta
public ArrayMath delta(int offset)
delta
public ArrayMath delta()
rate
public ArrayMath rate(int offset)
rate
public ArrayMath rate()
abs
public ArrayMath abs()
acc
public ArrayMath acc()
selectGTZ
public ArrayMath selectGTZ(double[] b,
double fillValue)
selectGTZ
public ArrayMath selectGTZ(double[] b)
selectGTZ
public ArrayMath selectGTZ()
selectGEZ
public ArrayMath selectGEZ(double[] b,
double fillValue)
selectGEZ
public ArrayMath selectGEZ(double[] b)
selectGEZ
public ArrayMath selectGEZ()
selectLTZ
public ArrayMath selectLTZ(double[] b,
double fillValue)
selectLTZ
public ArrayMath selectLTZ(double[] b)
selectLTZ
public ArrayMath selectLTZ()
selectLEZ
public ArrayMath selectLEZ(double[] b,
double fillValue)
selectLEZ
public ArrayMath selectLEZ(double[] b)
selectLEZ
public ArrayMath selectLEZ()
selectEQZ
public ArrayMath selectEQZ(double[] b,
double fillValue)
selectEQZ
public ArrayMath selectEQZ(double[] b)
selectEQZ
public ArrayMath selectEQZ()
selectNEZ
public ArrayMath selectNEZ(double[] b,
double fillValue)
selectNEZ
public ArrayMath selectNEZ(double[] b)
selectNEZ
public ArrayMath selectNEZ()
selectStartOfSecond
public ArrayMath selectStartOfSecond(int majorTickStep,
double initialMargin)
selectStartOfSecond
public ArrayMath selectStartOfSecond(int majorTickStep)
selectStartOfSecond
public ArrayMath selectStartOfSecond()
selectStartOfMinute
public ArrayMath selectStartOfMinute(int majorTickStep,
double initialMargin)
selectStartOfMinute
public ArrayMath selectStartOfMinute(int majorTickStep)
selectStartOfMinute
public ArrayMath selectStartOfMinute()
selectStartOfHour
public ArrayMath selectStartOfHour(int majorTickStep,
double initialMargin)
selectStartOfHour
public ArrayMath selectStartOfHour(int majorTickStep)
selectStartOfHour
public ArrayMath selectStartOfHour()
selectStartOfDay
public ArrayMath selectStartOfDay(int majorTickStep,
double initialMargin)
selectStartOfDay
public ArrayMath selectStartOfDay(int majorTickStep)
selectStartOfDay
public ArrayMath selectStartOfDay()
selectStartOfWeek
public ArrayMath selectStartOfWeek(int majorTickStep,
double initialMargin)
selectStartOfWeek
public ArrayMath selectStartOfWeek(int majorTickStep)
selectStartOfWeek
public ArrayMath selectStartOfWeek()
selectStartOfMonth
public ArrayMath selectStartOfMonth(int majorTickStep,
double initialMargin)
selectStartOfMonth
public ArrayMath selectStartOfMonth(int majorTickStep)
selectStartOfMonth
public ArrayMath selectStartOfMonth()
selectStartOfYear
public ArrayMath selectStartOfYear(int majorTickStep,
double initialMargin)
selectStartOfYear
public ArrayMath selectStartOfYear(int majorTickStep)
selectStartOfYear
public ArrayMath selectStartOfYear()
selectRegularSpacing
public ArrayMath selectRegularSpacing(int majorTickStep,
int minorTickStep,
int initialMargin)
selectRegularSpacing
public ArrayMath selectRegularSpacing(int majorTickStep,
int minorTickStep)
selectRegularSpacing
public ArrayMath selectRegularSpacing(int majorTickStep)
trim
public ArrayMath trim(int startIndex,
int len)
trim
public ArrayMath trim(int startIndex)
trim
public ArrayMath trim()
insert
public ArrayMath insert(double[] a,
int insertPoint)
insert
public ArrayMath insert(double[] a)
insert
public ArrayMath insert(double c,
int len,
int insertPoint)
insert
public ArrayMath insert(double c,
int len)
insert2
public ArrayMath insert2(double c,
int len,
int insertPoint)
insert2
public ArrayMath insert2(double c,
int len)
replace
public ArrayMath replace(double a,
double b)
movAvg
public ArrayMath movAvg(int interval)
expAvg
public ArrayMath expAvg(double smoothingFactor)
movMed
public ArrayMath movMed(int interval)
movPercentile
public ArrayMath movPercentile(int interval,
double percentile)
movMax
public ArrayMath movMax(int interval)
movMin
public ArrayMath movMin(int interval)
movStdDev
public ArrayMath movStdDev(int interval)
movCorr
public ArrayMath movCorr(int interval,
double[] b)
movCorr
public ArrayMath movCorr(int interval)
lowess
public ArrayMath lowess(double smoothness,
int iteration)
lowess
public ArrayMath lowess(double smoothness)
lowess
public ArrayMath lowess()
lowess
public ArrayMath lowess(double[] b,
double smoothness,
int iteration)
lowess
public ArrayMath lowess(double[] b,
double smoothness)
lowess
public ArrayMath lowess(double[] b)
lowess2
public ArrayMath lowess2(double[] b,
double smoothness,
int iteration)
lowess2
public ArrayMath lowess2(double[] b,
double smoothness)
lowess2
public ArrayMath lowess2(double[] b)
result
public double[] result()
max
public double max()
min
public double min()
avg
public double avg()
sum
public double sum()
med
public double med()
percentile
public double percentile(double p)
maxIndex
public int maxIndex()
minIndex
public int minIndex()
stdDev
public double stdDev()
aggregate
public java.util.Date[] aggregate(java.util.Date[] srcArray,
int aggregateMethod)
aggregate
public java.util.Date[] aggregate(java.util.Date[] srcArray,
int aggregateMethod,
double param)
aggregate
public double[] aggregate(double[] srcArray,
int aggregateMethod)
aggregate
public double[] aggregate(double[] srcArray,
int aggregateMethod,
double param)