matrices
Last change
on this file since 8daa049 was
9dd61b1,
checked in by rboet <rboet@…>, 9 years ago
|
Avance del proyecto 60%
|
-
Property mode set to
100644
|
File size:
902 bytes
|
Line | |
---|
1 | // Copyright (C) 2012-2014 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_strans |
---|
9 | //! @{ |
---|
10 | |
---|
11 | |
---|
12 | //! simple transpose operation (no complex conjugates) for sparse matrices |
---|
13 | |
---|
14 | class spop_strans |
---|
15 | { |
---|
16 | public: |
---|
17 | |
---|
18 | template<typename eT> |
---|
19 | arma_hot inline static void apply_spmat(SpMat<eT>& out, const SpMat<eT>& X); |
---|
20 | |
---|
21 | template<typename T1> |
---|
22 | arma_hot inline static void apply_proxy(SpMat<typename T1::elem_type>& out, const T1& X); |
---|
23 | |
---|
24 | template<typename T1> |
---|
25 | arma_hot inline static void apply(SpMat<typename T1::elem_type>& out, const SpOp<T1,spop_strans>& in); |
---|
26 | |
---|
27 | template<typename T1> |
---|
28 | arma_hot inline static void apply(SpMat<typename T1::elem_type>& out, const SpOp<T1,spop_htrans>& in); |
---|
29 | }; |
---|
30 | |
---|
31 | |
---|
32 | |
---|
33 | //! @} |
---|
Note: See
TracBrowser
for help on using the repository browser.