SSJ API Documentation
Stochastic Simulation in Java
Loading...
Searching...
No Matches
umontreal.ssj.functions.SqrtMathFunction Class Reference

Represents a function computing the square root of another function. More...

Inheritance diagram for umontreal.ssj.functions.SqrtMathFunction:
umontreal.ssj.functions.MathFunction

Public Member Functions

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

Detailed Description

Represents a function computing the square root of another function.

\(f(x)\).

        <div class="SSJ-bigskip"></div>

Definition at line 34 of file SqrtMathFunction.java.

Constructor & Destructor Documentation

◆ SqrtMathFunction()

umontreal.ssj.functions.SqrtMathFunction.SqrtMathFunction ( MathFunction func)

Computes and returns the square root of the function func.

Parameters
functhe function to compute square root for.

Definition at line 42 of file SqrtMathFunction.java.

Member Function Documentation

◆ evaluate()

double umontreal.ssj.functions.SqrtMathFunction.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 umontreal.ssj.functions.MathFunction.

Definition at line 58 of file SqrtMathFunction.java.

◆ getFunction()

MathFunction umontreal.ssj.functions.SqrtMathFunction.getFunction ( )

Returns the function associated with this object.

Returns
the associated function.

Definition at line 54 of file SqrtMathFunction.java.


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