@@ -168,6 +168,28 @@ cdef class Matrix_cmr_chr_sparse(Matrix_cmr_sparse):
168168 return < bint> result
169169
170170 def is_strongly_unimodular (self ):
171+ r """
172+ A matrix is strongly unimodular if ``self`` and ``self. transpose( ) `` are both unimodular.
173+
174+ EXAMPLES::
175+
176+ sage: from sage. matrix. matrix_cmr_sparse import Matrix_cmr_chr_sparse
177+ sage: M = Matrix_cmr_chr_sparse( MatrixSpace( ZZ, 3, 3, sparse=True) ,
178+ .... : [[1, 0, 1 ], [0, 1, 1 ], [1, 2, 3 ]]) ; M
179+ [1 0 1 ]
180+ [0 1 1 ]
181+ [1 2 3 ]
182+ sage: M. is_unimodular( )
183+ True
184+ sage: M. is_strongly_unimodular( )
185+ False
186+ sage: M = Matrix_cmr_chr_sparse( MatrixSpace( ZZ, 2, 3, sparse=True) ,
187+ .... : [[1, 0, 0 ], [0, 1, 0 ]]) ; M
188+ [1 0 0 ]
189+ [0 1 0 ]
190+ sage: M. is_strongly_unimodular( )
191+ True
192+ """
171193 cdef bool result
172194
173195 sig_on()
@@ -295,7 +317,7 @@ cdef class Matrix_cmr_chr_sparse(Matrix_cmr_sparse):
295317 return False , None # submatrix TBD
296318
297319 def is_cographic (self , *, time_limit = 60.0 , certificate = False ):
298- raise NotImplementedError
320+ raise NotImplementedError
299321
300322 def is_network_matrix (self , *, time_limit = 60.0 , certificate = False ):
301323 raise NotImplementedError
0 commit comments