public class Converter extends Transformer implements Component
Constructor and Description |
---|
Converter() |
Modifier and Type | Method and Description |
---|---|
void |
add(Transformer trans)
Add a component to the transformation
|
void |
check()
See if there are any optimizations we can do.
|
void |
debug(boolean flag) |
java.lang.String |
getDescription()
Get the description of this component.
|
int |
getInputDimension()
Get the dimensionality of the input vectors.
|
java.lang.String |
getName()
Get the name of this component.
|
int |
getOutputDimension()
Get the dimensionality of the output vectors.
|
Converter |
inverse()
Return the inverse of this series of transformations.
|
boolean |
isInverse(Transformer t)
Is this the inverse of another transformation.
|
void |
printElements() |
void |
transform(double[] in,
double[] out)
Transform a vector
|
transform, transform
public java.lang.String getName()
Component
public java.lang.String getDescription()
Component
getDescription
in interface Component
public void printElements()
public void debug(boolean flag)
public int getInputDimension()
getInputDimension
in class Transformer
public int getOutputDimension()
getOutputDimension
in class Transformer
public void add(Transformer trans) throws TransformationException
TransformationException
public void transform(double[] in, double[] out)
transform
in class Transformer
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 void check()
public Converter inverse()
inverse
in class Transformer
public boolean isInverse(Transformer t)
isInverse
in class Transformer