Project

General

Profile

Design #1414

Make class RingElemVector?

Added by Anna Maria Bigatti about 4 years ago. Updated 1 day ago.

Status:
In Progress
Priority:
High
Assignee:
-
Category:
Data Structures
Target version:
Start date:
12 Feb 2020
Due date:
% Done:

20%

Estimated time:
Spent time:

Description

Should we implement a class for list/vector of RingElem, all guaranteed to be in hte same ring? (a bit like PPVector)
Nice thing would be that the empty list would know which ring it belongs to.
Think about it!


Related issues

Related to CoCoALib - Feature #1332: New function: vector of RingElem from string -- in CoCoALibClosed2019-10-08

Related to CoCoALib - Feature #357: Constructor for vectors? CoCoAVectorRejected2013-05-24

Related to CoCoALib - Feature #1347: New function: ctor of PPVector with vector<RingElem>Closed2019-10-21

Related to CoCoA-5 - Feature #1461: Automatic mapping for multiplication?Closed2020-06-10

Related to CoCoA-5 - Feature #7: Automatic mapping between (some) ringsResolved2011-10-20

Related to CoCoALib - Design #1649: Add file SparsePolyOps-vector.CClosed2022-01-21

History

#1 Updated by Anna Maria Bigatti about 4 years ago

  • Related to Feature #1332: New function: vector of RingElem from string -- in CoCoALib added

#2 Updated by Anna Maria Bigatti about 4 years ago

  • Related to Feature #357: Constructor for vectors? CoCoAVector added

#3 Updated by Anna Maria Bigatti about 4 years ago

  • Related to Feature #1347: New function: ctor of PPVector with vector<RingElem> added

#4 Updated by Anna Maria Bigatti about 4 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 10

I have a personal test implementation called ex-RingElemVector.C

#5 Updated by John Abbott almost 4 years ago

  • Related to Feature #1461: Automatic mapping for multiplication? added

#6 Updated by John Abbott almost 4 years ago

  • Related to Feature #7: Automatic mapping between (some) rings added

#7 Updated by John Abbott over 3 years ago

  • Priority changed from Normal to High
  • Target version changed from CoCoALib-0.99800 to CoCoALib-0.99850
  • % Done changed from 10 to 20

I am postponing, but also increasing priority.

I think this idea will be quite useful, but we need more time to think about it and make a good impl.
Ideally, next time Anna and I can meet somewhere (somewhen).

NOTE it might also be nice to have VectorVectorRingElem for creating matrices.

#8 Updated by John Abbott about 1 year ago

  • Target version changed from CoCoALib-0.99850 to CoCoALib-0.99880

#9 Updated by John Abbott about 1 month ago

  • Related to Design #1649: Add file SparsePolyOps-vector.C added

#10 Updated by John Abbott 1 day ago

Yes! We really should implement this, and preferably soon.
Maybe we can also include an auto conversion to vector<RingElem> which should help ensure compatibility: e.g. might be useful for printing?

Also available in: Atom PDF