Activity
From 15 Feb 2024 to 15 Mar 2024
15 Mar 2024
- 22:03 Design #1792: CpuTimeOut: arg of type ErrorContext?
- Analogous question for @InterruptReceived@?
Note that C++20 includes something quite similar to @ErrorContext@...
- 22:01 Design #1792 (New): CpuTimeOut: arg of type ErrorContext?
- Currently @CpuTimeOut@ expects a C-string nae of the fn.
Should it accept instead a @ErrorContext@? - 20:08 Bug #1726 (Resolved): Dangling references to temporaries
- Resolved, and checked in. But still need to so some cleaning... (sigh!)
- 19:25 Bug #1790 (Resolved): saturate with zero ideals
- The problem was that in @BuiltInFunctions-CoCoALib.C@ there was a call to @I->mySaturate(J)@ instead of @saturate(I,J...
- 18:33 Feature #743: Better errors: give supplementary info about the error
- Let's finish this for version 1.0
- 15:37 Bug #1789 (Resolved): GradingMat with negative weights should complain (or deal with them properly!!)
- Anna Maria Bigatti wrote:
> Added check in the definition of NewPolyRing(K, X, WeightsMat).
> Should I rename it Ne... - 15:02 Design #1326: Modify function myElim so that it returns ideal? (not quite)
- Anna Maria Bigatti wrote:
> elim of (I,X) or (X,I)?
comparison with other functions in CoCoA/CoCoALib: (I,X) s... - 14:54 Design #1326: Modify function myElim so that it returns ideal? (not quite)
- elim of (I,X) or (X,I)?
Pro for (I,X)
# respects the rule "more structured argument first"
# like Singular/Os... - 14:44 Design #1326: Modify function myElim so that it returns ideal? (not quite)
- Anna Maria Bigatti wrote:
> New question: @elim(I, X)@ (currently in CoCoALib) or @elim(X, I)@ (traditionally in ... - 14:24 Design #1326: Modify function myElim so that it returns ideal? (not quite)
- New question: @elim(I, X)@ (currently in CoCoALib) or @elim(X, I)@ (traditionally in CoCoA)?
They have to be sa... - 14:21 Design #1326 (Resolved): Modify function myElim so that it returns ideal? (not quite)
- As explained in #note-7, I didn't like the first approach.
So I changed the internal functions as @J->myAssignElim(I...
14 Mar 2024
- 20:46 Bug #1726: Dangling references to temporaries
- This is one of those mind-numbing tasks. I think I have made most of the changes, but there is still plenty of clean...
- 17:58 Design #1326: Modify function myElim so that it returns ideal? (not quite)
- I'm halfway through the process, but this is tricky.
[I think this is interesting, because it's the first try in cha... - 10:02 Design #1326: Modify function myElim so that it returns ideal? (not quite)
- It seems we agree on changing this interface, so I consider this approved.
I'll go on with this, so we can proceed a... - 12:04 Bug #1789: GradingMat with negative weights should complain (or deal with them properly!!)
- Added check in the definition of NewPolyRing(K, X, WeightsMat).
Should I rename it NewPolyRingWeights? (not yet do... - 10:12 Bug #1789: GradingMat with negative weights should complain (or deal with them properly!!)
- John Abbott wrote:
> [do we require the rows to be in lin indep?]
yes - 09:51 Bug #1789: GradingMat with negative weights should complain (or deal with them properly!!)
- John Abbott wrote:
> The documentation says that if the grading-dim is not specified then it is taken to be 0. Perh... - 11:29 Design #832: Generalize grading matrix
- John Abbott wrote:
> My current preference is to allow gradings with negative weights, and possibly linearly depende... - 09:24 Bug #1791 (Closed): Fix Google-search link in the html documentation
- Fixed path in published pages https://cocoa.dima.unige.it/cocoa/cocoalib/doc/html/
and in @CoCoALib-0.99/doc/aux-txt... - 09:22 Bug #1791 (Closed): Fix Google-search link in the html documentation
- I guess we just use "grep" to search in the documentation of CoCoALib, and we did not realize the Google search was b...
13 Mar 2024
- 21:19 Feature #575: Investigate using cmake for configuration
- This has been dormant for 7 years. Should we close/reject it?
- 21:16 Support #1761 (Closed): MakeTermOrdMat: improve error mesg
- 21:11 Design #832: Generalize grading matrix
- My current preference is to allow gradings with negative weights, and possibly linearly dependent weight matrices.
T... - 21:01 Bug #111 (Closed): Mod fn for computing remainder
- As far as I can tell we have had no problems with this over the last 10 years.
I have rectified the documentation (i... - 20:44 Bug #1790: saturate with zero ideals
- The code probably needs to be redesigned: we spoke about this last time, that ideals should not be modifiable, but th...
- 20:37 Bug #1790 (In Progress): saturate with zero ideals
- The relevant source code is in *@TmpGOperations.C@* near line 864.
One problem is that an empty @PolyList@ does know... - 19:27 Bug #1790: saturate with zero ideals
- It should be easy to fix these two cases. Are there any others involving the zero ideal?
Make several tests and adj... - 19:26 Bug #1790 (Closed): saturate with zero ideals
- The following two bugs were also present in Singular......
- 20:42 Feature #1559 (In Progress): Default ctor for rings
- I think Anna may be proposing to store in the cone object a @RingElem@ rather than a @ring@; you can always obtain th...
- 16:58 Feature #1559: Default ctor for rings
- Anna Maria Bigatti wrote:
> By Winfried Bruns:
> But how can I store RingElem in the cone? They must belong to a po... - 16:49 Feature #1559: Default ctor for rings
- By Winfried Bruns:
I have forgotten the context, but the following is a scenario that has really come up. Normaliz... - 18:25 Feature #379 (Closed): Iter for subsets/tuples
- Tested in ex-Taylor(2). Smooth.
I also added and example (2-subsets in {0,1,2,3}) in @ex-combinatoric1.C@
12 Mar 2024
- 20:39 Bug #1789 (In Progress): GradingMat with negative weights should complain (or deal with them properly!!)
- The documentation says that if the grading-dim is not specified then it is taken to be 0. Perhaps this is misleading...
- 12:19 Bug #1789: GradingMat with negative weights should complain (or deal with them properly!!)
- I investigated and found the confusion: in the lines...
- 08:23 Bug #1789 (Closed): GradingMat with negative weights should complain (or deal with them properly!!)
- ...
11 Mar 2024
- 11:12 Slug #1049: GroebnerFan: slow examples
- ...
- 10:48 Bug #1726: Dangling references to temporaries
- After discussing, we think my approach makes sense. So I must look at all messages in the patch.
- 09:39 Slug #1057: Slug: Polynomial ring contructor slow with (big) matrix ordering
- John Abbott wrote:
> *Here is a benchmark* (since there was none given earlier:
Much better now with @IsZeroDet@....
10 Mar 2024
- 15:49 Design #1787 (In Progress): Iterator design: compatible with C++STL? Advancing beyond end?
- Here is a list of the iterators in CoCoALib:
* *@combinatorics.C@* SubsetIter, TupleIter
* *@SparsePoly@* Sparse...
08 Mar 2024
- 20:48 Design #1511: Use C++14 constexpr
- I have done the tests and examples. There were a few cases where I chose to leave just *@const@* rather than replace...
- 20:24 Design #1511 (Feedback): Use C++14 constexpr
- I think I have done all instances in @src/AlgebraicCore@ and @src/CoCoA-5@. I suppose I'd better check examples & te...
- 18:22 Design #1750: IdealOfPoints: allow duplicate points?
- After on-line discussion... Anna suggests: (either-or)
* *(A)* make 2 fns: one which allows duplicate points, and ... - 18:09 Slug #1057: Slug: Polynomial ring contructor slow with (big) matrix ordering
- We now have a first impl of *@IsZeroDet@*. Hopefully this will help!
- 18:00 Feature #1132: Canonical homomorphism for (some) polynomial rings?
- Another convenient homomorphism would be a "BringIn-like" homomorphism (keeping the names of the indets: e.g. x maps ...
- 17:50 Slug #1394: Oddly slow GBasis computation (slow final cleanup)
- *AnnA* will look at this!
- 17:45 Design #1085: Fns with "OUT" args: should they give ERR::MixedRings?
- Verbal discussion: do not give *@MixedRings@* error. So that the two code excerpts in comment 1 are equivalent.
JAA... - 17:34 Feature #379: Iter for subsets/tuples
- John Abbott wrote:
> *ANNA* have you tested this?
I need to find where I wanted to use them: search in examples ... - 17:20 Feature #202 (Closed): MatrixView/function for viewing a single row or column (RowMat, ColMat)
- 09:11 Feature #202 (Feedback): MatrixView/function for viewing a single row or column (RowMat, ColMat)
- I found a good use in ex-IdealOfPoints1.C.
The comparison in readability between before and after is indeed quite st... - 09:04 Feature #202 (Resolved): MatrixView/function for viewing a single row or column (RowMat, ColMat)
- John Abbott wrote:
> I have just checked the code: it is in @MatrixView@ (as one would expect).
>
> I am not so h... - 17:17 Design #64 (Closed): submat takes only vector<long>
- 17:13 Design #64: submat takes only vector<long>
- This issue, as described, was rejected by answer 2 (#64#note-2).
For the other questions mentioned here, we have fol... - 10:02 Design #64 (Resolved): submat takes only vector<long>
- I went through all the calls of submat in CoCoALib and indeed most of them are just the first rows.
We could have an... - 17:08 Bug #1749 (Feedback): Configuration hiccups on Mac M1
- Verified that CoCoA-5 also build OK on Mac M1.
--> feedback - 17:08 Feature #1788: New MatrixView/function "FirstRows/FirstCols"?
- After personal discussion, we agreed on new function (until we believe a new class would be considerably better)
- 10:11 Feature #1788 (Closed): New MatrixView/function "FirstRows/FirstCols"?
- I went through all the calls of submat in CoCoALib (not so many) and indeed most of them just select the *first rows*...
- 14:34 Design #908 (Closed): Sum of ideals: what are the generators of (x) + (0)?
- Closing because duplicated into #1647
- 08:29 Feature #1748: July 2023
- John Abbott wrote:
> Here is a list of topics we should look at:
> * fix configuration on Mac M1/M2
I think onl...
07 Mar 2024
- 21:39 Design #908: Sum of ideals: what are the generators of (x) + (0)?
- Fully resolved now? Close?
- 21:18 Bug #1726: Dangling references to temporaries
- Maybe I have understood what is upsetting the compiler.
The variable @P@ is a @ring&@, but @CoeffRing@ expects an ar... - 20:49 Design #1166 (Closed): C++11: allows large integer literals (in NumTheory-prime.C)
- Some time ago we adopted the C++14 standard. Sooner or later we shall jump to C++20 ???
The affected functions are ... - 20:35 Feature #1559: Default ctor for rings
- It is not completely clear to me what is desired. Winfried, can you clarify? Maybe give an example?
Were you able ... - 20:31 Design #1735 (Rejected): PushFront/PushBack without checks?
- Even the documentation mentioned about @myPushFront@ _etc_. I have slightly improved the doc.
Otherwise we can reje... - 20:20 Feature #1770 (Feedback): Evaluate polynomial function/class
- The new code is in *@SparsePolyOps-eval@*
The current impl is rather restricted: the polynomial has to be over @ZZ... - 20:10 Design #1753 (Closed): Clean up EulerTotient, InvTotient jungle in NumTheory-misc
- The header & source files look to be acceptably neat & tidy. So closing.
- 20:06 Design #1753: Clean up EulerTotient, InvTotient jungle in NumTheory-misc
- The relevant files are *@NumTheory-misc@*.
Tests are in *@test-NumTheory1,C@*. - 20:01 Feature #839 (In Progress): SparsePolyIter: make more compatible with STL
- In comment 5 above, the disadvantage that an iterator could be invalidated by a structure-changing operation to the p...
- 19:51 Design #1787: Iterator design: compatible with C++STL? Advancing beyond end?
- I think it would be nice to be able to use CoCoALib iterators with the "new" @for@ loop syntax. I note also that C++...
- 19:40 Design #1787 (In Progress): Iterator design: compatible with C++STL? Advancing beyond end?
- Two (unrelated) matters regarding iterators in CoCoALib:
# if we make them compatible with STL iterators then we can... - 19:26 Feature #379: Iter for subsets/tuples
- *ANNA* have you tested this?
01 Mar 2024
- 18:40 Slug #1569 (Closed): IsInRadical too slow (test-RadicalMembership)
- 18:38 Slug #1569: IsInRadical too slow (test-RadicalMembership)
- Anna Maria Bigatti wrote:
> Implement special version for monomial ideals
Moved to issue #1786 - 17:12 Slug #1569: IsInRadical too slow (test-RadicalMembership)
- Anna Maria Bigatti wrote:
> There is a slow test in test-RadicalMembership1 which is slower than the others and ver... - 09:44 Slug #1569: IsInRadical too slow (test-RadicalMembership)
- There is a slow test in test-RadicalMembership1 which is slower than the others and very slow with debugging on (20m...
- 18:37 Feature #1786 (New): Add new function for IsInRadical for monomial ideals? (RadicalMembership)
- A monomial version could be quite a bit faster than the general code.
But is this really needed?
Consider calling @... - 14:57 Slug #1739 (Closed): IsHomog for ideals
- 14:48 Slug #1739: IsHomog for ideals
- John Abbott wrote:
> Could it be useful to have also *@IsHomog3(I)@* which returns a @bool3@?
it could be handy t... - 14:37 Slug #1739: IsHomog for ideals
- Anna Maria Bigatti wrote:
> check if there is a "homog" flag to be set
The answer is "no" (#1784). - 14:53 Feature #1785: Add function IsHomog3(I)?
- See implementation of @IsHomog(I)@ in @SparsePolyOps-ideal.C@ (and #1739)
- 14:51 Feature #1785 (New): Add function IsHomog3(I)?
- Should we have a "quick" bool3 function (i.e. might return @uncertain@) saying if an ideal is homogeneous?
Useful? - 14:36 Feature #1784 (New): Add flag IhaveHomogGensValue for ideals in SparsePolyRing?
- We already have...
- 09:44 Support #1782: Make CoCoALib test file for radical
- Can we (= Anna) do this quickly ready for next interim release?
29 Feb 2024
- 15:33 Bug #1749 (Resolved): Configuration hiccups on Mac M1
- CoCoALib now seems to compile without too many hiccups... Will check in shortly.
Not yet tried CoCoA-5
28 Feb 2024
- 21:32 Bug #1749: Configuration hiccups on Mac M1
- Aha! The examples with @wrong output@ are *all examples* which are expected to produce output.
There are two like... - 20:36 Bug #1749 (In Progress): Configuration hiccups on Mac M1
- I have now changed all messages in the checking scripts so that they specify the full path when referring to @LogFile...
- 19:59 Bug #1749: Configuration hiccups on Mac M1
- I'm hoping to sort this out soon... ideally by tomorrow (ha ha!). It seems I've forgotten username/password (sigh). ...
24 Feb 2024
- 18:34 Design #1783: Code & doc structure: one-big-file or many-small-files?
- A brief phone discussion with Anna yesterday suggested a vague preference for many-small-files.
But no genuine reaso... - 18:33 Design #1783 (In Progress): Code & doc structure: one-big-file or many-small-files?
- Thoughts about one-big-file vs many-small-files:
For source code:
* ASSUME many-small-files means many header fil... - 18:32 Design #1783 (In Progress): Code & doc structure: one-big-file or many-small-files?
- I'd like to discuss briefly the pros & cons of many-small-files and one-big-file. Currently the CoCoALib code is a m...
23 Feb 2024
- 12:39 Bug #1579 (Closed): Readexpr/RingElem: unhelpful error message when input is wrong
- Anna Maria Bigatti wrote:
> Still to do: check other cases.
I cannot remember what I meant.
Now seems pretty goo... - 12:29 Slug #1569: IsInRadical too slow (test-RadicalMembership)
- Implement special version for monomial ideals
- 12:28 Slug #1569: IsInRadical too slow (test-RadicalMembership)
- Anna Maria Bigatti wrote:
> there is a new problem (in test-exbugs.C).
> [...]
Fixed, it was an "off-by-one" err... - 12:27 Slug #1569: IsInRadical too slow (test-RadicalMembership)
- there is a new problem (in test-exbugs.C)....
- 12:28 Bug #1779 (Closed): Radical error with lex (again)
- 11:41 Bug #1779: Radical error with lex (again)
- I made a new issue for implementing and running the tests.
Closing this one ... hoping non errors will come from the... - 12:07 Feature #379: Iter for subsets/tuples
- *ANNA* will test this over the next week :-)
- 11:39 Support #1782 (New): Make CoCoALib test file for radical
- There is a file with some CoCoALib tests for radical in a funny format.
Clean it up. - 11:38 Slug #1754 (Closed): IsSqFree poorly implemented
- 11:34 Support #1265 (Closed): Unregistered TXT files in doc
19 Feb 2024
- 21:28 Bug #1661: Microsoft: cannot compile with signal handling
- Winfried sent me the following message by email:...
16 Feb 2024
- 21:31 Feature #1513: Better test for univariate-ness (and better conversion)
- Assuming we do implement this, what should its UI be?
Do we already have a function which converts from @SparsePolyR... - 21:22 Design #1735 (In Progress): PushFront/PushBack without checks?
- I have just tried disabling the checks inside *@PushFront@* and *@PushBack@*. There was no difference when calling @...
- 10:23 Design #1735: PushFront/PushBack without checks?
- Surely worth a try.
@PushFront_nocheck@?
I could imagine cases when this might be used (homomorphisms preserving or... - 10:00 Design #1735: PushFront/PushBack without checks?
- As I stated in the comment just above: I should test whether a non-checking impl would really make it faster. Maybe ...
- 21:05 Bug #1661 (In Progress): Microsoft: cannot compile with signal handling
- Ah, thanks for making me aware of this issue. Actually, recently I put my instructions online for exactly that.
I ha... - 20:54 Bug #1661: Microsoft: cannot compile with signal handling
- I have added Nico Mexis as a watcher. He has successfully built CoCoA-5 for Microsoft, so may have some useful insig...
- 20:53 Feature #1670: Build also dynamic/shared library for CoCoALib?
- Here are some posibly useful links: (I searched for *@libtool tutorial@*
* @https://stackoverflow.com/questions/446... - 20:47 Slug #1569: IsInRadical too slow (test-RadicalMembership)
- I have confirmed that Anna's 0-dim check makes it much faster. I have added a link to issue #1103 which is about pse...
- 16:06 Slug #1569: IsInRadical too slow (test-RadicalMembership)
- John Abbott wrote:
> As far as I can see *@MinPowerInIdeal@* is already implemented, using the method Anna described... - 20:44 Design #1642 (In Progress): interreduce: make monic if over finite field?
- I have made a first impl. Anna is sceptical, partly because the code behaves differently depending on the coefficien...
- 17:02 Design #1642: interreduce: make monic if over finite field?
- The source code seems to be in *@SparsePolyOps-vector.C@* around line 32.
- 10:19 Design #1642: interreduce: make monic if over finite field?
- John Abbott wrote:
> Would we also want to have @interreduced@ work when the coeff ring is @ZZ@?
Not until someon... - 09:42 Design #1642: interreduce: make monic if over finite field?
- Would we also want to have @interreduced@ work when the coeff ring is @ZZ@?
If so, we need to think about the semant... - 18:19 Design #849 (In Progress): Cleanup MinPoly code
- In 8 years we have never really needed the proposed new API, so we may as well *reject* this issue (as Anna suggested...
- 18:05 Feature #813: Implement "elim" in CoCoALib
- The syntax should be compatible with whatever we use for @ElimMat@, I presume.
Well, there is an important differenc... - 18:00 Feature #1763 (Rejected): implement ideal(R) for zero ideal, with no generators?
- No longer needed because @ideal(zero(R))@ now gives ideal in R with no generators.
- 17:51 Slug #1739 (Resolved): IsHomog for ideals
- check if there is a "homog" flag to be set
- 17:41 Feature #645 (Rejected): Automatic mapping of RingElem: user selectable at run-time (GlobalManager?)
- We have auto mapping in many places without any real problems.
If the user disables auto mapping then this may cause... - 17:30 Slug #1394: Oddly slow GBasis computation (slow final cleanup)
- Try...
- 09:55 Feature #1472: Idea for for loops
- While it can be difficult to say much positive about Julia, it does offer a convenient way of using "iterators" (and ...
- 09:46 Bug #1575: DynamicBitset missing arg checks
- There are a few functions whose name has a suffix like *@_NoArgChecks@*.
OK, a quick grep produces just one such pub... - 09:33 Support #1672: Documentation: a good model to follow?
- Here is a list of features it would be nice to offer in the CoCoALib documentation:
* cross-references (xrefs)
* sm... - 09:24 Feature #1748: July 2023
- What is the status of this issue? How much did we achieve?
15 Feb 2024
- 22:35 Slug #1569: IsInRadical too slow (test-RadicalMembership)
- As far as I can see *@MinPowerInIdeal@* is already implemented, using the method Anna described above.
See near line... - 16:41 Slug #1569: IsInRadical too slow (test-RadicalMembership)
- John Abbott wrote:
> The "stupid approach" gets the answer in 10s (on my Linux laptop).
Even faster like this.
<... - 15:32 Design #1647: Suppress zero from ideal generators? Detect 1 and simplify generators?
- Fixed the sum I + ideal(1)
Added check also for I + ideal(x, x-1) (when ideal @HasGBasis@)...
Also available in: Atom