Documentation of 'org.ddogleg.fitting.modelset.ModelCodec' Java class
ModelCodec
org.ddogleg.fitting.modelset

Interface ModelCodec<T>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      void decode(double[] input, T outputModel)
      Converts the parameter array into a model.
      void encode(T inputModel, double[] output)
      Converts the provided model into the array format.
      int getParamLength()
      Number of elements in array encoded parameters.
    • Method Detail

      • decode

        void decode(double[] input,
                    T outputModel)
        Converts the parameter array into a model.
        Parameters:
        input - input model parameters.
        outputModel - Option (can be null) model.
      • encode

        void encode(T inputModel,
                    double[] output)
        Converts the provided model into the array format.
        Parameters:
        inputModel - Input model.
        output - Output parameterized model. Can be null.
      • getParamLength

        int getParamLength()
        Number of elements in array encoded parameters.

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.