| org.geotools.referencing.operation.transform.AbstractMathTransform org.geotools.referencing.operation.transform.ExponentialTransform1D
ExponentialTransform1D | public class ExponentialTransform1D extends AbstractMathTransform implements MathTransform1D,Serializable(Code) | | A one dimensional exponentional transform.
Input values x are converted into
output values y using the following equation:
y =
×
x
This equation may be written in other form:
a + b×x =
a×(
b)x
since: 2.0 version: $Id: ExponentialTransform1D.java 24384 2007-02-14 00:23:05Z desruisseaux $ author: Martin Desruisseaux See Also: LogarithmicTransform1D See Also: LinearTransform1D |
Method Summary | |
MathTransform | concatenate(MathTransform other, boolean applyOtherFirst) Concatenates in an optimized way a
MathTransform
other to this
MathTransform . | MathTransform | concatenateLog(LogarithmicTransform1D other, boolean applyOtherFirst) Concatenates in an optimized way a
LogarithmicTransform1D
other to this
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 . | public static MathTransform1D | create(double base, double scale) Constructs a new exponentional 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 to be raised to a power.
|
scale | final public double scale(Code) | | The scale value to be multiplied.
|
ExponentialTransform1D | ExponentialTransform1D(LogarithmicTransform1D inverse)(Code) | | Constructs a new exponentional transform which is the
inverse of the supplied logarithmic transform.
|
ExponentialTransform1D | protected ExponentialTransform1D(double base, double scale)(Code) | | Constructs a new exponentional 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 to be raised to a power. Parameters: scale - The scale value to be multiplied. |
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
LogarithmicTransform1D .
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. |
concatenateLog | MathTransform concatenateLog(LogarithmicTransform1D other, boolean applyOtherFirst)(Code) | | Concatenates in an optimized way a
LogarithmicTransform1D
other to this
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 scale)(Code) | | Constructs a new exponentional transform.
Parameters: base - The base to be raised to a power. Parameters: scale - The scale value to be multiplied. |
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)
|
|
|