is_inside_pairwise# iskra.geometry.barycentric.is_inside_pairwise(x: Tensor, simplices: Tensor, eps: float = 1e-24) → tuple[Tensor, Tensor][SOURCE]# Checks whether each of the points in x is in any of the simplices in simplices. Parameters: x (Tensor[Float, [B1, Dim]]) – Batched points in Dim dimensions simplices (Tensor[Float, [B2, SDim, Dim]]) – Batched simplex corners, where SDim is either 2, 3, or 4. eps (float) – Numerical epsilon to use to prevent errors in case of degenerate simplices. Returns: (Tensor[Bool, [B1, B2]]) – Boolean tensor that indicates when a point is inside of a simplex. (Tensor[Float, [B1, B2, SDim]]) – Barycentric coordinates of each point in each simplex.