Mercurial > hg > segmenter-vamp-plugin
comparison armadillo-3.900.4/include/armadillo_bits/spop_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) 2012 Conrad Sanderson | |
2 // | |
3 // This Source Code Form is subject to the terms of the Mozilla Public | |
4 // License, v. 2.0. If a copy of the MPL was not distributed with this | |
5 // file, You can obtain one at http://mozilla.org/MPL/2.0/. | |
6 | |
7 | |
8 //! \addtogroup spop_misc | |
9 //! @{ | |
10 | |
11 | |
12 class spop_scalar_times | |
13 { | |
14 public: | |
15 | |
16 template<typename T1> | |
17 arma_hot inline static void apply(SpMat<typename T1::elem_type>& out, const SpOp<T1, spop_scalar_times>& in); | |
18 }; | |
19 | |
20 | |
21 | |
22 class spop_square | |
23 { | |
24 public: | |
25 | |
26 template<typename T1> | |
27 arma_hot inline static void apply(SpMat<typename T1::elem_type>& out, const SpOp<T1, spop_square>& in); | |
28 }; | |
29 | |
30 | |
31 | |
32 class spop_sqrt | |
33 { | |
34 public: | |
35 | |
36 template<typename T1> | |
37 arma_hot inline static void apply(SpMat<typename T1::elem_type>& out, const SpOp<T1, spop_sqrt>& in); | |
38 }; | |
39 | |
40 | |
41 | |
42 class spop_abs | |
43 { | |
44 public: | |
45 | |
46 template<typename T1> | |
47 arma_hot inline static void apply(SpMat<typename T1::elem_type>& out, const SpOp<T1, spop_abs>& in); | |
48 }; | |
49 | |
50 | |
51 | |
52 class spop_cx_abs | |
53 { | |
54 public: | |
55 | |
56 template<typename T1> | |
57 arma_hot inline static void apply(SpMat<typename T1::pod_type>& out, const mtSpOp<typename T1::pod_type, T1, spop_cx_abs>& in); | |
58 }; | |
59 | |
60 | |
61 | |
62 //! @} |