cov#
Compute a covariance matrix
Note
This function is currently not supported with host-based executors (CPU)
-
template<typename AType>
__MATX_INLINE__ auto matx::cov(const AType &a)# Compute a covariance matrix without a plan
Creates a new cov plan in the cache if none exists, and uses that to execute the covariance calculation. This function is preferred over creating a plan directly for both efficiency and simpler code. Since it only uses the signature of the covariance to decide if a plan is cached, it may be able to reused plans for different A matrices
- Template Parameters:
AType – Data type of A operator
- Parameters:
a – Covariance operator input view
Examples#
(this->cv = cov(this->av)).run(this->exec);