0.0
Low commit activity in last 3 years
No release in over a year
Simplification of convolver gem, FFTW removed, suitable only for smaller kernels. Convolver gem author is Neil Slater, slobo777@gmail.com, https://github.com/neilslater
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 1.3
>= 0.6.7
>= 1.9.1
>= 2.13.0
>= 0.8.7.2

Runtime

>= 0.6.0.8
 Project Readme

Convolver-Light

Version 0.3.3 note:

Huge thanks to Rim Zaidullin for adding Apple M1 support in 0.3.3.

This is native-only version of neilslater's Convolver Gem

FFTW3 dependency is removed, so calculations would be slow on big matrices. Use it only if you need to make a convolution with a small kernel.

All the credits to the author

Installing the gem

Add this line to your application's Gemfile:

gem 'convolver-light'

And then execute:

$ bundle

Or install it yourself as:

$ gem install convolver-light

Usage

require 'convolver-light

Usage is exactly the same as of original gem, please refer to the author's page

a = NArray[0.3,0.4,0.5]
b = NArray[1.3, -0.5]
c = Convolver.convolve( a, b )
=> NArray.float(2): [ 0.19, 0.27 ]