Module: FFTW

### Home Classes Methods

### In Files

- narray_ext.rb

### Methods

- ::convol

### Files

- ChangeLog
- MANIFEST
- SPEC.en.txt
- Makefile
- depend

### Class/Module Index

Quicksearch

- FFTW
- NArray
- NArrayScalar
- NMath
- NMatrix
- NMatrixLU
- NVector

No matching classes.

# FFTW

### Public Class Methods

convol(a1,a2) click to toggle source

    # File narray_ext.rb, line 353
    def convol(a1,a2)
      n1x,n1y = a1.shape
      n2x,n2y = a2.shape
      raise "arrays must have same shape" if n1x!=n2x || n1y!=n2y
      (FFTW.fftw( FFTW.fftw(a1,-1) * FFTW.fftw(a2,-1), 1).real) / (n1x*n1y)
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.