comparison armadillo-3.900.4/include/armadillo_bits/mtSpOp_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 Ryan Curtin
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 mtSpOp
9 //! @{
10
11 // Class for delayed multi-type sparse operations. These are operations where
12 // the resulting type is different than the stored type.
13
14
15
16 template<typename out_eT, typename T1, typename op_type>
17 class mtSpOp : public SpBase<out_eT, mtSpOp<out_eT, T1, op_type> >
18 {
19 public:
20
21 typedef out_eT elem_type;
22 typedef typename get_pod_type<out_eT>::result pod_type;
23
24 typedef typename T1::elem_type in_eT;
25
26 static const bool is_row = false;
27 static const bool is_col = false;
28
29 inline explicit mtSpOp(const T1& in_m);
30 inline mtSpOp(const T1& in_m, const uword aux_uword_a, const uword aux_uword_b);
31
32 inline ~mtSpOp();
33
34 arma_aligned const T1& m;
35 arma_aligned uword aux_uword_a;
36 arma_aligned uword aux_uword_b;
37 };
38
39
40
41 //! @}