I have two real matrices $A^{k\times m}$ and $B^{k\times n}$, let's assume $k\gg m$ and $m>n$. Let's also introduce an augmented matrix $C = [A \quad qB]$.
I want to get the 'almost' singular values of $A$, subject to the constraint that the left singular vectors must be orthogonal to the vectors comprising $B$. In other words, I want the singular values of $C$ with $q\to\infty $, discarding the highest $n$ singular values.
Right now, that's exactly how I've implemented it, using a 'sufficiently' high $q$, but I feel that this might be computationally inefficient and prone to round-off errors. I'm looking for a more direct way to get the same result.