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:
1.8 KB
|
Line | |
---|
1 | // Copyright (C) 2012-2014 Conrad Sanderson |
---|
2 | // Copyright (C) 2012-2014 Ryan Curtin |
---|
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 spop_min |
---|
10 | //! @{ |
---|
11 | |
---|
12 | |
---|
13 | class spop_min |
---|
14 | { |
---|
15 | public: |
---|
16 | |
---|
17 | template<typename T1> |
---|
18 | inline static void apply(SpMat<typename T1::elem_type>& out, const SpOp<T1, spop_min>& in); |
---|
19 | |
---|
20 | // |
---|
21 | |
---|
22 | template<typename T1> |
---|
23 | inline static void apply_noalias(SpMat<typename T1::elem_type>& out, const SpProxy<T1>& p, const uword dim, const typename arma_not_cx<typename T1::elem_type>::result* junk = 0); |
---|
24 | |
---|
25 | template<typename T1> |
---|
26 | inline static typename T1::elem_type vector_min(const T1& X, const typename arma_not_cx<typename T1::elem_type>::result* junk = 0); |
---|
27 | |
---|
28 | template<typename T1> |
---|
29 | inline static typename arma_not_cx<typename T1::elem_type>::result min(const SpBase<typename T1::elem_type, T1>& X); |
---|
30 | |
---|
31 | template<typename T1> |
---|
32 | inline static typename arma_not_cx<typename T1::elem_type>::result min_with_index(const SpProxy<T1>& P, uword& index_of_min_val); |
---|
33 | |
---|
34 | // |
---|
35 | |
---|
36 | template<typename T1> |
---|
37 | inline static void apply_noalias(SpMat<typename T1::elem_type>& out, const SpProxy<T1>& p, const uword dim, const typename arma_cx_only<typename T1::elem_type>::result* junk = 0); |
---|
38 | |
---|
39 | template<typename T1> |
---|
40 | inline static typename T1::elem_type vector_min(const T1& X, const typename arma_cx_only<typename T1::elem_type>::result* junk = 0); |
---|
41 | |
---|
42 | template<typename T1> |
---|
43 | inline static typename arma_cx_only<typename T1::elem_type>::result min(const SpBase<typename T1::elem_type, T1>& X); |
---|
44 | |
---|
45 | template<typename T1> |
---|
46 | inline static typename arma_cx_only<typename T1::elem_type>::result min_with_index(const SpProxy<T1>& P, uword& index_of_min_val); |
---|
47 | }; |
---|
48 | |
---|
49 | |
---|
50 | //! @} |
---|
Note: See
TracBrowser
for help on using the repository browser.