subspace_dist {activegp} | R Documentation |
Get the distance between subspaces defined as the ranges of A and B
subspace_dist(A, B, r)
A |
A matrix or const_C object. |
B |
Another matrix with the same number of rows as A, or const_C object of the same dimension. |
r |
A scalar integer, the dimension of the subspace to compare (only necessary if either A or B is a const_C object). |
A nonnegative scalar giving the cosine of the first principle angle between the two subspaces.