Mercurial > hg > segmenter-vamp-plugin
comparison armadillo-3.900.4/include/armadillo_bits/op_fft_bones.hpp @ 49:1ec0e2823891
Switch to using subrepo copies of qm-dsp, nnls-chroma, vamp-plugin-sdk; update Armadillo version; assume build without external BLAS/LAPACK
author | Chris Cannam |
---|---|
date | Thu, 13 Jun 2013 10:25:24 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
48:69251e11a913 | 49:1ec0e2823891 |
---|---|
1 // Copyright (C) 2013 Conrad Sanderson | |
2 // Copyright (C) 2013 NICTA (www.nicta.com.au) | |
3 // | |
4 // This Source Code Form is subject to the terms of the Mozilla Public | |
5 // License, v. 2.0. If a copy of the MPL was not distributed with this | |
6 // file, You can obtain one at http://mozilla.org/MPL/2.0/. | |
7 | |
8 | |
9 | |
10 //! \addtogroup op_fft | |
11 //! @{ | |
12 | |
13 | |
14 | |
15 class op_fft_real | |
16 { | |
17 public: | |
18 | |
19 template<typename T1> | |
20 inline static void apply( Mat< std::complex<typename T1::pod_type> >& out, const mtOp<std::complex<typename T1::pod_type>,T1,op_fft_real>& in ); | |
21 }; | |
22 | |
23 | |
24 | |
25 class op_fft_cx | |
26 { | |
27 public: | |
28 | |
29 template<typename T1> | |
30 inline static void apply( Mat<typename T1::elem_type>& out, const Op<T1,op_fft_cx>& in ); | |
31 | |
32 template<typename T1, bool inverse> | |
33 inline static void apply_noalias(Mat<typename T1::elem_type>& out, const Proxy<T1>& P, const uword a, const uword b); | |
34 | |
35 template<typename T1> arma_hot inline static void copy_vec (typename Proxy<T1>::elem_type* dest, const Proxy<T1>& P, const uword N); | |
36 template<typename T1> arma_hot inline static void copy_vec_proxy (typename Proxy<T1>::elem_type* dest, const Proxy<T1>& P, const uword N); | |
37 template<typename T1> arma_hot inline static void copy_vec_unwrap(typename Proxy<T1>::elem_type* dest, const Proxy<T1>& P, const uword N); | |
38 }; | |
39 | |
40 | |
41 | |
42 class op_ifft_cx | |
43 { | |
44 public: | |
45 | |
46 template<typename T1> | |
47 inline static void apply( Mat<typename T1::elem_type>& out, const Op<T1,op_ifft_cx>& in ); | |
48 }; | |
49 | |
50 | |
51 | |
52 //! @} |