Package Exports
- interval-min
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (interval-min) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
interval-min
compute the MIN of two intervals
extracted from Implicit Solid Modeling Using Interval Methods
install
npm install interval-min
use
Intervals are represented by a 2 component array (e.g. [0, 1]
)
var imin = require('interval-min');
console.log(imin([0, 2], [3, 4]));
// outputs: [0, 2]
api signature
imin(a
, b
, out
)
a
is the first intervalb
is the second intervalout
is an optional 2 part araray. Provide this to avoid generating garbage- returns: 2 part array