Beispiel #1
0
 public _3DStatistic(List<double> x, List<double> y, List<double> z)
 {
     xStat = new ExtendedStatistics(x);
     yStat = new ExtendedStatistics(y);
     zStat = new ExtendedStatistics(z);
     xy_corr = computeCorrelation(x.ConvertAll<double>(p => p), y.ConvertAll<double>(p => p));
     xz_corr = computeCorrelation(x.ConvertAll<double>(p => p), z.ConvertAll<double>(p => p));
     yz_corr = computeCorrelation(y.ConvertAll<double>(p => p), z.ConvertAll<double>(p => p));
     sma = computeSMA(x.ConvertAll<double>(p => p), y.ConvertAll<double>(p => p), z.ConvertAll<double>(p => p));
     energy = computeEnergy(x.ConvertAll<double>(p => p), y.ConvertAll<double>(p => p), z.ConvertAll<double>(p => p));
 }
Beispiel #2
0
 _3DStatistic(List<double> x, List<double> y, List<double> z)
 {
     xStat = new ExtendedStatistics(x);
     yStat = new ExtendedStatistics(y);
     zStat = new ExtendedStatistics(z);
     xy_corr =  computeCorrelation(x, y);
     xz_corr = computeCorrelation(x, z);
     yz_corr = computeCorrelation(y, z);
     sma = computeSMA(x, y, z);
     energy = computeEnergy(x, y, z);
 }