Class DuplicateSampleAbscissaException

  • All Implemented Interfaces:
    java.io.Serializable, MathThrowable

    public class DuplicateSampleAbscissaException
    extends MathException
    Exception thrown when a sample contains several entries at the same abscissa.
    Since:
    1.2
    See Also:
    Serialized Form
    • Constructor Detail

      • DuplicateSampleAbscissaException

        public DuplicateSampleAbscissaException​(double abscissa,
                                                int i1,
                                                int i2)
        Construct an exception indicating the duplicate abscissa.
        Parameters:
        abscissa - duplicate abscissa
        i1 - index of one entry having the duplicate abscissa
        i2 - index of another entry having the duplicate abscissa
    • Method Detail

      • getDuplicateAbscissa

        public double getDuplicateAbscissa()
        Get the duplicate abscissa.
        Returns:
        duplicate abscissa