org.jplot2d.transform
Class LogTransform
- java.lang.Object
-
- org.jplot2d.transform.LogTransform
-
- All Implemented Interfaces:
- Transform1D
public class LogTransform extends java.lang.Object implements Transform1D
The dest value = k * Math.log10(src value) + a.
-
-
Constructor Summary
Constructors Constructor and Description LogTransform()LogTransform(double offset, double scale, double d1, double d2)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description doubleconvert(double u)
-
-
-
Constructor Detail
-
LogTransform
public LogTransform()
-
LogTransform
public LogTransform(double offset, double scale, double d1, double d2)- Parameters:
offset- the offset in LogarithmicNormalTransformscale- the scale in LogarithmicNormalTransformd1- the start value in destinationd2- the end value in destination
-
-
Method Detail
-
convert
public double convert(double u)
- Specified by:
convertin interfaceTransform1D
-
-
DMelt 3.0 © DataMelt by jWork.ORG