cr.nimble.subspaces.smallest_principal_angle_cos

cr.nimble.subspaces.smallest_principal_angle_cos(A, B)[source]

Returns the cosine of smallest principal angle between two subspaces

Parameters
  • A (jax.numpy.ndarray) – ONB for the first subspace

  • B (jax.numpy.ndarray) – ONB for the second subspace

Returns

Cosine of the smallest principal angle between the two subspaces

Return type

(float)