|
SSJ V. 2.6.2. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object umontreal.iro.lecuyer.functions.SqrtMathFunction
public class SqrtMathFunction
Represents a function computing the square root of another function f (x).
Constructor Summary | |
---|---|
SqrtMathFunction(MathFunction func)
Computes and returns the square root of the function func. |
Method Summary | |
---|---|
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 |
---|
public SqrtMathFunction(MathFunction func)
func
- the function to compute square root for.Method Detail |
---|
public MathFunction getFunction()
public double evaluate(double x)
MathFunction
evaluate
in interface MathFunction
x
- value at which the function is evaluated
|
SSJ V. 2.6.2. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |