Mercurial > hg > segmenter-vamp-plugin
comparison armadillo-3.900.4/include/armadillo_bits/op_misc_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) 2008-2011 NICTA (www.nicta.com.au) | |
2 // Copyright (C) 2008-2011 Conrad Sanderson | |
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 //! \addtogroup op_misc | |
10 //! @{ | |
11 | |
12 | |
13 | |
14 class op_real | |
15 { | |
16 public: | |
17 | |
18 template<typename T1> | |
19 inline static void apply( Mat<typename T1::pod_type>& out, const mtOp<typename T1::pod_type, T1, op_real>& X); | |
20 | |
21 template<typename T1> | |
22 inline static void apply( Cube<typename T1::pod_type>& out, const mtOpCube<typename T1::pod_type, T1, op_real>& X); | |
23 }; | |
24 | |
25 | |
26 | |
27 class op_imag | |
28 { | |
29 public: | |
30 | |
31 template<typename T1> | |
32 inline static void apply( Mat<typename T1::pod_type>& out, const mtOp<typename T1::pod_type, T1, op_imag>& X); | |
33 | |
34 template<typename T1> | |
35 inline static void apply( Cube<typename T1::pod_type>& out, const mtOpCube<typename T1::pod_type, T1, op_imag>& X); | |
36 }; | |
37 | |
38 | |
39 | |
40 class op_abs | |
41 { | |
42 public: | |
43 | |
44 template<typename T1> | |
45 inline static void apply( Mat<typename T1::pod_type>& out, const mtOp<typename T1::pod_type, T1, op_abs>& X); | |
46 | |
47 template<typename T1> | |
48 inline static void apply( Cube<typename T1::pod_type>& out, const mtOpCube<typename T1::pod_type, T1, op_abs>& X); | |
49 }; | |
50 | |
51 | |
52 | |
53 class op_sympd | |
54 { | |
55 public: | |
56 | |
57 template<typename T1> | |
58 inline static void apply( Mat<typename T1::elem_type>& out, const Op<T1, op_sympd>& X); | |
59 }; | |
60 | |
61 | |
62 | |
63 //! @} |