robust-scale
Multiplies a nonoverlapping increasing sequence of floats by a single float
Last updated 11 years ago by mikolalysenko .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install robust-scale 
SYNC missed versions from official npm registry.

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)

Multiplies a nonoverlapping increasing sequence of floats by a float.

  • a is the sequence to multiply
  • s is the amount to scale a by. Must be a single float

Returns An array encoding the product a*s.

Credits

Based on JRS robust geometry predicates

Implementation (c) 2013-2014 Mikola Lysenko. MIT License

Current Tags

  • 1.0.2                                ...           latest (11 years ago)

8 Versions

  • 1.0.2                                ...           11 years ago
  • 1.0.1                                ...           11 years ago
  • 1.0.0                                ...           11 years ago
  • 0.0.4                                ...           11 years ago
  • 0.0.3                                ...           11 years ago
  • 0.0.2                                ...           11 years ago
  • 0.0.1                                ...           11 years ago
  • 0.0.0                                ...           11 years ago
Maintainers (1)
Downloads
Total 7
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE