Interface DerivativeGenerator<T extends Derivative<T>>

  • All Known Subinterfaces:
    DSGenerator

    public interface DerivativeGenerator<T extends Derivative<T>>
    Generator for Derivative instances from ParameterDriver.

    Note that this interface is for Rugged library internal use only.

    Since:
    2.0
    Author:
    Luc Maisonobe
    • Method Detail

      • getSelected

        List<ParameterDriver> getSelected()
        Get the parameters selected for estimation.
        Returns:
        parameters selected for estimation
      • constant

        T constant​(double value)
        Generate a constant Derivative.
        Parameters:
        value - value of the constant
        Returns:
        constant Derivative
      • variable

        T variable​(ParameterDriver driver)
        Generate a Derivative representing the parameter driver either as a canonical variable or a constant.

        The instance created is a variable only if the parameter has been selected for estimation, otherwise it is a constant.

        Parameters:
        driver - driver for the variable
        Returns:
        variable Derivative
      • getField

        default Field<T> getField()
        Get the Field to which the generated derivatives belongs.
        Returns:
        Field to which the generated derivatives belongs
        Since:
        2.2