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:
910 bytes
|
Line | |
---|
1 | // Copyright (C) 2015 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 spglue_join |
---|
9 | //! @{ |
---|
10 | |
---|
11 | |
---|
12 | |
---|
13 | class spglue_join_cols |
---|
14 | { |
---|
15 | public: |
---|
16 | |
---|
17 | template<typename T1, typename T2> |
---|
18 | inline static void apply(SpMat<typename T1::elem_type>& out, const SpGlue<T1,T2,spglue_join_cols>& X); |
---|
19 | |
---|
20 | template<typename eT> |
---|
21 | inline static void apply_noalias(SpMat<eT>& out, const SpMat<eT>& A, const SpMat<eT>& B); |
---|
22 | }; |
---|
23 | |
---|
24 | |
---|
25 | |
---|
26 | class spglue_join_rows |
---|
27 | { |
---|
28 | public: |
---|
29 | |
---|
30 | template<typename T1, typename T2> |
---|
31 | inline static void apply(SpMat<typename T1::elem_type>& out, const SpGlue<T1,T2,spglue_join_rows>& X); |
---|
32 | |
---|
33 | template<typename eT> |
---|
34 | inline static void apply_noalias(SpMat<eT>& out, const SpMat<eT>& A, const SpMat<eT>& B); |
---|
35 | }; |
---|
36 | |
---|
37 | |
---|
38 | |
---|
39 | //! @} |
---|
Note: See
TracBrowser
for help on using the repository browser.