op_princomp_bones.hpp
Go to the documentation of this file.
1 // Copyright (C) 2010-2011 NICTA (www.nicta.com.au)
2 // Copyright (C) 2010-2011 Conrad Sanderson
3 // Copyright (C) 2010 Dimitrios Bouzas
4 //
5 // This file is part of the Armadillo C++ library.
6 // It is provided without any warranty of fitness
7 // for any purpose. You can redistribute this file
8 // and/or modify it under the terms of the GNU
9 // Lesser General Public License (LGPL) as published
10 // by the Free Software Foundation, either version 3
11 // of the License or (at your option) any later version.
12 // (see http://www.opensource.org/licenses for more info)
13 
14 
17 
18 
19 
21  {
22  public:
23 
24  // real element versions
25 
26  template<typename eT>
27  inline static bool
29  (
30  Mat<eT>& coeff_out,
31  const Mat<eT>& in
32  );
33 
34  template<typename eT>
35  inline static bool
37  (
38  Mat<eT>& coeff_out,
39  Mat<eT>& score_out,
40  const Mat<eT>& in
41  );
42 
43  template<typename eT>
44  inline static bool
46  (
47  Mat<eT>& coeff_out,
48  Mat<eT>& score_out,
49  Col<eT>& latent_out,
50  const Mat<eT>& in
51  );
52 
53  template<typename eT>
54  inline static bool
56  (
57  Mat<eT>& coeff_out,
58  Mat<eT>& score_out,
59  Col<eT>& latent_out,
60  Col<eT>& tsquared_out,
61  const Mat<eT>& in
62  );
63 
64 
65  // complex element versions
66 
67  template<typename T>
68  inline static bool
70  (
71  Mat< std::complex<T> >& coeff_out,
72  const Mat< std::complex<T> >& in
73  );
74 
75  template<typename T>
76  inline static bool
78  (
79  Mat< std::complex<T> >& coeff_out,
80  Mat< std::complex<T> >& score_out,
81  const Mat< std::complex<T> >& in
82  );
83 
84  template<typename T>
85  inline static bool
87  (
88  Mat< std::complex<T> >& coeff_out,
89  Mat< std::complex<T> >& score_out,
90  Col<T>& latent_out,
91  const Mat< std::complex<T> >& in
92  );
93 
94  template<typename T>
95  inline static bool
97  (
98  Mat< std::complex<T> >& coeff_out,
99  Mat< std::complex<T> >& score_out,
100  Col<T>& latent_out,
101  Col< std::complex<T> >& tsquared_out,
102  const Mat< std::complex<T> >& in
103  );
104 
105 
106  template<typename T1>
107  inline static void
109 
110  };
111 
112 
113 
static bool direct_princomp(Mat< eT > &coeff_out, const Mat< eT > &in)
principal component analysis – 1 argument version computation is done via singular value decompositi...
Class for column vectors (matrices with only one column)
Definition: Col_bones.hpp:20
Dense matrix class.
static void apply(Mat< typename T1::elem_type > &out, const Op< T1, op_princomp > &in)


armadillo_matrix
Author(s):
autogenerated on Fri Apr 16 2021 02:31:58