coefficients in iterated rings
Nobody has claimed this yet.
- Dominant language
- Macaulay2
- Stars
- 435
- Forks
- 297
- Avg merge
- 4d 20h
- Merged PRs (30d)
- 11
Description
This is not really a bug (and I understand why it happens -- kind of...), but I still find it disturbing and unpleasant:
```
i1 : R=QQ[x]; S=R[y];
i3 : coefficients(x+y,Monomials=>{x,y})
o3 = (| x y |, {0, 1} | x |)
{1, 0} | 1 |
o3 : Sequence
i4 : first oo * last oo -- not the expected result x+y !
o4 = | y+x2 |
1 1
o4 : Matrix S <--- S
```
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue using the Macaulay2 transcript with R=QQ[x], S=R[y], and coefficients(x+y,Monomials=>{x,y}). Investigate the iterated-ring coefficient behavior; done means the resulting matrix multiplication represents the expected expression x+y rather than y+x2.
Written by the indexing model from the issue text.
Assessment
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100