DataSourceIndependent
public class DataSourceCorrelation extends java.lang.Object implements DataSourceIndependent
Modifier and Type | Class | Description |
---|---|---|
class |
DataSourceCorrelation.Meter |
|
class |
DataSourceCorrelation.Receiver |
Modifier and Type | Field | Description |
---|---|---|
protected ConfigurationStorage |
configStorage |
|
protected DataFunction[] |
data |
|
protected DataFunction.DataInfoFunction[] |
dataInfo |
|
protected double[][][] |
lastSampleX |
|
protected double[][][] |
lastSampleY |
|
protected long[] |
lastStepX |
|
protected long[] |
lastStepY |
|
protected int |
nData |
|
protected long[] |
nSamples |
|
protected DataTag[] |
tag |
|
protected DataDoubleArray |
tData |
|
protected DataDoubleArray.DataInfoDoubleArray |
tDataInfo |
|
protected DataTag |
tTag |
|
protected double[][] |
x2Sum |
|
protected double[][] |
xySum |
|
protected double[][] |
y2Sum |
Constructor | Description |
---|---|
DataSourceCorrelation(ConfigurationStorage configStorage,
int nData) |
Modifier and Type | Method | Description |
---|---|---|
int |
getIndependentArrayDimension() |
Returns the number of independent data dimensions
|
DataDoubleArray |
getIndependentData(int i) |
Returns the X data for the given dimension
|
DataDoubleArray.DataInfoDoubleArray |
getIndependentDataInfo(int i) |
Returns the DataInfo for the given dimension
|
DataTag |
getIndependentTag() |
Returns the tag associated with this DataSource.
|
DataSourceCorrelation.Meter |
makeMeter(int idx) |
|
DataSourceCorrelation.Receiver |
makeReceiver(int dataIdx) |
|
void |
putData(int idx,
int interval,
double[][] xyData) |
|
void |
reallocate(int n) |
|
void |
reset() |
|
protected void |
setTimeData() |
protected final ConfigurationStorage configStorage
protected DataDoubleArray tData
protected DataDoubleArray.DataInfoDoubleArray tDataInfo
protected final DataFunction[] data
protected DataFunction.DataInfoFunction[] dataInfo
protected double[][] xySum
protected double[][] x2Sum
protected double[][] y2Sum
protected final DataTag[] tag
protected final DataTag tTag
protected long[] nSamples
protected double[][][] lastSampleX
protected double[][][] lastSampleY
protected long[] lastStepX
protected long[] lastStepY
protected final int nData
public DataSourceCorrelation(ConfigurationStorage configStorage, int nData)
public void reset()
public void reallocate(int n)
protected void setTimeData()
public DataDoubleArray getIndependentData(int i)
DataSourceIndependent
getIndependentData
in interface DataSourceIndependent
public DataDoubleArray.DataInfoDoubleArray getIndependentDataInfo(int i)
DataSourceIndependent
getIndependentDataInfo
in interface DataSourceIndependent
public int getIndependentArrayDimension()
DataSourceIndependent
getIndependentArrayDimension
in interface DataSourceIndependent
public DataTag getIndependentTag()
DataSourceIndependent
getIndependentTag
in interface DataSourceIndependent
public void putData(int idx, int interval, double[][] xyData)
public DataSourceCorrelation.Receiver makeReceiver(int dataIdx)
public DataSourceCorrelation.Meter makeMeter(int idx)