Feature #431
NewPolyRing_DMPI has no constructor with a predefined PPM
Description
We would like to do
SparsePolyRing RQQ = NewPolyRing_DMPI(RingQQ(),dim+1,lex); SparsePolyRing RZZ = NewPolyRing_DMPI(RingZZ(),PPM(RQQ)); // same indets and ordering as R
It is possible without the _DMPI. In this case a check is needed if the PPM is a valid PPM for an DMPI ring.
Related issues
History
#1 Updated by Christof Soeger about 10 years ago
- Status changed from New to In Progress
- % Done changed from 0 to 70
John implemented it. Works for me.
#2 Updated by John Abbott about 10 years ago
- Category set to New Function
- Status changed from In Progress to Resolved
- Assignee set to John Abbott
- % Done changed from 70 to 80
Wow I wrote something that actually works?? :-)
Bonus extra 10% for this issue :-)
Now I'll have to write a test, an example and some documentation... sigh!
#3 Updated by Anna Maria Bigatti almost 10 years ago
- Target version set to CoCoALib-0.99533 Easter14
#4 Updated by John Abbott almost 10 years ago
JAA noticed that ex-PolyRing1.C
is too long & complicated; split it into two (one about ctors, the other about doing computations inside a poly ring). Add examples using NewPolyRing_DMPI
to the ctor example!
#5 Updated by Anna Maria Bigatti almost 10 years ago
- Subject changed from NewPolyRing_DMPI has no constructur with a predefined PPM to NewPolyRing_DMPI has no constructor with a predefined PPM
- Estimated time set to 2.00 h
#6 Updated by Anna Maria Bigatti almost 10 years ago
JAA noticed that ex-PolyRing1.C is too long & complicated; split it into two (one about ctors, the other about doing computations inside a poly ring). Add examples using NewPolyRing_DMPI to the ctor example!
Simplified ex-PolyRing1.C.
Added example (ex-PolyRing4.C)
#7 Updated by Anna Maria Bigatti almost 10 years ago
- Status changed from Resolved to Feedback
- % Done changed from 80 to 90
#8 Updated by John Abbott almost 10 years ago
- Status changed from Feedback to Closed
- % Done changed from 90 to 100