Project

General

Profile

Activity

From 08 Feb 2024 to 08 Mar 2024

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... John Abbott
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... John Abbott
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 ...
John Abbott
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!
John Abbott
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 ... Anna Maria Bigatti
17:50 Slug #1394: Oddly slow GBasis computation (slow final cleanup)
*AnnA* will look at this! John Abbott
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...
John Abbott
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 ...
Anna Maria Bigatti
17:20 Feature #202 (Closed): MatrixView/function for viewing a single row or column (RowMat, ColMat)
Anna Maria Bigatti
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...
Anna Maria Bigatti
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...
Anna Maria Bigatti
17:17 Design #64 (Closed): submat takes only vector<long>
Anna Maria Bigatti
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...
Anna Maria Bigatti
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...
Anna Maria Bigatti
17:08 Bug #1749 (Feedback): Configuration hiccups on Mac M1
Verified that CoCoA-5 also build OK on Mac M1.
--> feedback
John Abbott
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) Anna Maria Bigatti
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*... Anna Maria Bigatti
14:34 Design #908 (Closed): Sum of ideals: what are the generators of (x) + (0)?
Closing because duplicated into #1647 Anna Maria Bigatti
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...
Anna Maria Bigatti

07 Mar 2024

21:39 Design #908: Sum of ideals: what are the generators of (x) + (0)?
Fully resolved now? Close? John Abbott
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...
John Abbott
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 ...
John Abbott
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 ...
John Abbott
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...
John Abbott
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...
John Abbott
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.
John Abbott
20:06 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 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 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 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 Feature #379: Iter for subsets/tuples
*ANNA* have you tested this?
John Abbott

01 Mar 2024

18:40 Slug #1569 (Closed): IsInRadical too slow (test-RadicalMembership)
Anna Maria Bigatti
18:38 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 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 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 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 Slug #1739 (Closed): IsHomog for ideals
Anna Maria Bigatti
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...
Anna Maria Bigatti
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).
Anna Maria Bigatti
14:53 Feature #1785: Add function IsHomog3(I)?
See implementation of @IsHomog(I)@ in @SparsePolyOps-ideal.C@ (and #1739) Anna Maria Bigatti
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?
Anna Maria Bigatti
14:36 Feature #1784 (New): Add flag IhaveHomogGensValue for ideals in SparsePolyRing?
We already have... Anna Maria Bigatti
09:44 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 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 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 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 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

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...
John Abbott
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...
John Abbott
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... John Abbott

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

19 Feb 2024

21:28 Bug #1661: Microsoft: cannot compile with signal handling
Winfried sent me the following message by email:... John Abbott

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...
John Abbott
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 @... John Abbott
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...
Anna Maria Bigatti
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 ... John Abbott
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...
Nico Mexis
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... John Abbott
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...
John Abbott
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... John Abbott
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...
Anna Maria Bigatti
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... John Abbott
17:02 Design #1642: interreduce: make monic if over finite field?
The source code seems to be in *@SparsePolyOps-vector.C@* around line 32.
John Abbott
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...
Anna Maria Bigatti
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...
John Abbott
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... John Abbott
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...
John Abbott
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. Anna Maria Bigatti
17:51 Slug #1739 (Resolved): IsHomog for ideals
check if there is a "homog" flag to be set Anna Maria Bigatti
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...
John Abbott
17:30 Slug #1394: Oddly slow GBasis computation (slow final cleanup)
Try... Anna Maria Bigatti
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 ... John Abbott
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...
John Abbott
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...
John Abbott
09:24 Feature #1748: July 2023
What is the status of this issue? How much did we achieve?
John Abbott

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...
John Abbott
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.
<...
Anna Maria Bigatti
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@)...
Anna Maria Bigatti

09 Feb 2024

10:36 Design #1647: Suppress zero from ideal generators? Detect 1 and simplify generators?
John Abbott wrote:
> After brief consideration, I have decided to keep in this issue discussion related to what "cle...
Anna Maria Bigatti
10:13 Design #1647: Suppress zero from ideal generators? Detect 1 and simplify generators?
I remind you of the function *@IsConstant@* which should be helpful in this case (if IsField(CoeffRing)).
John Abbott
10:09 Design #1647: Suppress zero from ideal generators? Detect 1 and simplify generators?
John Abbott wrote:
> Here is an example where the resulting gens could clearly be cleaned up:
> [...]
This is st...
Anna Maria Bigatti
10:29 Feature #1206: syz, SyzOfGens: which shifts for zero?
OK to require that input to *@syz@* are all non-zero.
Also OK for a new fn which accepts zero -- not sure how this s...
John Abbott
10:03 Feature #1206: syz, SyzOfGens: which shifts for zero?
Should we make @SyzOfGens@ obsolescent? does it do anything more than calling @syz(gens(I))@?
(apart from fixing th...
Anna Maria Bigatti
08:51 Feature #1206: syz, SyzOfGens: which shifts for zero?
This is my suggestion: implement a new function @syz0@ which allows 0s in the input (giving them conventional weights... Anna Maria Bigatti
08:38 Feature #1206 (In Progress): syz, SyzOfGens: which shifts for zero?
Currently we have decided to forbid generator 0 in ideals (#1647), so @SyzOfGens@ will never find a 0, keeping in min... Anna Maria Bigatti

08 Feb 2024

22:08 Feature #1778 (In Progress): Homogenizer
I have implemented @homogenizer@ in OSCAR, and am happy with the interface it gives. Also some others are using it, ... John Abbott
21:55 Feature #202: MatrixView/function for viewing a single row or column (RowMat, ColMat)
What is the status of this issue? With luck we can soon close it!
John Abbott
21:51 Support #1687 (In Progress): Release CoCoALib 0.99850
John Abbott
21:37 Feature #379 (Feedback): Iter for subsets/tuples
I have now added a first impl of *@TupleIter@* following the idea behind @SubsetIter@, _i.e._ the tuples are from the... John Abbott
 

Also available in: Atom