edu.rit.numeric
Class AggregateXYSeries
- java.lang.Object
-
- edu.rit.numeric.XYSeries
-
- edu.rit.numeric.AggregateXYSeries
-
public class AggregateXYSeries extends XYSeries
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class edu.rit.numeric.XYSeries
XYSeries.Regression
-
-
Constructor Summary
Constructors Constructor and Description AggregateXYSeries(Series x, Series y)Construct a new aggregate XY series.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description intlength()Returns the number of values in this series.doublex(int i)Returns the given X value in this series.doubley(int i)Returns the given Y value in this series.
-
-
-
Constructor Detail
-
AggregateXYSeries
public AggregateXYSeries(Series x, Series y)
Construct a new aggregate XY series. It is assumed that the x and y series are the same length.Note: This series object stores references to x and y. Changing the contents of x or y will change the contents of this series.
- Parameters:
x- Series of X values.y- Series of Y values.- Throws:
java.lang.NullPointerException- (unchecked exception) Thrown if x or y is null.
-
-
DMelt 3.0 © DataMelt by jWork.ORG