~ubuntu-branches/ubuntu/wily/octave-ltfat/wily

« back to all changes in this revision

Viewing changes to oct/comp_isepdgt.cc

  • Committer: Package Import Robot
  • Author(s): Sébastien Villemot, Rafael Laboissiere
  • Date: 2015-07-18 23:36:41 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20150718233641-jhuf3f551a3523qc
Tags: 2.1.0+dfsg-1
* Team upload.

[ Rafael Laboissiere ]
* Imported Upstream version 2.1.0+dfsg
* d/rules: Prevent unit testing on armhf and mips.
  This avoids FTBFS on theses architectures (see Bug#765545).
* Unit testing does not need X-window anymore
  + d/rules: Do not use xfvb-run to run the tests.
  + d/control: Drop xauth, xvfb, and gnuplot-nox from Build-Depends.
    Also, the versioned dependency on octave-pkg-dev is relaxed.
* Drop .jar file from upstream tarball, complying with the Debian Policy
  + d/copyright: Exclude file blockproc.jar
  + d/rules: Add get-orig-source target
  + d/watch: Mangle upstream version to cope with "+dfsg" tag
* Build blockproc.jar, which is deleted from the upstream tarball
  + d/rules: Add commands for building blockproc.jar
  + d/control: Build-depend on default-jdk
  + d/p/fix-path-of-included-makefile.patch: New patch
* Bump Standard-Versions to 3.9.6 (no changes needed)
* d/p/autoload-yes.patch: Remove patch (deprecated upstream)
* Bump Build-Depends on octave to >> 4.0.0~rc4-1 (for sndfile support)
* d/check.m: Avoid verbose output of unit tests
* d/watch: Add the repacksuffix option
* d/p/add-hardening-flags.patch: Drop patch (applied upstream)
* d/p/fix-path-of-included-makefile.patch: Drop patch (applied upstream)

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
            const octave_idx_type M, const octave_idx_type ptype,
18
18
            Complex *f)
19
19
{
20
 
    idgt_fb_d(reinterpret_cast<const double _Complex*>(coef),
21
 
              reinterpret_cast<const double _Complex*>(gf),
 
20
    idgt_fb_d(reinterpret_cast<const fftw_complex*>(coef),
 
21
              reinterpret_cast<const fftw_complex*>(gf),
22
22
              L, gl, W, a, M,
23
23
              static_cast<dgt_phasetype>(ptype),
24
 
              reinterpret_cast<double _Complex*>(f));
 
24
              reinterpret_cast<fftw_complex*>(f));
25
25
}
26
26
 
27
27
static inline void
31
31
            const octave_idx_type M, const octave_idx_type ptype,
32
32
            FloatComplex *f)
33
33
{
34
 
    idgt_fb_s(reinterpret_cast<const float _Complex*>(coef),
35
 
              reinterpret_cast<const float _Complex*>(gf),
 
34
    idgt_fb_s(reinterpret_cast<const fftwf_complex*>(coef),
 
35
              reinterpret_cast<const fftwf_complex*>(gf),
36
36
              L, gl, W, a, M,
37
37
              static_cast<dgt_phasetype>(ptype),
38
 
              reinterpret_cast<float _Complex*>(f));
 
38
              reinterpret_cast<fftwf_complex*>(f));
39
39
}
40
40
 
41
41
static inline void
44
44
              const octave_idx_type a, const octave_idx_type M,
45
45
              const octave_idx_type ptype, Complex *f)
46
46
{
47
 
    idgt_long_d(reinterpret_cast<const double _Complex*>(coef),
48
 
                reinterpret_cast<const double _Complex*>(gf),
 
47
    idgt_long_d(reinterpret_cast<const fftw_complex*>(coef),
 
48
                reinterpret_cast<const fftw_complex*>(gf),
49
49
                L, W, a, M, 
50
50
                static_cast<dgt_phasetype>(ptype),
51
 
                reinterpret_cast<double _Complex*>(f));
 
51
                reinterpret_cast<fftw_complex*>(f));
52
52
}
53
53
 
54
54
static inline void
57
57
              const octave_idx_type a, const octave_idx_type M,
58
58
              const octave_idx_type ptype, FloatComplex *f)
59
59
{
60
 
    idgt_long_s(reinterpret_cast<const float _Complex*>(coef),
61
 
                reinterpret_cast<const float _Complex*>(gf),
 
60
    idgt_long_s(reinterpret_cast<const fftwf_complex*>(coef),
 
61
                reinterpret_cast<const fftwf_complex*>(gf),
62
62
                L, W, a, M, 
63
63
                static_cast<dgt_phasetype>(ptype),
64
 
                reinterpret_cast<float _Complex*>(f));
 
64
                reinterpret_cast<fftwf_complex*>(f));
65
65
}
66
66
 
67
67
template <class LTFAT_TYPE, class LTFAT_REAL, class LTFAT_COMPLEX>