public class SqrtMathFunction extends java.lang.Object implements MathFunction
| Constructor and Description |
|---|
SqrtMathFunction(MathFunction func)
Computes and returns the square
root of the function func.
|
| 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.
|
public SqrtMathFunction(MathFunction func)
func - the function to compute square root for.public MathFunction getFunction()
public double evaluate(double x)
MathFunctionevaluate in interface MathFunctionx - value at which the distribution function is evaluatedTo submit a bug or ask questions, send an e-mail to Pierre L'Ecuyer.