Multiplies two intervals, an explanation of all the possible cases ca be found on Interval Arithmetic: from Principles to Implementation - T. Hickey, Q. Ju, M.H. van Emden
Interval.multiply( Interval(1, 2), Interval(2, 3)) // Interval(prev(2), next(6))
Interval.multiply( Interval(1, Infinity), Interval(4, 6)) // Interval(prev(4), Infinity)
Interval.multiply( Interval(1, 2), Interval(-3, -2)) // Interval(prev(-6), next(-2))
Interval.multiply( Interval(1, 2), Interval(-2, 3)) // Interval(prev(-4), next(6))
Interval.multiply( Interval(-2, -1), Interval(-3, -2)) // Interval(prev(2), next(6))
Generated using TypeDoc
Multiplies two intervals, an explanation of all the possible cases ca be found on Interval Arithmetic: from Principles to Implementation - T. Hickey, Q. Ju, M.H. van Emden
Example
Example
Example
Example
Example
Returns