Package org.drip.function.r1tor1solver
Class BracketingControlParams
java.lang.Object
org.drip.function.r1tor1solver.BracketingControlParams
public class BracketingControlParams
extends java.lang.Object
BracketingControlParams implements the control parameters for bracketing solutions.
BracketingControlParams provides the following parameters:
BracketingControlParams provides the following parameters:
- The starting variate from which the search for bracketing begins
- The initial width for the brackets
- The factor by which the width expands with each iterative search
- The number of such iterations.
- Module = Computational Core Module
- Library = Numerical Analysis Library
- Project = Rd To Rd Function Analysis
- Package = Built-in R1 To R1 Solvers
- Author:
- Lakshmi Krishnamurthy
-
Constructor Summary
Constructors Constructor Description BracketingControlParams()
Default BracketingControlParams constructorBracketingControlParams(int iNumExpansions, double dblVariateStart, double dblBracketStartingWidth, double dblBracketWidthExpansionFactor)
BracketingControlParams constructor -
Method Summary
Modifier and Type Method Description double
getBracketWidthExpansionFactor()
Return the bracket width expansion factorint
getNumExpansions()
Return the number of expansionsdouble
getStartingBracketWidth()
Return the initial bracket widthdouble
getVariateStart()
Return the starting point of bracketing determinationMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
BracketingControlParams
public BracketingControlParams()Default BracketingControlParams constructor -
BracketingControlParams
public BracketingControlParams(int iNumExpansions, double dblVariateStart, double dblBracketStartingWidth, double dblBracketWidthExpansionFactor) throws java.lang.ExceptionBracketingControlParams constructor- Parameters:
iNumExpansions
- Number of bracket expansions to determine the bracketdblVariateStart
- Variate start for the bracket determinationdblBracketStartingWidth
- Base Bracket WidthdblBracketWidthExpansionFactor
- Bracket width expansion factor- Throws:
java.lang.Exception
- Thrown if inputs are invalid
-
-
Method Details
-
getNumExpansions
public int getNumExpansions()Return the number of expansions- Returns:
- Number of expansions
-
getVariateStart
public double getVariateStart()Return the starting point of bracketing determination- Returns:
- Starting point of bracketing determination
-
getStartingBracketWidth
public double getStartingBracketWidth()Return the initial bracket width- Returns:
- Initial bracket width
-
getBracketWidthExpansionFactor
public double getBracketWidthExpansionFactor()Return the bracket width expansion factor- Returns:
- Bracket width expansion factor
-