eig#

Perform an eigenvalue decomposition saving the eigenvalues, and optionally saving eigenvectors

template<typename OpA>
__MATX_INLINE__ auto matx::eig(const OpA &a, cusolverEigMode_t jobz = CUSOLVER_EIG_MODE_VECTOR, cublasFillMode_t uplo = CUBLAS_FILL_MODE_UPPER)#

Examples#

// Note that eigenvalue/vector solutions are not necessarily ordered in the same way other libraries
// may order them. When comparing against other libraries it's best to check A*v = lambda * v
(mtie(this->Evv, this->Wov) = eig(this->Bv)).run(this->exec);