Documentation of 'umontreal.iro.lecuyer.functions.SqrtMathFunction' Java class
SqrtMathFunction
umontreal.iro.lecuyer.functions

Class SqrtMathFunction

  • All Implemented Interfaces:
    MathFunction


    public class SqrtMathFunction
    extends java.lang.Object
    implements MathFunction
    Represents a function computing the square root of another function f (x).
    • Constructor Summary

      Constructors 
      Constructor and Description
      SqrtMathFunction(MathFunction func)
      Computes and returns the square root of the function func.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      double evaluate(double x)
      Returns the value of the function evaluated at x.
      MathFunction getFunction()
      Returns the function associated with this object.
      • Methods inherited from class java.lang.Object

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

      • SqrtMathFunction

        public SqrtMathFunction(MathFunction func)
        Computes and returns the square root of the function func.
        Parameters:
        func - the function to compute square root for.
    • Method Detail

      • getFunction

        public MathFunction getFunction()
        Returns the function associated with this object.
        Returns:
        the associated function.
      • evaluate

        public double evaluate(double x)
        Description copied from interface: MathFunction
        Returns the value of the function evaluated at x.
        Specified by:
        evaluate in interface MathFunction
        Parameters:
        x - value at which the distribution function is evaluated
        Returns:
        function evaluated at x

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.