Documentation of 'hep.aida.ref.histogram.DataPoint' Java class
DataPoint
hep.aida.ref.histogram

Class DataPoint

    • Constructor Detail

      • DataPoint

        public DataPoint(int dim)
      • DataPoint

        public DataPoint(double[] val)
      • DataPoint

        public DataPoint(double[] val,
                         double[] err)
      • DataPoint

        public DataPoint(double[] val,
                         double[] errMinus,
                         double[] errPlus)
    • Method Detail

      • dimension

        public int dimension()
        Description copied from interface: IDataPoint
        Get the dimension of the IDataPoint, i.e. the number of coordinates the point has.
        Specified by:
        dimension in interface IDataPoint
        Returns:
        The dimension.
      • coordinate

        public IMeasurement coordinate(int coord)
        Description copied from interface: IDataPoint
        Get the IMeasurement for a given coordinate.
        Specified by:
        coordinate in interface IDataPoint
        Parameters:
        coord - The coordinate.
        Returns:
        The corresponding IMeasurement.
      • lowerExtent

        public double lowerExtent(int coord)
                           throws java.lang.IllegalArgumentException
        Get the lower value for a give axis. This method is not in the IDataPoint interface and is here for efficiency reasons
        Parameters:
        coord - The coordinate of the axis.
        Returns:
        The lower edge of the corresponding axis.
        Throws:
        java.lang.IllegalArgumentException - if coord < 0 or coord >= dimension() or if the set is empty.
      • upperExtent

        public double upperExtent(int coord)
                           throws java.lang.IllegalArgumentException
        Get the upper value for a give axis. This method is not in the IDataPoint interface and is here for efficiency reasons
        Parameters:
        coord - The coordinate of the axis.
        Returns:
        The upper edge of the corresponding axis.
        Throws:
        java.lang.IllegalArgumentException - if coord < 0 or coord >= dimension() or if the set is empty.
      • stateChanged

        public void stateChanged(java.util.EventObject e)
        Specified by:
        stateChanged in interface AIDAListener
      • clear

        public void clear()

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.