# Get k largest singular values from SVD

Hi all, I'm using OpenCV to implement a PLS algorithm, and I need to run SVD in a big matrix. But I don't want all the singular values, just the largest one.

In matlab I can do this by calling:

```
[u,s,v] = svds(A, 1);
```

In OpenCV I'm doing:

```
cv::SVD::compute(A, s, u, v);
```

Anyone has any idea?

thx