Package Exports
- robust-scale
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 (robust-scale) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
robust-scale
Scales a nonoverlapping increasing sequence of floats by a single floating point value.
Install
npm install robust-scale
Example
var robustScale = require("robust-scale")
robustScale([1, 1e64], 2)
API
require("robust-scale")(a, s[, result])
Multiplies a nonoverlapping increasing sequence of floats by a float.
a
is the sequence to multiplys
is the amount to scalea
by. Must be a single floatresult
is an optional array that gets the result of the computation
Returns An array encoding the product a*s
.
Credits
Based on JRS robust geometry predicates
Implementation (c) 2013 Mikola Lysenko. MIT License