comparison armadillo-3.900.4/include/armadillo_bits/op_htrans_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-2012 NICTA (www.nicta.com.au)
2 // Copyright (C) 2008-2012 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_htrans
10 //! @{
11
12
13 //! 'hermitian transpose' operation
14
15 class op_htrans
16 {
17 public:
18
19 template<typename eT>
20 arma_hot arma_inline static void apply_noalias(Mat<eT>& out, const Mat<eT>& A, const typename arma_not_cx<eT>::result* junk = 0);
21
22 template<typename eT>
23 arma_hot inline static void apply_noalias(Mat<eT>& out, const Mat<eT>& A, const typename arma_cx_only<eT>::result* junk = 0);
24
25 //
26
27 template<typename eT>
28 arma_hot arma_inline static void apply(Mat<eT>& out, const Mat<eT>& A, const typename arma_not_cx<eT>::result* junk = 0);
29
30 template<typename eT>
31 arma_hot inline static void apply(Mat<eT>& out, const Mat<eT>& A, const typename arma_cx_only<eT>::result* junk = 0);
32
33 //
34
35 template<typename T1>
36 arma_hot inline static void apply_proxy(Mat<typename T1::elem_type>& out, const T1& X);
37
38 //
39
40 template<typename T1>
41 arma_hot inline static void apply(Mat<typename T1::elem_type>& out, const Op<T1,op_htrans>& in, const typename arma_not_cx<typename T1::elem_type>::result* junk = 0);
42
43 template<typename T1>
44 arma_hot inline static void apply(Mat<typename T1::elem_type>& out, const Op<T1,op_htrans>& in, const typename arma_cx_only<typename T1::elem_type>::result* junk = 0);
45
46 //
47
48 template<typename T1>
49 arma_hot inline static void apply(Mat<typename T1::elem_type>& out, const Op< Op<T1, op_trimat>, op_htrans>& in);
50 };
51
52
53
54 class op_htrans2
55 {
56 public:
57
58 template<typename eT>
59 arma_hot inline static void apply_noalias(Mat<eT>& out, const Mat<eT>& A, const eT val);
60
61 template<typename eT>
62 arma_hot inline static void apply(Mat<eT>& out, const Mat<eT>& A, const eT val);
63
64 //
65
66 template<typename T1>
67 arma_hot inline static void apply_proxy(Mat<typename T1::elem_type>& out, const T1& X, const typename T1::elem_type val);
68
69 //
70
71 template<typename T1>
72 arma_hot inline static void apply(Mat<typename T1::elem_type>& out, const Op<T1,op_htrans2>& in, const typename arma_not_cx<typename T1::elem_type>::result* junk = 0);
73
74 template<typename T1>
75 arma_hot inline static void apply(Mat<typename T1::elem_type>& out, const Op<T1,op_htrans2>& in, const typename arma_cx_only<typename T1::elem_type>::result* junk = 0);
76 };
77
78
79
80 //! @}