Class TestMetropolisHastings.Function

    • Constructor Summary

      Constructors 
      Constructor Description
      Function()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double fx​(double x)
      Returns the value of the function for the specified variable value.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Function

        public Function()
    • Method Detail

      • fx

        public double fx​(double x)
        Description copied from interface: FunctionIfc
        Returns the value of the function for the specified variable value.
        Specified by:
        fx in interface FunctionIfc
        Parameters:
        x - the input value
        Returns:
        the function value