Feature #310
ordering and grading (weights) matrix
Description
We should have a function for accessing the matrix and the grading/weights matrix of a PPOrdering.
Now we have GetMatrix (I wrote it in 2004) but I do not like that name for many reasons: OrderingMat?
And the other? WeightMat? GradingMat?
2014-07 Choice was made: OrdMat and GradingMat
As PPOrdering is implemented now, these functions would be forced to make a new matrix (because some orderings do not have a matrix to reference).
We could store a MatrixView in all PPOrderings, but I think this is not a problem.
2014-07 this moved to a specific issue #602
Related issues
History
#1 Updated by Anna Maria Bigatti over 10 years ago
- Target version changed from CoCoALib-0.9953 to CoCoALib-0.99532
#2 Updated by Anna Maria Bigatti about 10 years ago
- Target version changed from CoCoALib-0.99532 to CoCoALib-0.99533 Easter14
#3 Updated by John Abbott about 10 years ago
- Target version changed from CoCoALib-0.99533 Easter14 to CoCoALib-0.99534 Seoul14
#4 Updated by John Abbott over 9 years ago
- Status changed from New to In Progress
- Assignee set to John Abbott
- % Done changed from 0 to 20
- Estimated time set to 5.30 h
We have chosen the name OrdMat
(and mem fn called myOrdMatCopy
). Also added this fn for PPMonoid
and SparsePolyRing
-- trivial one line defns.
- is this fn actually useful? Maybe
GradingMat
is more useful? (check where/howOrdMat
is used!) - we are considering putting a
ConstMatrixView
into everyPPOrdering
so this fn could simply return a reference to that (rather than make a dense copy)
Note: GradingMat
can easily be simulated by submat(OrdMat(...),...)
but you cannot get OrdMat
from GradingMat
.
#5 Updated by John Abbott over 9 years ago
- Target version changed from CoCoALib-0.99534 Seoul14 to CoCoALib-1.0
Postponing to after Seoul as there are some unresolved aspects.
#6 Updated by Anna Maria Bigatti over 9 years ago
- Status changed from In Progress to Resolved
- Assignee deleted (
John Abbott) - Target version changed from CoCoALib-1.0 to CoCoALib-0.99534 Seoul14
- % Done changed from 20 to 70
Renaming done: OrdMat, GradingMat (2014-07)
Moving the MatrixView proposal into another issue
#7 Updated by Anna Maria Bigatti over 9 years ago
- Status changed from Resolved to Closed
- Assignee set to Anna Maria Bigatti
- % Done changed from 70 to 100