comparison armadillo-3.900.4/include/armadillo_bits/op_find_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) 2010 NICTA (www.nicta.com.au)
2 // Copyright (C) 2010 Conrad Sanderson
3 // Copyright (C) 2010 Dimitrios Bouzas
4 //
5 // This Source Code Form is subject to the terms of the Mozilla Public
6 // License, v. 2.0. If a copy of the MPL was not distributed with this
7 // file, You can obtain one at http://mozilla.org/MPL/2.0/.
8
9
10
11 //! \addtogroup op_find
12 //! @{
13
14
15
16 class op_find
17 {
18 public:
19
20 template<typename T1>
21 inline static uword
22 helper
23 (
24 Mat<uword>& indices,
25 const Base<typename T1::elem_type, T1>& X
26 );
27
28 template<typename T1, typename op_type>
29 inline static uword
30 helper
31 (
32 Mat<uword>& indices,
33 const mtOp<uword, T1, op_type>& X,
34 const typename arma_op_rel_only<op_type>::result junk1 = 0,
35 const typename arma_not_cx<typename T1::elem_type>::result junk2 = 0
36 );
37
38 template<typename T1, typename op_type>
39 inline static uword
40 helper
41 (
42 Mat<uword>& indices,
43 const mtOp<uword, T1, op_type>& X,
44 const typename arma_op_rel_only<op_type>::result junk1 = 0,
45 const typename arma_cx_only<typename T1::elem_type>::result junk2 = 0
46 );
47
48 template<typename T1, typename T2, typename glue_type>
49 inline static uword
50 helper
51 (
52 Mat<uword>& indices,
53 const mtGlue<uword, T1, T2, glue_type>& X,
54 const typename arma_glue_rel_only<glue_type>::result junk1 = 0,
55 const typename arma_not_cx<typename T1::elem_type>::result junk2 = 0,
56 const typename arma_not_cx<typename T2::elem_type>::result junk3 = 0
57 );
58
59 template<typename T1, typename T2, typename glue_type>
60 inline static uword
61 helper
62 (
63 Mat<uword>& indices,
64 const mtGlue<uword, T1, T2, glue_type>& X,
65 const typename arma_glue_rel_only<glue_type>::result junk1 = 0,
66 const typename arma_cx_only<typename T1::elem_type>::result junk2 = 0,
67 const typename arma_cx_only<typename T2::elem_type>::result junk3 = 0
68 );
69
70 template<typename T1>
71 inline static void apply(Mat<uword>& out, const mtOp<uword, T1, op_find>& X);
72 };
73
74
75
76 //! @}