$ npm install robust-scale
Scales a nonoverlapping increasing sequence of floats by a single floating point value.
npm install robust-scale
var robustScale = require("robust-scale")
robustScale([1, 1e64], 2)
require("robust-scale")(a, s)
Multiplies a nonoverlapping increasing sequence of floats by a float.
a
is the sequence to multiplys
is the amount to scale a
by. Must be a single floatReturns An array encoding the product a*s
.
Based on JRS robust geometry predicates
Implementation (c) 2013-2014 Mikola Lysenko. MIT License
© 2010 - cnpmjs.org x YWFE | Home | YWFE