Opened 11 years ago
Last modified 11 years ago
#6638 new enhancement
Implement a way to import default shortcuts, say from SymmetricFunctions(QQ)
Reported by: | nthiery | Owned by: | mhansen |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | combinatorics | Keywords: | |
Cc: | sage-combinat | Merged in: | |
Authors: | Reviewers: | ||
Report Upstream: | Work issues: | ||
Branch: | Commit: | ||
Dependencies: | Stopgaps: |
Description (last modified by )
Implement a way to import default shortcuts, say from SymmetricFunctions?(QQ), WeylGroups?(["A",3]), or RootSystem?(["A",3])
Option 1:
sage: Sym = SymmetricFunctions(QQ) sage: %from Sym.shortcuts() import * sage: s[3] + h[2] s[3] + s[2] sage: %from Sym.shortcuts() import s, h, p sage: Sym.shorcuts() { s: SymmetricFunctions in the Schur basis, h: SymmetricFunctions in the complete basis, ... }
Option 2:
sage: Sym = SymmetricFunctions(QQ) sage: Sym.import_shortcuts() sage: s[3] + h[2] s[3] + s[2] sage: Sym.import_shortcuts("s", "h", "p")
Change History (1)
comment:1 Changed 11 years ago by
- Description modified (diff)
- Type changed from defect to enhancement
Note: See
TracTickets for help on using
tickets.