edu.rit.numeric
Class TransformedXYZSeries
- java.lang.Object
-
- edu.rit.numeric.XYZSeries
-
- edu.rit.numeric.TransformedXYZSeries
-
public class TransformedXYZSeries extends XYZSeries
Class TransformedXYZSeries provides an XYZSeries that is formed by transforming the values in an underlying XYZSeries. The underlying series consists of a list of triples (xi, yi, zi). The transformed series consists of a list of triples (f1(xi), f2(yi), f3(zi)), where each of f1, f2, and f3 is computed by aFunction.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class edu.rit.numeric.XYZSeries
XYZSeries.Regression
-
-
Constructor Summary
Constructors Constructor and Description TransformedXYZSeries(XYZSeries theSeries, Function theXFunction, Function theYFunction, Function theZFunction)Construct a new transformed X-Y-Z 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.doublez(int i)Returns the given Z value in this series.
-
-
-
Constructor Detail
-
TransformedXYZSeries
public TransformedXYZSeries(XYZSeries theSeries, Function theXFunction, Function theYFunction, Function theZFunction)
Construct a new transformed X-Y-Z series.- Parameters:
theSeries- Underlying X-Y-Z 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.theZFunction- Function for transforming the Z values, or null not to transform the Z values.- Throws:
java.lang.NullPointerException- (unchecked exception) Thrown if theSeries is null.
-
-
DMelt 3.0 © DataMelt by jWork.ORG