Computes the Frobenius norm between two bases, in radians. This is equals to the Euclidean norm of the vector of principal angles between the two subspaces.

proj_dist(x, y)

Arguments

x

projection matrix a

y

projection matrix b