public class IntervalArithmeticDouble
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
IntervalDouble |
MINUS_ONE
Interval representing minus one
|
IntervalDouble |
ONE
Interval representing one
|
IntervalDouble |
PI
Interval containing pi
|
IntervalDouble |
ZERO
Interval representing zero
|
| Constructor and Description |
|---|
IntervalArithmeticDouble() |
| Modifier and Type | Method and Description |
|---|---|
IntervalDouble |
abs(IntervalDouble operand)
Absolute value
|
IntervalDouble |
add(IntervalDouble operand1,
IntervalDouble operand2)
Addition
|
IntervalDouble |
binomialProbability(int n,
IntervalDouble p,
int k)
Probability mass function of the binomial distribution
based on the saddle point expansion described in the manuscript
Catherine Loader.
|
IntervalDouble |
ceil(IntervalDouble operand)
Ceil
|
int |
ceilLowerBoundToInt(IntervalDouble value)
Returns ceil of the lower bound to int
|
int |
ceilToInt(IntervalDouble value)
Returns ceil() to int, if clearly defined
|
IntervalDouble |
createInterval(double value)
Creates a new interval
|
IntervalDouble |
createInterval(double lower,
double upper)
Creates a new interval
|
IntervalDouble |
createInterval(int value)
Creates a new interval
|
IntervalDouble |
div(IntervalDouble operand1,
IntervalDouble operand2)
Division
|
IntervalDouble |
exp(IntervalDouble operand)
Exp
|
IntervalDouble |
floor(IntervalDouble operand)
Floor
|
int |
floorLowerBoundToInt(IntervalDouble value)
Returns floor of the lower bound to int
|
int |
floorToInt(IntervalDouble value)
Returns floor() to int, if clearly defined
|
boolean |
greaterThan(IntervalDouble operand1,
IntervalDouble operand2)
Greater than
|
IntervalDouble |
inv(IntervalDouble operand)
1/x
|
boolean |
lessThan(IntervalDouble operand1,
IntervalDouble operand2)
Less than
|
boolean |
lessThanOrEqual(IntervalDouble operand1,
IntervalDouble operand2)
Less than
|
boolean |
lessThanOrOverlap(IntervalDouble operand1,
IntervalDouble operand2)
Less than or overlap
|
IntervalDouble |
log(IntervalDouble operand)
Log
|
IntervalDouble |
logFactorial(int n)
Log of factorial of n.
|
IntervalDouble |
max(IntervalDouble operand1,
IntervalDouble operand2)
Max
|
IntervalDouble |
min(IntervalDouble operand1,
IntervalDouble operand2)
Min
|
IntervalDouble |
mult(IntervalDouble operand1,
IntervalDouble operand2)
Multiplication
|
IntervalDouble |
pow(IntervalDouble operand,
int exponent)
Pow
|
IntervalDouble |
sqrt(IntervalDouble operand)
Square root
|
IntervalDouble |
sub(IntervalDouble operand1,
IntervalDouble operand2)
Subtraction
|
public IntervalDouble ZERO
public IntervalDouble ONE
public IntervalDouble MINUS_ONE
public IntervalDouble PI
public IntervalDouble abs(IntervalDouble operand) throws IntervalArithmeticException
operand - IntervalArithmeticExceptionpublic IntervalDouble add(IntervalDouble operand1, IntervalDouble operand2) throws IntervalArithmeticException
operand1 - operand2 - IntervalArithmeticExceptionpublic IntervalDouble binomialProbability(int n, IntervalDouble p, int k) throws IntervalArithmeticException
n - p - k - IntervalArithmeticExceptionpublic IntervalDouble ceil(IntervalDouble operand) throws IntervalArithmeticException
operand - IntervalArithmeticExceptionpublic int ceilLowerBoundToInt(IntervalDouble value) throws IntervalArithmeticException
value - IntervalArithmeticExceptionpublic int ceilToInt(IntervalDouble value) throws IntervalArithmeticException
value - IntervalArithmeticExceptionpublic IntervalDouble createInterval(double value) throws IntervalArithmeticException
value - IntervalArithmeticExceptionpublic IntervalDouble createInterval(double lower, double upper) throws IntervalArithmeticException
lower - upper - IntervalArithmeticExceptionpublic IntervalDouble createInterval(int value)
value - IntervalArithmeticExceptionpublic IntervalDouble div(IntervalDouble operand1, IntervalDouble operand2) throws IntervalArithmeticException
operand1 - operand2 - IntervalArithmeticExceptionpublic IntervalDouble exp(IntervalDouble operand) throws IntervalArithmeticException
operand - IntervalArithmeticExceptionpublic IntervalDouble floor(IntervalDouble operand) throws IntervalArithmeticException
operand - IntervalArithmeticExceptionpublic int floorLowerBoundToInt(IntervalDouble value) throws IntervalArithmeticException
value - IntervalArithmeticExceptionpublic int floorToInt(IntervalDouble value) throws IntervalArithmeticException
value - IntervalArithmeticExceptionpublic boolean greaterThan(IntervalDouble operand1, IntervalDouble operand2) throws IntervalArithmeticException
operand1 - operand2 - IntervalArithmeticExceptionpublic IntervalDouble inv(IntervalDouble operand) throws IntervalArithmeticException
operand - IntervalArithmeticExceptionpublic boolean lessThan(IntervalDouble operand1, IntervalDouble operand2) throws IntervalArithmeticException
operand1 - operand2 - IntervalArithmeticExceptionpublic boolean lessThanOrEqual(IntervalDouble operand1, IntervalDouble operand2) throws IntervalArithmeticException
operand1 - operand2 - IntervalArithmeticExceptionpublic boolean lessThanOrOverlap(IntervalDouble operand1, IntervalDouble operand2)
operand1 - operand2 - public IntervalDouble log(IntervalDouble operand) throws IntervalArithmeticException
operand - IntervalArithmeticExceptionpublic IntervalDouble logFactorial(int n) throws IntervalArithmeticException
IntervalArithmeticExceptionpublic IntervalDouble max(IntervalDouble operand1, IntervalDouble operand2) throws IntervalArithmeticException
operand1 - operand2 - IntervalArithmeticExceptionpublic IntervalDouble min(IntervalDouble operand1, IntervalDouble operand2) throws IntervalArithmeticException
operand1 - operand2 - IntervalArithmeticExceptionpublic IntervalDouble mult(IntervalDouble operand1, IntervalDouble operand2) throws IntervalArithmeticException
operand1 - operand2 - IntervalArithmeticExceptionpublic IntervalDouble pow(IntervalDouble operand, int exponent) throws IntervalArithmeticException
operand - exponent - IntervalArithmeticExceptionpublic IntervalDouble sqrt(IntervalDouble operand) throws IntervalArithmeticException
operand - IntervalArithmeticExceptionpublic IntervalDouble sub(IntervalDouble operand1, IntervalDouble operand2) throws IntervalArithmeticException
operand1 - operand2 - IntervalArithmeticException