[sage-support] Re: The pip ssl mess on Mac OS X: ways forwards

2020-11-23 Thread Nathan Dunfield
For a quick hack fix, you can use: https://github.com/3-manifolds/fix_mac_sage/ On Sunday, November 22, 2020 at 1:24:45 PM UTC-6 watso...@gmail.com wrote: > > Right now pip doesn't work in the binary distributions due to the absence > of the ssl module. This is apparently due to licensing restr

[sage-support] Re: How to generate permutation matrices (fast)?

2020-11-23 Thread jplab
... ok! Found it: sage: P = Permutations([1,2,3]) sage: elmts = P.elements_of_length(3)

[sage-support] How to generate permutation matrices (fast)?

2020-11-23 Thread jplab
Hi all, I would have posted this question on AskSage, but I can't seem to be able to connect through my google account (Authorization Error?). So I put the question here. I would like to know how to iterate through permutation matrices of a fixed size ($n\times n$) by breadth-first-search (by