icecube.daq.domcal
Class Statistics

java.lang.Object
  extended by icecube.daq.domcal.Statistics

public class Statistics
extends java.lang.Object


Constructor Summary
Statistics()
          Default constructor
Statistics(double[] x)
          Constructor for array of doubles.
Statistics(int[] x)
          Constructor for array of integers.
 
Method Summary
 double getMean()
          Public interface to get mean value
 double getRMS()
          Public interface to get RMS value
 double getVariance()
          Public interface to get variance value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Statistics

public Statistics()
Default constructor


Statistics

public Statistics(double[] x)
Constructor for array of doubles.

Parameters:
x - array of doubles on which to calculate statistics

Statistics

public Statistics(int[] x)
Constructor for array of integers.

Parameters:
x - array of ints on which to calculate statistics
Method Detail

getMean

public double getMean()
Public interface to get mean value


getVariance

public double getVariance()
Public interface to get variance value


getRMS

public double getRMS()
Public interface to get RMS value



Copyright © 2006 IceCube Collaboration. All Rights Reserved.