Project

General

Profile

Activity

From 21 Feb 2024 to 21 Mar 2024

21 Mar 2024

20:40 CoCoALib Slug #1756: deg(f) is slow if f is long
My previous comment just above is correct, but we can sometimes do better.
I think we need to consider just the "low...
John Abbott
20:31 CoCoALib Bug #1749 (Closed): Configuration hiccups on Mac M1
John Abbott
20:29 CoCoALib Design #1085 (Closed): Fns with "OUT" args: should they give ERR::MixedRings?
I'm too lazy to track down all the functions which ought to be tested, and then to write the corresponding tests.
So...
John Abbott
20:24 CoCoALib Design #1606 (Closed): Return type with const
John Abbott
20:18 CoCoALib Bug #1641 (Closed): gcd does not recognize univariate input
I have added some new tests to @test-SparsePolyRing1.C@.
I conform that Anna's example from comment 11 does seems to...
John Abbott
12:02 CoCoALib Bug #1641: gcd does not recognize univariate input
The problem for multivariate syz with many indets (from note-8 on) seems to be considered in #1057 and #1068, so I wo... Anna Maria Bigatti
11:31 CoCoALib Bug #1641: gcd does not recognize univariate input
It seems it's the "high number of variables" problem, and syz itself is quite fast: this examples takes ~4s on my com... Anna Maria Bigatti
10:25 CoCoALib Bug #1641: gcd does not recognize univariate input
Ah yes, I do have debugging on.
Do you get a measurable time difference if the ring contains just 3 indets or if it ...
John Abbott
10:01 CoCoALib Bug #1641: gcd does not recognize univariate input
John Abbott wrote:
> The new code seems to work now, and is faster if the polys are recognized as univariate.
>
>...
Anna Maria Bigatti
18:02 CoCoALib Slug #967: Improve saturate
I also added the factorization in the case of a monomial (similar test as in #967-5, now in test0saturate.cocoa5).
...
Anna Maria Bigatti
17:56 CoCoALib Bug #1790 (Closed): saturate with zero ideals
Anna Maria Bigatti
13:27 CoCoALib Bug #1790: saturate with zero ideals
John Abbott wrote:
> The problem was that in @BuiltInFunctions-CoCoALib.C@ there was a call to @I->mySaturate(J)@ in...
Anna Maria Bigatti
17:55 CoCoALib Feature #1619: Make saturate available in CoCoALib
added CoCoA-5 test-saturate.cocoa5 Anna Maria Bigatti
17:54 CoCoALib Feature #1619: Make saturate available in CoCoALib
John Abbott wrote:
> Maybe different types:
> * monomial
> * principal
> * univariate
> * general
also homog
Anna Maria Bigatti
11:55 CoCoA-5 Slug #1068: PolyRing constructor: NewOrdvArith computed twice
I added some verbosity... Anna Maria Bigatti
09:39 CoCoA-5 Bug #1794: Strange bug: demo-Osaka2015
John Abbott wrote:
> The cause is not too surprising: @demo-Osaka2015.cocoa5@ uses a random example (on line 72).
>...
Anna Maria Bigatti

20 Mar 2024

22:41 CoCoA-5 Bug #1794 (In Progress): Strange bug: demo-Osaka2015
The cause is not too surprising: @demo-Osaka2015.cocoa5@ uses a random example (on line 72).
Evidently, with debuggi...
John Abbott
22:03 CoCoALib Bug #1641 (Resolved): gcd does not recognize univariate input
The new code seems to work now, and is faster if the polys are recognized as univariate.
What I do not understand ...
John Abbott
16:48 CoCoALib Design #1647: Suppress zero from ideal generators? Detect 1 and simplify generators?
This is all done (I believe) for ideals in SparsePolyRing.
Do it also for ideals in other rings (should we have anot...
Anna Maria Bigatti
15:53 CoCoALib Feature #1788 (Closed): New MatrixView/function "FirstRows/FirstCols"?
Added documentation for CoCoALib/5. Anna Maria Bigatti
15:26 CoCoALib Feature #1788 (Feedback): New MatrixView/function "FirstRows/FirstCols"?
I liked this too much and I did it.
Called in some lib/5 tests, called by GradingMat.
Easy enough. should not need...
Anna Maria Bigatti

19 Mar 2024

22:21 CoCoA-5 Support #629: Windows-GUI: compilation with MinGW
I know it has been quite some time, but I have made some progress on this: Even the GUI works for me!
However, there...
Nico Mexis
22:10 CoCoALib Bug #1641: gcd does not recognize univariate input
Made some progress. This is more tedious than I thought... the doc for CoCoALib could be better... (and the design t... John Abbott
20:18 CoCoALib Bug #1641: gcd does not recognize univariate input
The problem code is in @SparsePolyOps-RingElem.C@ around line 718 (search for @SyzOfGens@ or maybe just @syz@).
I...
John Abbott
20:05 CoCoA-5 Support #1759: Better error mesg for 1.2.3.4?
The relevant source code is probably in @Parser.C@ near line 1924 inside the function @parseSelectors@ right after @c... John Abbott

18 Mar 2024

21:48 CoCoALib Bug #1726: Dangling references to temporaries
*Hi Jerry James*
Could I send you a TGZ of the latest sources, so that you can try compiling, and see whether there ...
John Abbott
21:45 CoCoALib Support #942: Which names to use? Intersection/saturation vs intersect/saturate
*@sat@* is perhaps too short, and may be ambiguous with the *@SAT@* (satisfiability) family of functions.
I'm undeci...
John Abbott
18:44 CoCoALib Support #942: Which names to use? Intersection/saturation vs intersect/saturate
[Conversation with Robbiano]
XXXX-ation gives a commutative feeling, XXXX-ate gives and action (non-commutative) fee...
Anna Maria Bigatti
18:35 CoCoALib Support #942 (In Progress): Which names to use? Intersection/saturation vs intersect/saturate
Also *@IntersectionList@*
John Abbott
14:10 CoCoALib Support #942: Which names to use? Intersection/saturation vs intersect/saturate
In CoCoA-4 we had intersection and saturation. Now we have a mixture...
Singular and Macaulay use *@intersect@* a...
Anna Maria Bigatti
21:39 CoCoA-5 Feature #823: NewPolyRing with weights -- better interface?
I did slightly prefer the name I suggested in note 7 (but it is longer).
Anyway, this is a good improvement to the i...
John Abbott
17:02 CoCoA-5 Feature #823: NewPolyRing with weights -- better interface?
Added example in ex-PolyRing2.C Anna Maria Bigatti
16:17 CoCoA-5 Feature #823 (Closed): NewPolyRing with weights -- better interface?
Anna Maria Bigatti
21:31 CoCoALib Bug #1740: MinGens gives non minimal gens *if some deg=0*
Perhaps *@ERR::NYI@* ?
John Abbott
09:51 CoCoALib Bug #1740: MinGens gives non minimal gens *if some deg=0*
For the time being: should we give error? (as if non-homogeneous?) Anna Maria Bigatti
21:27 CoCoA-5 Feature #1583: New fn ElapsedTimeFrom?
I'm tempted to *reject* this. Yes, there is the risk mentioned in the description, but it is not so serious -- if ne... John Abbott
21:20 CoCoA-5 Support #1603: Unhelpful behaviour in "compatibility mode": double error mesg
I'm very tempted to mark this one *won't fix*.
It would likely be a lot of work modifying the parser/interpreter, an...
John Abbott
21:14 CoCoA-5 Support #1650 (In Progress): Potentially confusing prompt: waiting for semicolon
Since some languages (such as Julia) do not require semicolons to end the command while CoCoA does, perhaps the a com... John Abbott
21:05 CoCoA-5 Feature #1701: Preliminary packages
We can put a page for preliminary packages in the main manual. It should either contain a list of the packages (and ... John Abbott
20:59 CoCoA-5 Design #1709 (In Progress): Test tut-CoCoLA2
Maybe we can change the relevant line(s) to something like:... John Abbott
20:51 CoCoA-5 Bug #1795 (Feedback): Makefile problem: needlessly relinks CoCoAInterpreter
John Abbott
20:49 CoCoALib Slug #1756: deg(f) is slow if f is long
If the grading is positive and over ZZ^1 then we use the following general cut-off so that we do not need to scan the... John Abbott
20:29 CoCoALib Design #1606 (Feedback): Return type with const
This was mostly done anyway. I changed some things in the involutive code (without really understanding it).
I ha...
John Abbott
09:51 CoCoALib Design #1606: Return type with const
John will investigate this, and hopefully close it.
John Abbott
18:39 CoCoALib Feature #1797: Add a function CleanupGens making some easy cleaning on the generators?
In principle we could make 2 such functions: one faster, and one more thorough.
But is it worth it? KISS?
John Abbott
16:09 CoCoALib Feature #1797 (New): Add a function CleanupGens making some easy cleaning on the generators?
In #1645#note-28 there is a list of easy checks one might want to do on a given set of polynomial generators.
See al...
Anna Maria Bigatti
16:15 CoCoALib Bug #1789 (Closed): GradingMat with negative weights should complain (or deal with them properly!!)
Anna Maria Bigatti
16:10 CoCoALib Design #1647: Suppress zero from ideal generators? Detect 1 and simplify generators?
List in #1647-9
Anna Maria Bigatti wrote:
> Add a function @CleanupGens@ making some more easy checks?
Moved i...
Anna Maria Bigatti
16:03 CoCoALib Design #1326 (Closed): Modify function myElim so that it returns ideal? (not quite)
Anna Maria Bigatti
15:58 CoCoALib Feature #813 (Feedback): Implement "elim" in CoCoALib
I activated a test (slightly simplified test7 in test-GOperation1.C).
Anna Maria Bigatti
15:22 CoCoALib Feature #813: Implement "elim" in CoCoALib
See #1326#note-10 for discussion about elim(I,X) vs elim(X,I).
Apart from this, we should only add some tests in CoC...
Anna Maria Bigatti
13:54 CoCoALib Slug #1796 (New): myFinalizeGBasis ("Final clean up") should be more flexible
We have noticed that sometimes (with SetVerbosityLevel(100)) the time spent in "Final clean up" is quite long.
The c...
Anna Maria Bigatti
09:45 CoCoALib Support #1510: Documentation for SparsePolyOps?
The SparsePolyOps files are quite focused on a specific topic.
Doc would be easier to maintain if kepts separately.
...
Anna Maria Bigatti
09:35 CoCoALib Support #1510: Documentation for SparsePolyOps?
See #1783-2 : one doc file for each topic/file Anna Maria Bigatti
09:23 CoCoALib Feature #1619: Make saturate available in CoCoALib
Maybe different types:
* monomial
* principal
* univariate
* general
John Abbott

17 Mar 2024

19:17 CoCoALib Bug #1662: txt2tags: problem with filenames containing "_" or "-"
I have just tested with txt2tags v3 (commit bc7f2c43f1a59ea96f37c77b63c4b44fe51e1b08) and it works perfectly fine on ... Nico Mexis
10:53 CoCoALib Bug #1662: txt2tags: problem with filenames containing "_" or "-"
We must also explain what the solution is in the documentation (and perhaps also error messages?).
John Abbott
10:59 CoCoA-5 Bug #1795 (In Progress): Makefile problem: needlessly relinks CoCoAInterpreter
I think I have corrected the error. Must do more checking.
John Abbott

16 Mar 2024

23:46 CoCoALib Bug #1662: txt2tags: problem with filenames containing "_" or "-"
Sorry, seems like I forgot to respond back then.
I am using the **latest** v2.7-dev.
It is important that it is the...
Nico Mexis
21:28 CoCoALib Bug #1662: txt2tags: problem with filenames containing "_" or "-"
Let's try to download the new txt2tags, and test it.
*Nico* which version should we obtain?
*Anna* how do we test i...
John Abbott
21:55 CoCoALib Design #1511 (Closed): Use C++14 constexpr
John Abbott
21:54 CoCoALib Bug #1749: Configuration hiccups on Mac M1
Failed to verify on Anna's old intel MacBook: compiler gave an error about @ptrdiff_t@ in some system header (sigh)
...
John Abbott
21:52 CoCoALib Feature #1770 (Closed): Evaluate polynomial function/class
John Abbott
21:51 CoCoALib Feature #206: Matrix equation solving: LinKer
Why such a long discussion and no resolution?
Can we finish this quickly? Or should we postpone?
John Abbott
21:47 CoCoALib Feature #1619 (In Progress): Make saturate available in CoCoALib
I have added @saturate@ to the relevant header file. And also a test for #1790.
Added some doc. Do we need tests? ...
John Abbott
21:44 CoCoALib Bug #1641: gcd does not recognize univariate input
This may well be length to resolve properly, but I really should look at it soon.
John Abbott
21:42 CoCoALib Feature #1417: RadicalZeroDim with extra parameter for GBasis timeout
I am currently unsure how useful it would be to let the caller choose a time-out in seconds.
It may be simpler to of...
John Abbott
21:38 CoCoALib Design #894: strict enum types: C++11 extension
I wonder whether it might not be better to wait until we switch to the C++20 standard, and so can use *@using ENUM@*.... John Abbott
21:24 CoCoALib Slug #967: Improve saturate
I have just tried the example from #note-5, and it took just less than 1s on my computer (with v0.99823).
I have inc...
John Abbott
21:20 CoCoALib Design #1085 (Feedback): Fns with "OUT" args: should they give ERR::MixedRings?
This seems to have been done already, at least mostly. So it has morally been in feedback for several month, at leas... John Abbott
14:11 CoCoA-5 Bug #1795: Makefile problem: needlessly relinks CoCoAInterpreter
I vaguely recall Anna asking for an improvement to the @Makefile@ structure; I do not really recall why.
I also reca...
John Abbott
14:07 CoCoA-5 Bug #1795 (Feedback): Makefile problem: needlessly relinks CoCoAInterpreter
Assuming that @CoCoAInterpreter@ is already compiled (and up-to-date).
Running @make check@ in directory @src/CoCoA-...
John Abbott
12:16 CoCoA-5 Bug #1794: Strange bug: demo-Osaka2015
My @g++@ reports version info @gcc version 11.4.0 (Ubuntu 11.4.0-1ubuntu1~22.04)@
My clang reports version info @Ubu...
John Abbott
12:13 CoCoA-5 Bug #1794 (Resolved): Strange bug: demo-Osaka2015
I observe differing output with the test @demo-Osaka2015@ when compiled using @clang@ and with debugging active.
The...
John Abbott
11:11 CoCoALib Feature #1793 (In Progress): Use ErrorContext instead of string FnName
While resolving issue #1726 I needed to call some arg-check functions specifying where in the source the arg-check wa... John Abbott
11:06 CoCoALib Feature #1793 (In Progress): Use ErrorContext instead of string FnName
There is now a class *@ErrorContext@* and macro @CoCoA_ERROR_CONTEXT@ for recording:
* function name
* file name
*...
John Abbott

15 Mar 2024

22:03 CoCoALib Design #1792: CpuTimeOut: arg of type ErrorContext?
Analogous question for @InterruptReceived@?
Note that C++20 includes something quite similar to @ErrorContext@...
John Abbott
22:01 CoCoALib Design #1792 (New): CpuTimeOut: arg of type ErrorContext?
Currently @CpuTimeOut@ expects a C-string nae of the fn.
Should it accept instead a @ErrorContext@?
John Abbott
20:08 CoCoALib Bug #1726 (Resolved): Dangling references to temporaries
Resolved, and checked in. But still need to so some cleaning... (sigh!)
John Abbott
19:25 CoCoALib 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... John Abbott
18:33 CoCoALib Feature #743: Better errors: give supplementary info about the error
Let's finish this for version 1.0
John Abbott
18:24 CoCoA-5 Design #1456: IntersectList or IntersectionList
Think also about the names saturate/saturation, intersect/intersection.
Anna Maria Bigatti
15:40 CoCoA-5 Feature #823: NewPolyRing with weights -- better interface?
See #1789-10 Anna Maria Bigatti
15:37 CoCoALib 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...
Anna Maria Bigatti
15:02 CoCoALib 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...
Anna Maria Bigatti
14:54 CoCoALib 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...
Anna Maria Bigatti
14:44 CoCoALib 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 ...
Anna Maria Bigatti
14:24 CoCoALib 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...
Anna Maria Bigatti
14:21 CoCoALib 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...
Anna Maria Bigatti

14 Mar 2024

20:46 CoCoALib 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... John Abbott
17:58 CoCoALib 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...
Anna Maria Bigatti
10:02 CoCoALib 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...
Anna Maria Bigatti
12:04 CoCoALib 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...
Anna Maria Bigatti
10:12 CoCoALib 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
Anna Maria Bigatti
09:51 CoCoALib 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...
Anna Maria Bigatti
11:29 CoCoALib Design #832: Generalize grading matrix
John Abbott wrote:
> My current preference is to allow gradings with negative weights, and possibly linearly depende...
Anna Maria Bigatti
09:24 CoCoALib 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...
Anna Maria Bigatti
09:22 CoCoALib 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... Anna Maria Bigatti

13 Mar 2024

21:19 CoCoALib Feature #575: Investigate using cmake for configuration
This has been dormant for 7 years. Should we close/reject it?
John Abbott
21:16 CoCoALib Support #1761 (Closed): MakeTermOrdMat: improve error mesg
John Abbott
21:11 CoCoALib Design #832: Generalize grading matrix
My current preference is to allow gradings with negative weights, and possibly linearly dependent weight matrices.
T...
John Abbott
21:01 CoCoALib 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...
John Abbott
20:44 CoCoALib 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... John Abbott
20:37 CoCoALib 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...
John Abbott
19:27 CoCoALib 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...
John Abbott
19:26 CoCoALib Bug #1790 (Closed): saturate with zero ideals
The following two bugs were also present in Singular...... John Abbott
20:42 CoCoALib 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... John Abbott
16:58 CoCoALib 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...
Anna Maria Bigatti
16:49 CoCoALib 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...
Anna Maria Bigatti
18:25 CoCoALib 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@
Anna Maria Bigatti

12 Mar 2024

20:39 CoCoALib 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... John Abbott
12:19 CoCoALib Bug #1789: GradingMat with negative weights should complain (or deal with them properly!!)
I investigated and found the confusion: in the lines... Anna Maria Bigatti
08:23 CoCoALib Bug #1789 (Closed): GradingMat with negative weights should complain (or deal with them properly!!)
... Anna Maria Bigatti

11 Mar 2024

11:12 CoCoALib Slug #1049: GroebnerFan: slow examples
... Anna Maria Bigatti
10:48 CoCoALib Bug #1726: Dangling references to temporaries
After discussing, we think my approach makes sense. So I must look at all messages in the patch.
John Abbott
09:39 CoCoALib 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@....
Anna Maria Bigatti
07:56 CoCoA-5 Feature #1671: Refactor C++ impl in OnlineHelp
John Abbott wrote:
> Currently @OnlineHelp.C@ uses CoCoALib for throwing error exceptions. It would be nice to make...
Anna Maria Bigatti

10 Mar 2024

15:49 CoCoALib 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...
John Abbott

08 Mar 2024

20:48 CoCoALib 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... John Abbott
20:24 CoCoALib 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... John Abbott
18:22 CoCoALib Design #1750: IdealOfPoints: allow duplicate points?
After on-line discussion... Anna suggests: (either-or)
* *(A)* make 2 fns: one which allows duplicate points, and ...
John Abbott
18:09 CoCoALib Slug #1057: Slug: Polynomial ring contructor slow with (big) matrix ordering
We now have a first impl of *@IsZeroDet@*. Hopefully this will help!
John Abbott
18:00 CoCoALib 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 ... Anna Maria Bigatti
17:50 CoCoALib Slug #1394: Oddly slow GBasis computation (slow final cleanup)
*AnnA* will look at this! John Abbott
17:45 CoCoALib 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...
John Abbott
17:34 CoCoALib 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 ...
Anna Maria Bigatti
17:20 CoCoALib Feature #202 (Closed): MatrixView/function for viewing a single row or column (RowMat, ColMat)
Anna Maria Bigatti
09:11 CoCoALib 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...
Anna Maria Bigatti
09:04 CoCoALib 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...
Anna Maria Bigatti
17:17 CoCoALib Design #64 (Closed): submat takes only vector<long>
Anna Maria Bigatti
17:13 CoCoALib 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...
Anna Maria Bigatti
10:02 CoCoALib 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...
Anna Maria Bigatti
17:08 CoCoALib Bug #1749 (Feedback): Configuration hiccups on Mac M1
Verified that CoCoA-5 also build OK on Mac M1.
--> feedback
John Abbott
17:08 CoCoALib 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) Anna Maria Bigatti
10:11 CoCoALib 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*... Anna Maria Bigatti
14:34 CoCoALib Design #908 (Closed): Sum of ideals: what are the generators of (x) + (0)?
Closing because duplicated into #1647 Anna Maria Bigatti
08:29 CoCoALib 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...
Anna Maria Bigatti

07 Mar 2024

22:55 CoCoA-5 Feature #1671: Refactor C++ impl in OnlineHelp
Currently @OnlineHelp.C@ uses CoCoALib for throwing error exceptions. It would be nice to make @@OnlineHelp.C@ indep... John Abbott
21:39 CoCoALib Design #908: Sum of ideals: what are the generators of (x) + (0)?
Fully resolved now? Close? John Abbott
21:18 CoCoALib 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...
John Abbott
20:49 CoCoALib 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 ...
John Abbott
20:35 CoCoALib 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 ...
John Abbott
20:31 CoCoALib Design #1735 (Rejected): PushFront/PushBack without checks?
Even the documentation mentioned about @myPushFront@ _etc_. I have slightly improved the doc.
Otherwise we can reje...
John Abbott
20:20 CoCoALib 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...
John Abbott
20:10 CoCoALib Design #1753 (Closed): Clean up EulerTotient, InvTotient jungle in NumTheory-misc
The header & source files look to be acceptably neat & tidy. So closing.
John Abbott
20:06 CoCoALib Design #1753: Clean up EulerTotient, InvTotient jungle in NumTheory-misc
The relevant files are *@NumTheory-misc@*.
Tests are in *@test-NumTheory1,C@*.
John Abbott
20:01 CoCoALib 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... John Abbott
19:51 CoCoALib 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++... John Abbott
19:40 CoCoALib 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...
John Abbott
19:26 CoCoALib Feature #379: Iter for subsets/tuples
*ANNA* have you tested this?
John Abbott

01 Mar 2024

18:40 CoCoALib Slug #1569 (Closed): IsInRadical too slow (test-RadicalMembership)
Anna Maria Bigatti
18:38 CoCoALib Slug #1569: IsInRadical too slow (test-RadicalMembership)
Anna Maria Bigatti wrote:
> Implement special version for monomial ideals
Moved to issue #1786
Anna Maria Bigatti
17:12 CoCoALib 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...
Anna Maria Bigatti
09:44 CoCoALib 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... Anna Maria Bigatti
18:37 CoCoALib 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 @...
Anna Maria Bigatti
14:57 CoCoALib Slug #1739 (Closed): IsHomog for ideals
Anna Maria Bigatti
14:48 CoCoALib 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...
Anna Maria Bigatti
14:37 CoCoALib Slug #1739: IsHomog for ideals
Anna Maria Bigatti wrote:
> check if there is a "homog" flag to be set
The answer is "no" (#1784).
Anna Maria Bigatti
14:53 CoCoALib Feature #1785: Add function IsHomog3(I)?
See implementation of @IsHomog(I)@ in @SparsePolyOps-ideal.C@ (and #1739) Anna Maria Bigatti
14:51 CoCoALib 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?
Anna Maria Bigatti
14:36 CoCoALib Feature #1784 (New): Add flag IhaveHomogGensValue for ideals in SparsePolyRing?
We already have... Anna Maria Bigatti
09:44 CoCoALib Support #1782: Make CoCoALib test file for radical
Can we (= Anna) do this quickly ready for next interim release?
John Abbott

29 Feb 2024

15:33 CoCoALib 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
John Abbott

28 Feb 2024

21:32 CoCoALib 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...
John Abbott
20:36 CoCoALib 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... John Abbott
19:59 CoCoALib 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). ... John Abbott
21:27 CoCoA-5 Support #915: When is a semicolon needed to end a statement/command?
It'd be nice if there were a clean answer to this question, but it is also quite unimportant.
I don't recall ever ha...
John Abbott
21:24 CoCoA-5 Bug #611: GUI: qutting provokes Imminent Disaster
A possibly related curiosity is that when one exits the GUI by typing in *@ciao;@* it is necessary to dismiss a smal... John Abbott
21:21 CoCoA-5 Bug #611: GUI: qutting provokes Imminent Disaster
I have added Uli as a watcher in case he happens to have an idea how to resolve this... he seems to be a Qt magician ... John Abbott
21:18 CoCoA-5 Bug #611: GUI: qutting provokes Imminent Disaster
The problem persists, but the error message is less alarming now:... John Abbott
21:20 CoCoA-5 Bug #612 (Closed): The C5 gui does not exit properly when using the exit menu entry
This is apparently a duplicate of #611, so I shall close this issue.
John Abbott

25 Feb 2024

20:42 CoCoA-5 Bug #1713: Windows: Qt-Gui does not link correctly
I can confirm that adding ... Nico Mexis
19:04 CoCoA-5 Bug #1713: Windows: Qt-Gui does not link correctly
It seems to have worked on my laptop (Ubuntu). I'll do a few more checks, but hope to include the change in the next... John Abbott
12:39 CoCoA-5 Bug #1713: Windows: Qt-Gui does not link correctly
Thanks Ulrich! There's a lot I do not know about Qt (and many other things too). I hope to try out your suggestion... John Abbott

24 Feb 2024

21:00 CoCoA-5 Bug #1713: Windows: Qt-Gui does not link correctly
John Abbott wrote:
> Partial success: compilation succeeded, but attempting to run the resulting executable produced...
Ulrich von der Ohe
18:34 CoCoALib 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...
John Abbott
18:33 CoCoALib 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...
John Abbott
18:32 CoCoALib 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... John Abbott

23 Feb 2024

12:39 CoCoALib 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...
Anna Maria Bigatti
12:29 CoCoALib Slug #1569: IsInRadical too slow (test-RadicalMembership)
Implement special version for monomial ideals Anna Maria Bigatti
12:28 CoCoALib 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...
Anna Maria Bigatti
12:27 CoCoALib Slug #1569: IsInRadical too slow (test-RadicalMembership)
there is a new problem (in test-exbugs.C).... Anna Maria Bigatti
12:28 CoCoALib Bug #1779 (Closed): Radical error with lex (again)
Anna Maria Bigatti
11:41 CoCoALib 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...
Anna Maria Bigatti
12:07 CoCoALib Feature #379: Iter for subsets/tuples
*ANNA* will test this over the next week :-)
John Abbott
11:39 CoCoALib 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.
Anna Maria Bigatti
11:38 CoCoALib Slug #1754 (Closed): IsSqFree poorly implemented
John Abbott
11:34 CoCoALib Support #1265 (Closed): Unregistered TXT files in doc
John Abbott
 

Also available in: Atom