starling.structure.coordinates.compute_pairwise_distances
- compute_pairwise_distances(coords)[source]
Function to compute the pairwise distances in 3D space.
- Parameters:
coords (torch.Tensor) – A tensor of shape (n, 3) containing the 3D coordinates of n points.
- Returns:
A tensor of pairwise distances between the points in 3D space.
- Return type: