hep.aida.tfloat.ref.FloatHistogram1DContents Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of parallelcolt Show documentation
Show all versions of parallelcolt Show documentation
Parallel Colt is a multithreaded version of Colt - a library for high performance scientific computing in Java. It contains efficient algorithms for data analysis, linear algebra, multi-dimensional arrays, Fourier transforms, statistics and histogramming.
The newest version!
package hep.aida.tfloat.ref;
public class FloatHistogram1DContents {
private float[] errors;
private float[] heights;
private int[] entries;
private int nEntry; // total number of times fill called
private float sumWeight; // Sum of all weights
private float sumWeightSquared; // Sum of the squares of the weights
private float mean, rms;
public FloatHistogram1DContents(int[] entries, float[] heights, float[] errors, int nEntry, float sumWeight,
float sumWeightSquared, float mean, float rms) {
this.entries = entries;
this.heights = heights;
this.errors = errors;
this.nEntry = nEntry;
this.sumWeight = sumWeight;
this.sumWeightSquared = sumWeightSquared;
this.mean = mean;
this.rms = rms;
}
public int[] getEntries() {
return entries;
}
public float[] getHeights() {
return heights;
}
public float[] getErrors() {
return errors;
}
public int getNentry() {
return nEntry;
}
public float getSumWeight() {
return sumWeight;
}
public float getSumWeightSquared() {
return sumWeightSquared;
}
public float getMean() {
return mean;
}
public float getRms() {
return rms;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy