edu.rit.numeric
Class TransformedXYSeries
- java.lang.Object
-
- edu.rit.numeric.XYSeries
-
- edu.rit.numeric.TransformedXYSeries
-
public class TransformedXYSeries extends XYSeries
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class edu.rit.numeric.XYSeries
XYSeries.Regression
-
-
Constructor Summary
Constructors Constructor and Description TransformedXYSeries(XYSeries theSeries, Function theXFunction, Function theYFunction)Construct a new transformed X-Y 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
-
TransformedXYSeries
public TransformedXYSeries(XYSeries theSeries, Function theXFunction, Function theYFunction)
Construct a new transformed X-Y series.- Parameters:
theSeries- Underlying X-Y series.theXFunction- Function for transforming the X values, or null not to transform the X values.theYFunction- Function for transforming the Y values, or null not to transform the Y values.- Throws:
java.lang.NullPointerException- (unchecked exception) Thrown if theSeries is null.
-
-
DMelt 3.0 © DataMelt by jWork.ORG