First time here? Check out the FAQ!
answered 2023-04-30 21:55:02 +0100
Like this
sage: m = matrix(ZZ,2,2,[1,1,0,1]) sage: Poset(DiGraph(m-1, loops=False)) Finite poset containing 2 elements