ccov.hpp
Go to the documentation of this file.
1 
14 #ifndef MLPACK_CORE_MATH_CCOV_HPP
15 #define MLPACK_CORE_MATH_CCOV_HPP
16 
17 #include <mlpack/prereqs.hpp>
18 
19 namespace mlpack {
20 namespace math {
21 
22 template<typename eT>
23 inline
24 arma::Mat<eT>
25 ColumnCovariance(const arma::Mat<eT>& A, const size_t norm_type = 0);
26 
27 template<typename T>
28 inline
29 arma::Mat< std::complex<T> >
30 ColumnCovariance(const arma::Mat< std::complex<T> >& A,
31  const size_t norm_type = 0);
32 
33 } // namespace math
34 } // namespace mlpack
35 
36 // Include implementation
37 #include "ccov_impl.hpp"
38 
39 #endif // MLPACK_CORE_MATH_CCOV_HPP
Linear algebra utility functions, generally performed on matrices or vectors.
The core includes that mlpack expects; standard C++ includes and Armadillo.
arma::Mat< eT > ColumnCovariance(const arma::Mat< eT > &A, const size_t norm_type=0)