subdistance: Subdistance between subspaces

View source: R/metrics.R

subdistanceR Documentation

Subdistance between subspaces

Description

Calculate subdistance between subspace spanned by the columns of a and the subspace spanned by the columns of b

Usage

subdistance(A, B)

Arguments

A

A matrix whose columns span a subspace.

B

A matrix whose columns span a subspace.

Value

subdistance between the two subspaces spanned by the matrices A and B, defined as min(O orthogonal) ||AO-B||_F


ccar3 documentation built on Sept. 16, 2025, 9:11 a.m.