mlpack 3.4.2
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
19namespace mlpack {
20namespace math {
21
22template<typename eT>
23inline
24arma::Mat<eT>
25ColumnCovariance(const arma::Mat<eT>& A, const size_t norm_type = 0);
26
27template<typename T>
28inline
29arma::Mat< std::complex<T> >
30ColumnCovariance(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
arma::Mat< eT > ColumnCovariance(const arma::Mat< eT > &A, const size_t norm_type=0)
Linear algebra utility functions, generally performed on matrices or vectors.
Definition: cv.hpp:1
The core includes that mlpack expects; standard C++ includes and Armadillo.