Mercurial > hg > segmenter-vamp-plugin
comparison armadillo-3.900.4/include/armadillo_bits/eOp_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-2013 NICTA (www.nicta.com.au) | |
2 // Copyright (C) 2010-2013 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 eOp | |
10 //! @{ | |
11 | |
12 | |
13 | |
14 template<typename T1, typename eop_type> | |
15 class eOp : public Base<typename T1::elem_type, eOp<T1, eop_type> > | |
16 { | |
17 public: | |
18 | |
19 typedef typename T1::elem_type elem_type; | |
20 typedef typename get_pod_type<elem_type>::result pod_type; | |
21 typedef Proxy<T1> proxy_type; | |
22 | |
23 static const bool prefer_at_accessor = Proxy<T1>::prefer_at_accessor; | |
24 static const bool has_subview = Proxy<T1>::has_subview; | |
25 static const bool is_fixed = Proxy<T1>::is_fixed; | |
26 static const bool fake_mat = Proxy<T1>::fake_mat; | |
27 | |
28 static const bool is_row = Proxy<T1>::is_row; | |
29 static const bool is_col = Proxy<T1>::is_col; | |
30 | |
31 arma_aligned const Proxy<T1> P; | |
32 | |
33 arma_aligned elem_type aux; //!< storage of auxiliary data, user defined format | |
34 arma_aligned uword aux_uword_a; //!< storage of auxiliary data, uword format | |
35 arma_aligned uword aux_uword_b; //!< storage of auxiliary data, uword format | |
36 | |
37 inline ~eOp(); | |
38 inline explicit eOp(const T1& in_m); | |
39 inline eOp(const T1& in_m, const elem_type in_aux); | |
40 inline eOp(const T1& in_m, const uword in_aux_uword_a, const uword in_aux_uword_b); | |
41 inline eOp(const T1& in_m, const elem_type in_aux, const uword in_aux_uword_a, const uword in_aux_uword_b); | |
42 | |
43 arma_inline uword get_n_rows() const; | |
44 arma_inline uword get_n_cols() const; | |
45 arma_inline uword get_n_elem() const; | |
46 | |
47 arma_inline elem_type operator[] (const uword ii) const; | |
48 arma_inline elem_type at (const uword row, const uword col) const; | |
49 arma_inline elem_type at_alt (const uword ii) const; | |
50 }; | |
51 | |
52 | |
53 | |
54 //! @} |