| org.geotools.referencing.operation.transform.AbstractMathTransform org.geotools.referencing.operation.transform.LogarithmicTransform1D
LogarithmicTransform1D | public class LogarithmicTransform1D extends AbstractMathTransform implements MathTransform1D,Serializable(Code) | | A one dimensional, logarithmic transform.
Input values x are converted into
output values y using the following equation:
y =
+ log
(x)
=
+ ln(x)/ln(
)
This transform is the inverse of
ExponentialTransform1D .
since: 2.0 version: $Id: LogarithmicTransform1D.java 24384 2007-02-14 00:23:05Z desruisseaux $ author: Martin Desruisseaux See Also: ExponentialTransform1D See Also: LinearTransform1D |
Method Summary | |
MathTransform | concatenate(MathTransform other, boolean applyOtherFirst) Concatenates in an optimized way a
MathTransform
other to this
MathTransform . | public static MathTransform1D | create(double base, double offset) Constructs a new logarithmic transform. | public double | derivative(double value) Gets the derivative of this function at a value. | public boolean | equals(Object object) Compares the specified object with this math transform for equality. | public ParameterDescriptorGroup | getParameterDescriptors() Returns the parameter descriptors for this math transform. | public ParameterValueGroup | getParameterValues() Returns the parameter values for this math transform. | public int | getSourceDimensions() Gets the dimension of input points, which is 1. | public int | getTargetDimensions() Gets the dimension of output points, which is 1. | public int | hashCode() Returns a hash value for this transform. | public MathTransform | inverse() Creates the inverse transform of this object. | public double | transform(double value) Transforms the specified value. | public void | transform(float[] srcPts, int srcOff, float[] dstPts, int dstOff, int numPts) Transforms a list of coordinate point ordinal values. | public void | transform(double[] srcPts, int srcOff, double[] dstPts, int dstOff, int numPts) Transforms a list of coordinate point ordinal values. |
base | final public double base(Code) | | The base of the logarithm.
|
offset | final public double offset(Code) | | The offset to add to the logarithm.
|
LogarithmicTransform1D | LogarithmicTransform1D(ExponentialTransform1D inverse)(Code) | | Constructs a new logarithmic transform which is the
inverse of the supplied exponentional transform.
|
LogarithmicTransform1D | protected LogarithmicTransform1D(double base, double offset)(Code) | | Constructs a new logarithmic transform. This constructor is provided for subclasses only.
Instances should be created using the
, which
may returns optimized implementations for some particular argument values.
Parameters: base - The base of the logarithm. Parameters: offset - The offset to add to the logarithm. |
concatenate | MathTransform concatenate(MathTransform other, boolean applyOtherFirst)(Code) | | Concatenates in an optimized way a
MathTransform
other to this
MathTransform . This implementation can optimize some concatenation with
LinearTransform1D and
ExponentialTransform1D .
Parameters: other - The math transform to apply. Parameters: applyOtherFirst - true if the transformation order is other followed by this , or false if the transformation order is this followed by other . The combined math transform, or null if no optimized combinedtransform is available. |
create | public static MathTransform1D create(double base, double offset)(Code) | | Constructs a new logarithmic transform.
Parameters: base - The base of the logarithm. Parameters: offset - The offset to add to the logarithm. |
derivative | public double derivative(double value)(Code) | | Gets the derivative of this function at a value.
|
equals | public boolean equals(Object object)(Code) | | Compares the specified object with this math transform for equality.
|
getParameterDescriptors | public ParameterDescriptorGroup getParameterDescriptors()(Code) | | Returns the parameter descriptors for this math transform.
|
getParameterValues | public ParameterValueGroup getParameterValues()(Code) | | Returns the parameter values for this math transform.
A copy of the parameter values for this math transform. |
getSourceDimensions | public int getSourceDimensions()(Code) | | Gets the dimension of input points, which is 1.
|
getTargetDimensions | public int getTargetDimensions()(Code) | | Gets the dimension of output points, which is 1.
|
hashCode | public int hashCode()(Code) | | Returns a hash value for this transform.
This value need not remain consistent between
different implementations of the same class.
|
inverse | public MathTransform inverse()(Code) | | Creates the inverse transform of this object.
|
transform | public double transform(double value)(Code) | | Transforms the specified value.
|
transform | public void transform(float[] srcPts, int srcOff, float[] dstPts, int dstOff, int numPts)(Code) | | Transforms a list of coordinate point ordinal values.
|
transform | public void transform(double[] srcPts, int srcOff, double[] dstPts, int dstOff, int numPts)(Code) | | Transforms a list of coordinate point ordinal values.
|
Methods inherited from org.geotools.referencing.operation.transform.AbstractMathTransform | MathTransform concatenate(MathTransform other, boolean applyOtherFirst)(Code)(Java Doc) public Shape createTransformedShape(Shape shape) throws TransformException(Code)(Java Doc) final Shape createTransformedShape(Shape shape, AffineTransform preTransform, AffineTransform postTransform, int orientation) throws TransformException(Code)(Java Doc) public Matrix derivative(Point2D point) throws TransformException(Code)(Java Doc) public Matrix derivative(DirectPosition point) throws TransformException(Code)(Java Doc) protected static void ensureNonNull(String name, Object object) throws IllegalArgumentException(Code)(Java Doc) public boolean equals(Object object)(Code)(Java Doc) protected String formatWKT(Formatter formatter)(Code)(Java Doc) public ParameterDescriptorGroup getParameterDescriptors()(Code)(Java Doc) public ParameterValueGroup getParameterValues()(Code)(Java Doc) abstract public int getSourceDimensions()(Code)(Java Doc) abstract public int getTargetDimensions()(Code)(Java Doc) public int hashCode()(Code)(Java Doc) public MathTransform inverse() throws NoninvertibleTransformException(Code)(Java Doc) static Matrix invert(Matrix matrix) throws NoninvertibleTransformException(Code)(Java Doc) public boolean isIdentity()(Code)(Java Doc) protected static boolean needCopy(int srcOff, int dimSource, int dstOff, int dimTarget, int numPts)(Code)(Java Doc) protected static double rollLongitude(double x)(Code)(Java Doc) static GeneralMatrix toGMatrix(Matrix matrix)(Code)(Java Doc) static XMatrix toXMatrix(Matrix matrix)(Code)(Java Doc) public Point2D transform(Point2D ptSrc, Point2D ptDst) throws TransformException(Code)(Java Doc) public DirectPosition transform(DirectPosition ptSrc, DirectPosition ptDst) throws TransformException(Code)(Java Doc) public void transform(float[] srcPts, int srcOff, float[] dstPts, int dstOff, int numPts) throws TransformException(Code)(Java Doc)
|
|
|