|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.rit.numeric.XYSeries
edu.rit.numeric.AggregateXYSeries
public class AggregateXYSeries
Class AggregateXYSeries provides an XYSeries formed by aggregating two Series together.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class edu.rit.numeric.XYSeries |
|---|
XYSeries.Regression |
| Constructor Summary | |
|---|---|
AggregateXYSeries(Series x,
Series y)
Construct a new aggregate XY series. |
|
| Method Summary | |
|---|---|
int |
length()
Returns the number of values in this series. |
double |
x(int i)
Returns the given X value in this series. |
double |
y(int i)
Returns the given Y value in this series. |
| Methods inherited from class edu.rit.numeric.XYSeries |
|---|
isEmpty, linearRegression, maxX, maxY, minX, minY, print, print, print, xSeries, ySeries |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AggregateXYSeries(Series x,
Series y)
Note: This series object stores references to x and y. Changing the contents of x or y will change the contents of this series.
x - Series of X values.y - Series of Y values.
NullPointerException - (unchecked exception) Thrown if x or y is null.| Method Detail |
|---|
public int length()
length in class XYSeriespublic double x(int i)
x in class XYSeriesi - Index.
ArrayIndexOutOfBoundsException - (unchecked exception) Thrown if i is not in the range
0 .. length()-1.public double y(int i)
y in class XYSeriesi - Index.
ArrayIndexOutOfBoundsException - (unchecked exception) Thrown if i is not in the range
0 .. length()-1.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||