Opened 5 years ago

Closed 5 years ago

#12831 closed enhancement (fixed)

implement product of posets

Reported by: chapoton Owned by: sage-combinat
Priority: major Milestone: sage-5.1
Component: combinatorics Keywords: poset, product
Cc: chapoton, sage-combinat Merged in: sage-5.1.beta1
Authors: Frédéric Chapoton Reviewers: Itai Bar-Natan
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: #12770 Stopgaps:

Description

There currently lacks an implementation of the (cartesian) product of posets.

sage: P2=Posets.ChainPoset(2)

sage: P4=Posets.ChainPoset(4)

sage: Q=P2.product(P4)

This should return a poset with 8 elements, with Hasse diagram a 2 x 4 grid.

It would be nice to have a fast enough procedure for this.

Attachments (1)

trac_12831-product_of_posets-fc.patch (1.4 KB) - added by chapoton 5 years ago.

Download all attachments as: .zip

Change History (11)

comment:1 Changed 5 years ago by chapoton

  • Dependencies set to #12770

comment:2 Changed 5 years ago by chapoton

  • Status changed from new to needs_review

comment:3 Changed 5 years ago by chapoton

  • Status changed from needs_review to needs_work

Some typos need to be corrected..

comment:4 Changed 5 years ago by chapoton

  • Status changed from needs_work to needs_review

comment:5 Changed 5 years ago by chapoton

  • Cc chapoton sage-combinat added
  • Milestone changed from sage-5.1 to sage-5.0

Changed 5 years ago by chapoton

comment:6 Changed 5 years ago by chapoton

  • Authors set to Frédéric Chapoton

comment:7 Changed 5 years ago by chapoton

  • Milestone changed from sage-5.0 to sage-5.1

comment:8 Changed 5 years ago by itaibn

  • Status changed from needs_review to positive_review

comment:9 Changed 5 years ago by jdemeyer

  • Reviewers set to Itai Bar-Natan

comment:10 Changed 5 years ago by jdemeyer

  • Merged in set to sage-5.1.beta1
  • Resolution set to fixed
  • Status changed from positive_review to closed
Note: See TracTickets for help on using tickets.