Class DefaultErrorDataSet

    • Constructor Detail

      • DefaultErrorDataSet

        public DefaultErrorDataSet​(java.lang.String name)
        Creates a new instance of DefaultErrorDataSet.
        Parameters:
        name - name of this DataSet.
      • DefaultErrorDataSet

        public DefaultErrorDataSet​(java.lang.String name,
                                   int initalSize)
        Creates a new instance of DefaultErrorDataSet.
        Parameters:
        name - name of this DataSet.
        initalSize - maximum capacity of buffer
        Throws:
        java.lang.IllegalArgumentException - if name is null
      • DefaultErrorDataSet

        public DefaultErrorDataSet​(DataSet another)
        Creates a new instance of DoubleDataSet as copy of another (deep-copy).
        Parameters:
        another - name of this DataSet.
      • DefaultErrorDataSet

        public DefaultErrorDataSet​(java.lang.String name,
                                   double[] xValues,
                                   double[] yValues,
                                   double[] yErrorsNeg,
                                   double[] yErrorsPos,
                                   int nData,
                                   boolean deepCopy)

        Creates a new instance of DefaultErrorDataSet.

        Parameters:
        name - name of this data set.
        xValues - X coordinates
        yValues - Y coordinates
        yErrorsNeg - Y negative coordinate error
        yErrorsPos - Y positive coordinate error
        nData - how many data points are relevant to be taken
        deepCopy - if true, the input array is copied
        Throws:
        java.lang.IllegalArgumentException - if any of parameters is null or if arrays with coordinates have different lengths