Bruhat decomposition of an invertible matrix

asked 0 years ago

sagequstions gravatar image

Let M be an invertible matrix. The Bruhat decomposition for the general linear group (https://en.wikipedia.org/wiki/Bruhat_...) tells us that M can be written as M=U1wU2 with a unique permutation w. My question is whether there is a quick way to obtain this decomposition in Sage or at least the permutation w associated to the matrix M?

Preview: (hide)