https://github.com/iterable-iterator/convolution
:bar_chart: Iterable convolution for JavaScript
https://github.com/iterable-iterator/convolution
Last synced: 5 months ago
JSON representation
:bar_chart: Iterable convolution for JavaScript
- Host: GitHub
- URL: https://github.com/iterable-iterator/convolution
- Owner: iterable-iterator
- License: agpl-3.0
- Created: 2021-05-05T13:17:43.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2024-09-12T04:35:02.000Z (over 1 year ago)
- Last Synced: 2024-09-13T13:51:55.425Z (over 1 year ago)
- Language: JavaScript
- Homepage: https://iterable-iterator.github.io/convolution
- Size: 2.46 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
:bar_chart: [@iterable-iterator/convolution](https://iterable-iterator.github.io/convolution)
==
Iterable convolution for JavaScript.
See [docs](https://iterable-iterator.github.io/convolution/index.html).
> :warning: Depending on your environment, the code may require
> `regeneratorRuntime` to be defined, for instance by importing
> [regenerator-runtime/runtime](https://www.npmjs.com/package/regenerator-runtime).
```js
import {convolution} from '@iterable-iterator/convolution';
const moving_average = [1/4, 1/4, 1/4, 1/4];
convolution(moving_average, signal); // ...
const first_derivative = [1, -1];
convolution(first_derivative, signal); // ...
const second_derivative = [1, -2, 1];
convolution(second_derivative, signal); // ...
```
[](https://raw.githubusercontent.com/iterable-iterator/convolution/main/LICENSE)
[](https://www.npmjs.org/package/@iterable-iterator/convolution)
[](https://github.com/iterable-iterator/convolution/actions/workflows/ci.yml?query=branch:main)
[](https://github.com/iterable-iterator/convolution/network/dependencies)
[](https://github.com/iterable-iterator/convolution/issues)
[](https://www.npmjs.org/package/@iterable-iterator/convolution)
[](https://codeclimate.com/github/iterable-iterator/convolution/issues)
[](https://codeclimate.com/github/iterable-iterator/convolution/trends/churn)
[](https://codecov.io/gh/iterable-iterator/convolution)
[](https://codeclimate.com/github/iterable-iterator/convolution/trends/technical_debt)
[](https://iterable-iterator.github.io/convolution/source.html)
[](https://bundlephobia.com/result?p=@iterable-iterator/convolution)