r"""Return the source hyperedge index vector :math:`\overrightarrow{e2v}_{src}` of the connections (hyperedges point to vertices) in the specified hyperedge group. Args: ``group_name`` (``str``): The name of the specified hyperedge group.
(self, group_name: str)
| 696 | return self.H._indices()[1].clone() |
| 697 | |
| 698 | def e2v_src_of_group(self, group_name: str) -> torch.Tensor: |
| 699 | r"""Return the source hyperedge index vector :math:`\overrightarrow{e2v}_{src}` of the connections (hyperedges point to vertices) in the specified hyperedge group. |
| 700 | |
| 701 | Args: |
| 702 | ``group_name`` (``str``): The name of the specified hyperedge group. |
| 703 | """ |
| 704 | assert ( |
| 705 | group_name in self.group_names |
| 706 | ), f"The specified {group_name} is not in existing hyperedge groups." |
| 707 | return self.H_of_group(group_name)._indices()[1].clone() |
| 708 | |
| 709 | @property |
| 710 | def e2v_dst(self) -> torch.Tensor: |