Documentation of 'edu.rit.numeric.AggregateXYZSeries' Java class
AggregateXYZSeries
edu.rit.numeric

Class AggregateXYZSeries



  • public class AggregateXYZSeries
    extends XYZSeries
    Class AggregateXYZSeries provides an XYZSeries formed by aggregating three Series together.
    • Constructor Detail

      • AggregateXYZSeries

        public AggregateXYZSeries(Series x,
                                  Series y,
                                  Series z)
        Construct a new aggregate XYZ series. It is assumed that the x, y, and z series are the same length.

        Note: This series object stores references to x, y, and z. Changing the contents of x, y, or z will change the contents of this series.

        Parameters:
        x - Series of X values.
        y - Series of Y values.
        z - Series of Z values.
        Throws:
        java.lang.NullPointerException - (unchecked exception) Thrown if x, y, or z is null.
    • Method Detail

      • length

        public int length()
        Returns the number of values in this series.
        Specified by:
        length in class XYZSeries
        Returns:
        Length.
      • x

        public double x(int i)
        Returns the given X value in this series.
        Specified by:
        x in class XYZSeries
        Parameters:
        i - Index.
        Returns:
        The X value in this series at index i.
        Throws:
        java.lang.ArrayIndexOutOfBoundsException - (unchecked exception) Thrown if i is not in the range 0 .. length()-1.
      • y

        public double y(int i)
        Returns the given Y value in this series.
        Specified by:
        y in class XYZSeries
        Parameters:
        i - Index.
        Returns:
        The Y value in this series at index i.
        Throws:
        java.lang.ArrayIndexOutOfBoundsException - (unchecked exception) Thrown if i is not in the range 0 .. length()-1.
      • z

        public double z(int i)
        Returns the given Z value in this series.
        Specified by:
        z in class XYZSeries
        Parameters:
        i - Index.
        Returns:
        The Z value in this series at index i.
        Throws:
        java.lang.ArrayIndexOutOfBoundsException - (unchecked exception) Thrown if i is not in the range 0 .. length()-1.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.