r"""Return the transpose of the hypergraph incidence matrix :math:`\mathbf{H}^\top` of the specified hyperedge group with ``torch.Tensor`` format. Args: ``group_name`` (``str``): The name of the specified hyperedge group.
(self, group_name: str)
| 770 | return self.cache["H_T"] |
| 771 | |
| 772 | def H_T_of_group(self, group_name: str) -> torch.Tensor: |
| 773 | r"""Return the transpose of the hypergraph incidence matrix :math:`\mathbf{H}^\top` of the specified hyperedge group with ``torch.Tensor`` format. |
| 774 | |
| 775 | Args: |
| 776 | ``group_name`` (``str``): The name of the specified hyperedge group. |
| 777 | """ |
| 778 | assert ( |
| 779 | group_name in self.group_names |
| 780 | ), f"The specified {group_name} is not in existing hyperedge groups." |
| 781 | if self.group_cache[group_name].get("H_T") is None: |
| 782 | self.group_cache[group_name]["H_T"] = self.H_of_group(group_name).t() |
| 783 | return self.group_cache[group_name]["H_T"] |
| 784 | |
| 785 | @property |
| 786 | def W_e(self) -> torch.Tensor: |