{"_id":"contained-periodic-values","_rev":"8-ce71c054356223e979ff33f40aebe8dc","name":"contained-periodic-values","description":"Find how many values of a discrete periodic function are contained in an interval.","dist-tags":{"latest":"1.0.0"},"versions":{"0.0.1":{"name":"contained-periodic-values","version":"0.0.1","description":"Find how many values of a discrete periodic function are contained in an interval.","main":"dist/contained-periodic-values.js","scripts":{"test":"gulp"},"repository":{"type":"git","url":"https://github.com/jmeas/contained-periodic-values.js.git"},"keywords":["mathematics","math","period","periodic","contained","solution","function"],"author":{"name":"Jmeas"},"license":"MIT","bugs":{"url":"https://github.com/jmeas/contained-periodic-values.js/issues"},"homepage":"https://github.com/jmeas/contained-periodic-values.js","devDependencies":{"6to5":"^2.12.6","browserify":"^8.1.1","chai":"^1.10.0","del":"^1.1.1","gulp":"^3.8.10","gulp-6to5":"^2.0.2","gulp-filter":"^2.0.0","gulp-istanbul":"git://github.com/jmeas/gulp-istanbul.git#isparta","gulp-jshint":"^1.9.0","gulp-livereload":"^3.4.0","gulp-load-plugins":"^0.8.0","gulp-mocha":"^2.0.0","gulp-notify":"^2.1.0","gulp-preprocess":"^1.2.0","gulp-rename":"^1.2.0","gulp-sourcemaps":"^1.3.0","gulp-template":"^2.0.0","gulp-uglifyjs":"^0.5.0","jshint-stylish":"^1.0.0","mocha":"^2.1.0","run-sequence":"^1.0.2","sinon":"^1.12.2","sinon-chai":"^2.6.0","vinyl-source-stream":"^1.0.0"},"dependencies":{"nearest-periodic-value":"^1.0.0"},"gitHead":"0fe28a41f488ef31554258705d7b4c322e5bb9da","_id":"contained-periodic-values@0.0.1","_shasum":"f27bfb12dd4cd1d93fac56c17899c3029f5e207b","_from":".","_npmVersion":"2.1.11","_nodeVersion":"0.10.13","_npmUser":{"name":"jmeas","email":"jellyes2@gmail.com"},"maintainers":[{"name":"jmeas","email":"jellyes2@gmail.com"}],"dist":{"shasum":"f27bfb12dd4cd1d93fac56c17899c3029f5e207b","tarball":"https://registry.npmjs.org/contained-periodic-values/-/contained-periodic-values-0.0.1.tgz","integrity":"sha512-Uc7tOC9d6VkEIiQkKmStqiQa7Cj2H3FllU3IbAabIJz6Yf93nUTyLnWSLGkwnha+/z2swHiWNe6XC4sV4ALliw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD8qc0Cf2njdxfbv3IDReq5BOxmgjPDxgmYsF9XOmTYJAIhALeAemr0XGR2WDJGoqeAVx56xo4cQHlKyT8qBm777E2j"}]}},"0.0.2":{"name":"contained-periodic-values","version":"0.0.2","description":"Find how many values of a discrete periodic function are contained in an interval.","main":"dist/contained-periodic-values.js","scripts":{"test":"gulp"},"repository":{"type":"git","url":"https://github.com/jmeas/contained-periodic-values.js.git"},"keywords":["mathematics","math","period","periodic","contained","solution","function"],"author":{"name":"Jmeas"},"license":"MIT","bugs":{"url":"https://github.com/jmeas/contained-periodic-values.js/issues"},"homepage":"https://github.com/jmeas/contained-periodic-values.js","devDependencies":{"6to5":"^2.12.6","browserify":"^8.1.1","chai":"^1.10.0","del":"^1.1.1","gulp":"^3.8.10","gulp-6to5":"^2.0.2","gulp-filter":"^2.0.0","gulp-istanbul":"git://github.com/jmeas/gulp-istanbul.git#isparta","gulp-jshint":"^1.9.0","gulp-livereload":"^3.4.0","gulp-load-plugins":"^0.8.0","gulp-mocha":"^2.0.0","gulp-notify":"^2.1.0","gulp-preprocess":"^1.2.0","gulp-rename":"^1.2.0","gulp-sourcemaps":"^1.3.0","gulp-template":"^2.0.0","gulp-uglifyjs":"^0.5.0","jshint-stylish":"^1.0.0","mocha":"^2.1.0","run-sequence":"^1.0.2","sinon":"^1.12.2","sinon-chai":"^2.6.0","vinyl-source-stream":"^1.0.0"},"dependencies":{"nearest-periodic-value":"^1.0.0"},"gitHead":"621aae6c54d7d8dd73a6b8cb350998ddc008728e","_id":"contained-periodic-values@0.0.2","_shasum":"c36bd538b75f7c60c4c36ab5ade38bb761d6efea","_from":".","_npmVersion":"2.1.11","_nodeVersion":"0.10.13","_npmUser":{"name":"jmeas","email":"jellyes2@gmail.com"},"maintainers":[{"name":"jmeas","email":"jellyes2@gmail.com"}],"dist":{"shasum":"c36bd538b75f7c60c4c36ab5ade38bb761d6efea","tarball":"https://registry.npmjs.org/contained-periodic-values/-/contained-periodic-values-0.0.2.tgz","integrity":"sha512-FggOFt3zNL8YvN+7xo97Ut6Wg61CoY0f5hyinWleA9CxhQTQfXnoC32EwDQOyb9NuhlAbH6rzLjDFYg4E8SY/A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICyvQ8b9i5iDgsAN5xAf6aeydmCtekfb+de/40BjsKObAiA2/ofFCFx9BcbIVNwFsulIOxzkpbeR+8H2z6qyq8Z2AQ=="}]}},"1.0.0":{"name":"contained-periodic-values","version":"1.0.0","description":"Find how many values of a discrete periodic function are contained in an interval.","main":"dist/contained-periodic-values.js","scripts":{"test":"gulp"},"repository":{"type":"git","url":"https://github.com/jmeas/contained-periodic-values.js.git"},"keywords":["mathematics","math","period","periodic","contained","solution","function"],"author":{"name":"Jmeas"},"license":"MIT","bugs":{"url":"https://github.com/jmeas/contained-periodic-values.js/issues"},"homepage":"https://github.com/jmeas/contained-periodic-values.js","devDependencies":{"6to5":"^3.3.3","browserify":"^8.1.1","chai":"^1.10.0","del":"^1.1.1","esperanto":"^0.6.7","gulp":"^3.8.10","gulp-6to5":"^3.0.0","gulp-file":"^0.2.0","gulp-filter":"^2.0.0","gulp-istanbul":"^0.6.0","gulp-jshint":"^1.9.0","gulp-livereload":"^3.4.0","gulp-load-plugins":"^0.8.0","gulp-mocha":"^2.0.0","gulp-notify":"^2.1.0","gulp-plumber":"^0.6.6","gulp-rename":"^1.2.0","gulp-sourcemaps":"^1.3.0","gulp-uglifyjs":"^0.5.0","isparta":"^1.0.1","jshint-stylish":"^1.0.0","mocha":"^2.1.0","run-sequence":"^1.0.2","sinon":"^1.12.2","sinon-chai":"^2.6.0","vinyl-source-stream":"^1.0.0"},"dependencies":{"nearest-periodic-value":"^1.0.0"},"gitHead":"f5559c7b922ebb2980bce985605f5d49f878f6e2","_id":"contained-periodic-values@1.0.0","_shasum":"a81dd8e84e0a5513d590a1e6581bfe55c00f9c4d","_from":".","_npmVersion":"2.4.1","_nodeVersion":"0.10.13","_npmUser":{"name":"jmeas","email":"jellyes2@gmail.com"},"maintainers":[{"name":"jmeas","email":"jellyes2@gmail.com"}],"dist":{"shasum":"a81dd8e84e0a5513d590a1e6581bfe55c00f9c4d","tarball":"https://registry.npmjs.org/contained-periodic-values/-/contained-periodic-values-1.0.0.tgz","integrity":"sha512-ovi0hTFGoTYiYSQ6uQUHX7nEQluK18tQzToTCSFZpuLGEFppLbhcEPXXlMVnnNiJO2zd3ZGEWA3qvYGwvHaYIA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC/K5D2WWvsIr4nXsdt5xFAmdsifzz4mpZwqtkaABQDxAiEA4UcXLVxUN2hS4578QMethI3Kp5Vts/VtRQ7BnwRMg4A="}]}}},"readme":"# contained-periodic-values.js\n[![Travis build status](http://img.shields.io/travis/jmeas/contained-periodic-values.js.svg?style=flat)](https://travis-ci.org/jmeas/contained-periodic-values.js)\n[![Code Climate](https://codeclimate.com/github/jmeas/contained-periodic-values.js/badges/gpa.svg)](https://codeclimate.com/github/jmeas/contained-periodic-values.js)\n[![Test Coverage](https://codeclimate.com/github/jmeas/contained-periodic-values.js/badges/coverage.svg)](https://codeclimate.com/github/jmeas/contained-periodic-values.js)\n[![Dependency Status](https://david-dm.org/jmeas/contained-periodic-values.js.svg)](https://david-dm.org/jmeas/contained-periodic-values.js) \n[![devDependency Status](https://david-dm.org/jmeas/contained-periodic-values.js/dev-status.svg)](https://david-dm.org/jmeas/contained-periodic-values.js#info=devDependencies)\n\nFind how many values of a discrete periodic function contained in an interval.\n\n### What are discrete periodic functions?\n\nPeriodic functions are functions that repeat. Discrete functions are functions whose values do not\nconnect. An example of a discrete periodic function is the function of \"Wednesdays\" on a calendar.\nWednesdays are discrete values along a timeline, and they repeat every 7 days.\n\n### What might I use this library for?\n\nContinuing the example from above, this library could be used to determine the number of Wednesdays between\ntwo days. You could extend this to find the number of work days or week days between two days.\n\n### Terminology\n\nThe members of a periodic function's output are the \"values.\" A single member is a \"value.\"\n\nThe distance that the function repeats itself along is the \"period.\"\n\nAn interval is defined by a \"start\" and \"end\".\n\n### API\n\n##### `containedPeriodicValues(start, end, value, period)`\n\nFind the number of values contained with the \"start\" and \"end.\" This method works with\nintervals with inclusive starts and exclusive ends. In math syntax, this would be written\nas `[start, end)`.\n\nThe order that you specify the start and end does not matter.\n","maintainers":[{"name":"jmeas","email":"jellyes2@gmail.com"}],"time":{"modified":"2022-06-13T22:23:32.054Z","created":"2015-01-29T18:17:51.774Z","0.0.1":"2015-01-29T18:17:51.774Z","0.0.2":"2015-01-29T19:54:06.463Z","1.0.0":"2015-02-03T18:29:43.044Z"},"homepage":"https://github.com/jmeas/contained-periodic-values.js","keywords":["mathematics","math","period","periodic","contained","solution","function"],"repository":{"type":"git","url":"https://github.com/jmeas/contained-periodic-values.js.git"},"author":{"name":"Jmeas"},"bugs":{"url":"https://github.com/jmeas/contained-periodic-values.js/issues"},"license":"MIT","readmeFilename":"README.md"}