SSJ  3.3.1
Stochastic Simulation in Java
Public Member Functions | List of all members
SqrtMathFunction Class Reference

Represents a function computing the square root of another function \(f(x)\). More...

Inheritance diagram for SqrtMathFunction:
[legend]
Collaboration diagram for SqrtMathFunction:
[legend]

Public Member Functions

 SqrtMathFunction (MathFunction func)
 Computes and returns the square root of the function func. More...
 
MathFunction getFunction ()
 Returns the function associated with this object. More...
 
double evaluate (double x)
 Returns the value of the function evaluated at \(x\). More...
 

Detailed Description

Represents a function computing the square root of another function \(f(x)\).

Constructor & Destructor Documentation

◆ SqrtMathFunction()

Computes and returns the square root of the function func.

Parameters
functhe function to compute square root for.

Member Function Documentation

◆ evaluate()

double evaluate ( double  x)

Returns the value of the function evaluated at \(x\).

Parameters
xvalue at which the function is evaluated
Returns
function evaluated at x

Implements MathFunction.

◆ getFunction()

MathFunction getFunction ( )

Returns the function associated with this object.

Returns
the associated function.

The documentation for this class was generated from the following file: