edu.rit.numeric
Interface Series

All Known Subinterfaces:
XYSeries
All Known Implementing Classes:
BasicFloatXYSeries, BasicXYSeries

public interface Series

Interface Series specifies the interface for a series of real values (type double).


Method Summary
 int length()
          Returns the number of values in this series.
 double value(int i)
          Returns the given value in this series.
 

Method Detail

length

int length()
Returns the number of values in this series.


value

double value(int i)
Returns the given value in this series.

Parameters:
i - Index.
Returns:
The value in this series at index i.
Throws:
ArrayIndexOutOfBoundsException - (unchecked exception) Thrown if i is not in the range 0 .. length()-1.


Copyright © 2005 by Alan Kaminsky. All rights reserved. Send comments to ark­@­cs.rit.edu.