interval-multiply
multiply two intervals together where an interval is represented by a 2 part array.
extracted from Implicit Solid Modeling Using Interval Methods
install
npm install interval-multiply
use
var imul = ; console// output: [2, 6] console// output: [0, 9]
api signature
imul(a
, b
, out
)
a
is the first interval (2 part array)b
is the second interval (2 part array)out
is an optional 2 part araray. Provide this to avoid generating garbage- returns: 2 part array