https://github.com/jamesplease/skipped-periodic-values.js
Given a point and a distance, determine how many periodic values were skipped.
https://github.com/jamesplease/skipped-periodic-values.js
Last synced: 4 months ago
JSON representation
Given a point and a distance, determine how many periodic values were skipped.
- Host: GitHub
- URL: https://github.com/jamesplease/skipped-periodic-values.js
- Owner: jamesplease
- License: mit
- Created: 2015-01-29T21:08:35.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-02-03T18:37:48.000Z (over 11 years ago)
- Last Synced: 2025-03-09T08:51:57.528Z (over 1 year ago)
- Language: JavaScript
- Size: 270 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# skipped-periodic-values.js
[](https://travis-ci.org/jmeas/skipped-periodic-values.js)
[](https://codeclimate.com/github/jmeas/skipped-periodic-values.js)
[](https://codeclimate.com/github/jmeas/skipped-periodic-values.js)
[](https://david-dm.org/jmeas/skipped-periodic-values.js)
[](https://david-dm.org/jmeas/skipped-periodic-values.js#info=devDependencies)
Given a distance that ignores a periodic value, determine how many periodic values were skipped.
### Terminology
The members of a periodic function's output are the "values." A single member is a "value."
The distance that the function repeats itself along is the "period."
### API
##### `skippedPeriodicValues(start, distance, value, period)`
Find the number of values skipped across "distance."