edu.rit.numeric
Class TransformedSeries
- java.lang.Object
-
- edu.rit.numeric.Series
-
- edu.rit.numeric.TransformedSeries
-
- All Implemented Interfaces:
- java.lang.Iterable<java.lang.Double>
public class TransformedSeries extends Series
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class edu.rit.numeric.Series
Series.RobustStats, Series.Stats
-
-
Constructor Summary
Constructors Constructor and Description TransformedSeries(Series theSeries, Function theXFunction)Construct a new transformed 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.-
Methods inherited from class edu.rit.numeric.Series
isEmpty, iterator, maxX, minX, print, print, print, robustStats, stats
-
-
-
-
Constructor Detail
-
TransformedSeries
public TransformedSeries(Series theSeries, Function theXFunction)
Construct a new transformed series.- Parameters:
theSeries- Underlying series.theXFunction- Function for transforming the X values, or null not to transform the X values.- Throws:
java.lang.NullPointerException- (unchecked exception) Thrown if theSeries is null.
-
-
DMelt 3.0 © DataMelt by jWork.ORG