public abstract class Transformer extends java.lang.Object implements Component
Constructor and Description 

Transformer() 
Modifier and Type  Method and Description 

protected abstract int 
getInputDimension()
Get the dimensionality of the input vectors.

protected abstract int 
getOutputDimension()
Get the dimensionality of the output vectors.

abstract Transformer 
inverse()
Get the inverse of the transformation.

abstract boolean 
isInverse(Transformer trans)
Are these two transformations, inverses of each other? This
method is used to optimize a series of transformations where
transformations.

double[] 
transform(double[] in)
Convert a single point.

void 
transform(double[][] in,
double[][] out)
Convert an array of points where the output vectors are supplied.

abstract void 
transform(double[] in,
double[] out)
Convert a single point where the output vector is supplied.

clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDescription, getName
protected abstract int getOutputDimension()
protected abstract int getInputDimension()
public double[] transform(double[] in)
in
 An array giving the input vector.public abstract Transformer inverse() throws TransformationException
TransformationException
public abstract void transform(double[] in, double[] out)
in
 The input vector.out
 The output vector, it may be the same as the input
vector if the dimensionalities are the same. All
transformers are expected to work with aliased inputs and output.public abstract boolean isInverse(Transformer trans)
public void transform(double[][] in, double[][] out) throws TransformationException
in
 A set of positions to be transformed. The first dimension should
be consistent with getInputDimension, while the second is the number of
points to be transferred.out
 The updated positions. The first dimension should be consistent with
getOutputDimension, while the second is the number of points to be transferred.
This argument may point to the same data as the input.TransformationException