riecovest.distance.frob_sq

riecovest.distance.frob_sq(A, B)

The squared Frobenius distance between two matrices A and B.

Parameters:
  • A (ndarray of shape (M, N)) – Matrix

  • B (ndarray of shape (M, N)) – Matrix

Returns:

distance – The squared Frobenius distance between A and B

Return type:

float