public class IntervalAtan2 extends IntervalMoreVariablesFunction
Modifier and Type | Field and Description |
---|---|
protected int |
NUMBER_OF_VARIABLES
function atan2 has two variables
|
intervalFactory, intervals, numberOfSections
Constructor and Description |
---|
IntervalAtan2(Interval[] intervals,
int number)
constructor that defines the input intervals and the number of parts of the interval for calculation,
default intervalFactory is used for result interval
|
IntervalAtan2(Interval[] intervals,
int number,
IntervalFactory intervalFactory)
construtcs the function based on the input intervals, , the number of parts of the intervals for calculation
and intervalFactory used to create the result interval
|
Modifier and Type | Method and Description |
---|---|
protected double |
calculate(double[] x)
actual function that calculates value of the function for input vector x
|
Interval |
propagate()
function that applies function calculate for each combinations of values of the intervals
returns interval based on minimum and maximum of the output values
|
protected Interval |
specialCases()
function for special cases of propagation of the intervals through the function
returns null if the special cases are not valid for these intervals or the resulting interval
|
java.lang.String |
toString()
each function must override this function with its name
|
public IntervalAtan2(Interval[] intervals, int number, IntervalFactory intervalFactory)
intervals
- number
- intervalFactory
- public IntervalAtan2(Interval[] intervals, int number)
intervals
- number
- public Interval propagate()
IntervalMoreVariablesFunction
propagate
in class IntervalMoreVariablesFunction
protected double calculate(double[] x)
IntervalMoreVariablesFunction
calculate
in class IntervalMoreVariablesFunction
protected Interval specialCases()
IntervalMoreVariablesFunction
specialCases
in class IntervalMoreVariablesFunction
public java.lang.String toString()
IntervalMoreVariablesFunction
toString
in class IntervalMoreVariablesFunction