Design #1767
Finalize design for ideals in CoCoALib
Description
Some functions for ideals are internally implemented changing the given ideal and returning void: myAdd
, myMul
, myElim
, ...
For these functions I think we should instead have 2 arguments and return an ideal.
I cannot imagine (but I might be wrong) a case in which we actually want to modify the ideal and destroy the original.
Related issues
History
#1 Updated by Anna Maria Bigatti 6 months ago
- Related to Design #871: Redesign ideals added
#2 Updated by John Abbott 4 months ago
Also for exception cleanliness, an operation such as I += J
would almost certainly have to compute a temporary ideal containing I+J
, and then if that succeeds, swap it into the correct place. This means that there no benefit in offering a low-level implementation for +=
.
Can we change the implementation quickly & easily?
#3 Updated by John Abbott 3 months ago
- Target version changed from CoCoALib-0.99800 to CoCoALib-0.99850
#4 Updated by John Abbott about 2 months ago
- Target version changed from CoCoALib-0.99850 to CoCoALib-0.99900
#5 Updated by Anna Maria Bigatti about 1 month ago
- Related to Design #1326: Modify function myElim so that it returns ideal? (not quite) added