# Why there's no cv::cuda::eigen equivalent for cv::eigen

**URL:** <https://forum.opencv.org/t/why-theres-no-cv-eigen-equivalent-for-cv-eigen/11926>\
**Category:** C++\
**Tags:** cuda\
**Created:** [February 10, 2023, 6:04am UTC](https://forum.opencv.org/t/why-theres-no-cv-eigen-equivalent-for-cv-eigen/11926 "2023-02-10T06:04:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rmjch](https://avatars.discourse-cdn.com/v4/letter/r/5e9695/32.png) [@rmjch](https://forum.opencv.org/u/rmjch)\
**Post date:** [February 10, 2023, 6:04am UTC](https://forum.opencv.org/t/why-theres-no-cv-eigen-equivalent-for-cv-eigen/11926/1 "2023-02-10T06:04:19Z")

</div>

Hello, recently I started to use OpenCV gpu-enabled class cv::cuda::GpuMat

However, I had to face the reality that no many linear algebra methods have their equivalent for GPU. Methods like

```auto
// X,D,V, W, U, Vt are cv::Mat type
cv::eigen(X,D,V) or 
cv::SVD::compute(X, W, U, Vt);

```

This is particularly a blocker for me cause I don’t think those methods are easy to implement for GPU

I was hoping to find in the cuda methods something like

```auto
// X,D,V, W, U, Vt are cv::cuda::GpuMat type
cv::cuda::eigen(X,D,V) or 
cv::cuda::SVD::compute(X, W, U, Vt);

```

I would appreciate any pointers to find the equivalent of these methods for cv::cuda::GpuMat type, thank you
