Class Converter

    • Constructor Detail

      • Converter

        public Converter()
    • Method Detail

      • getName

        public String getName()
        Description copied from interface: Component
        Get the name of this component.
        Specified by:
        getName in interface Component
      • printElements

        public void printElements()
      • debug

        public void debug​(boolean flag)
      • getInputDimension

        public int getInputDimension()
        Get the dimensionality of the input vectors.
        Specified by:
        getInputDimension in class Transformer
      • getOutputDimension

        public int getOutputDimension()
        Get the dimensionality of the output vectors.
        Specified by:
        getOutputDimension in class Transformer
      • transform

        public void transform​(double[] in,
                              double[] out)
        Transform a vector
        Specified by:
        transform in class Transformer
        Parameters:
        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.
      • check

        public void check()
        See if there are any optimizations we can do.
      • inverse

        public Converter inverse()
        Return the inverse of this series of transformations.
        Specified by:
        inverse in class Transformer