@@ -1617,6 +1617,9 @@ def subproblem_matrix(self, subproblem):
16171617 blocks = [parity_matrices [p ] for p in P .ravel ()]
16181618 return sparse_block_diag (blocks )
16191619
1620+ def group_matrix (self , group , parity ):
1621+ return self ._group_matrix (group , self .input_basis , self .output_basis , parity )
1622+
16201623 def subspace_matrix (self , layout , parity ):
16211624 """Build matrix operating on local subspace data."""
16221625 # Caching layer to allow insertion of other arguments
@@ -1721,6 +1724,9 @@ def subspace_matrix(self, layout, parity):
17211724 # Caching layer to allow insertion of other arguments
17221725 return self ._subspace_matrix (layout , self .input_basis , self .output_basis , self .first_axis , self .order , parity )
17231726
1727+ def group_matrix (self , group , parity ):
1728+ return self ._group_matrix (group , self .input_basis , self .output_basis , self .order , parity )
1729+
17241730 @staticmethod
17251731 def _group_matrix (group , input_basis , output_basis , order , parity ):
17261732 # Rescale group (native wavenumber) to get physical wavenumber
@@ -1762,6 +1768,9 @@ def subspace_matrix(self, layout, parity):
17621768 # Caching layer to allow insertion of other arguments
17631769 return self ._subspace_matrix (layout , self .input_basis , self .output_basis , self .first_axis , self .order , parity )
17641770
1771+ def group_matrix (self , group , parity ):
1772+ return self ._group_matrix (group , self .input_basis , self .output_basis , self .order , parity )
1773+
17651774 @staticmethod
17661775 def _group_matrix (group , input_basis , output_basis , order , parity ):
17671776 # Rescale group (native wavenumber) to get physical wavenumber
0 commit comments