cr.nimble.subspaces.smallest_principal_angle_rad

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

Returns the smallest principal angle between two subspaces in radians

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

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

Returns

The smallest principal angle between the two subspaces in radians

Return type

(float)