convolver 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4d393cf7a6f7cd94485db0aaed706239c92ab0d0
4
- data.tar.gz: 0944542524997227558ceb4f5c9b6968d3413e50
3
+ metadata.gz: 88d7660efc3504ac86b924689050754185e69f8c
4
+ data.tar.gz: 69786c83e478d75db709e00d46346ec6f0bbef8f
5
5
  SHA512:
6
- metadata.gz: 1f263ae8f88d5318f84f9479c2540d25648396d09f5bfce65dcfc13122eaff26207280afa0a459d634408b5a526d6f302ebe750aebdd3106df3c91e7ac8af681
7
- data.tar.gz: 35473c019dfb69abf0a0048df1b53f0c12e0512d1ebddc4b4dab4a7ececf7d8d0c35078ad92192d350b7c34bc5c4548a9446a2e5b69b0888c1b0c877445aea8b
6
+ metadata.gz: 58bf4eb7b7b44fae9f46b79e33e62b2a8148cb9f9d8f40525c74e152b1d3b3ffabfdbb106cce09af350e30bd923fe40d62f38b24f19ef8ee169bc0c5696315f6
7
+ data.tar.gz: 4cbafca71dc5399d05950c6ebda268f5533541069bd71130388634edd4530101dc16e689abdd9393493de2e299cf89e7d189a3a510c0deecc491bf9314a0dc4a
@@ -14,6 +14,16 @@
14
14
  // To hold the module object
15
15
  VALUE Convolver = Qnil;
16
16
 
17
+ /* @overload fit_kernel_backwards( fft_temp_space, kernel )
18
+ * @!visibility private
19
+ * Over-writes fft_temp_space at edges with a reversed copy of kernel, in such a way that
20
+ * an FFTW3-based convolve has a result set in an easy-to-extract position later. This is
21
+ * implemented as a native extension for convenience and speed - to do this with methods provided
22
+ * by narray gem would take several complex steps and be inefficient.
23
+ * @param [NArray<sfloat>] fft_temp_space target array for pre-fft copy of kernel, is over-written
24
+ * @param [NArray] kernel must be same size or smaller than fft_temp_space in each dimension
25
+ * @return [nil]
26
+ */
17
27
  static VALUE narray_fit_backwards( VALUE self, VALUE a, VALUE b ) {
18
28
  struct NARRAY *na_a, *na_b;
19
29
  volatile VALUE val_a, val_b;
@@ -1,3 +1,3 @@
1
1
  module Convolver
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: convolver
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Neil Slater
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-10-25 00:00:00.000000000 Z
11
+ date: 2013-10-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: narray