subspace_dist: Get the distance between subspaces defined as the ranges of A...

View source: R/misc.R

subspace_distR Documentation

Get the distance between subspaces defined as the ranges of A and B

Description

Get the distance between subspaces defined as the ranges of A and B

Usage

subspace_dist(A, B, r)

Arguments

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).

Value

A nonnegative scalar giving the cosine of the first principle angle between the two subspaces.


activegp documentation built on June 28, 2022, 1:05 a.m.