Top Description Fields Constructors Methods
org.apache.commons.math3.exception

public Class NoBracketingException

extends MathIllegalArgumentException
Class Inheritance
Imports
org.apache.commons.math3.exception.util.Localizable, .LocalizedFormats

Exception to be thrown when function values have the same sign at both ends of an interval.
Since
3.0

Field Summary

Modifier and TypeField and Description
private final double
fHi

Value at higher end of the interval.

private final double
fLo

Value at lower end of the interval.

private final double
hi

Higher end of the interval.

private final double
lo

Lower end of the interval.

private static final long

Constructor Summary

AccessConstructor and Description
public
NoBracketingException(double
Lower end of the interval.
lo
,
double
Higher end of the interval.
hi
,
double
Value at lower end of the interval.
fLo
,
double
Value at higher end of the interval.
fHi
)

Construct the exception.

public
NoBracketingException(Localizable
Contextual information on what caused the exception.
specific
,
double
Lower end of the interval.
lo
,
double
Higher end of the interval.
hi
,
double
Value at lower end of the interval.
fLo
,
double
Value at higher end of the interval.
fHi
,
Object...
Additional arguments.
args
)

Construct the exception with a specific context.

Method Summary

Modifier and TypeMethod and Description
public double

Returns:

the value at the higher end.
getFHi
()

Get the value at the higher end of the interval.

public double

Returns:

the value at the lower end.
getFLo
()

Get the value at the lower end of the interval.

public double

Returns:

the higher end.
getHi
()

Get the higher end of the interval.

public double

Returns:

the lower end.
getLo
()

Get the lower end of the interval.

Inherited from org.apache.commons.math3.exception.MathIllegalArgumentException:
getContextgetLocalizedMessagegetMessage

Field Detail

fHiback to summary
private final double fHi

Value at higher end of the interval.

fLoback to summary
private final double fLo

Value at lower end of the interval.

hiback to summary
private final double hi

Higher end of the interval.

loback to summary
private final double lo

Lower end of the interval.

serialVersionUIDback to summary
private static final long serialVersionUID

Hides org.apache.commons.math3.exception.MathIllegalArgumentException.serialVersionUID.

Serializable version Id.

Constructor Detail

NoBracketingExceptionback to summary
public NoBracketingException(double lo, double hi, double fLo, double fHi)

Construct the exception.

Parameters
lo:double

Lower end of the interval.

hi:double

Higher end of the interval.

fLo:double

Value at lower end of the interval.

fHi:double

Value at higher end of the interval.

NoBracketingExceptionback to summary
public NoBracketingException(Localizable specific, double lo, double hi, double fLo, double fHi, Object... args)

Construct the exception with a specific context.

Parameters
specific:Localizable

Contextual information on what caused the exception.

lo:double

Lower end of the interval.

hi:double

Higher end of the interval.

fLo:double

Value at lower end of the interval.

fHi:double

Value at higher end of the interval.

args:Object[]

Additional arguments.

Method Detail

getFHiback to summary
public double getFHi()

Get the value at the higher end of the interval.

Returns:double

the value at the higher end.

getFLoback to summary
public double getFLo()

Get the value at the lower end of the interval.

Returns:double

the value at the lower end.

getHiback to summary
public double getHi()

Get the higher end of the interval.

Returns:double

the higher end.

getLoback to summary
public double getLo()

Get the lower end of the interval.

Returns:double

the lower end.