Project

General

Profile

Activity

From 11 Oct 2016 to 09 Nov 2016

07 Nov 2016

18:23 Feature #962 (In Progress): General verbose mode?
Here is another idea (perhaps not so very KISS).
*NOTE* see my revision in note 10
At the start of a fn in whic...
John Abbott
15:07 Feature #962: General verbose mode?
I was thinking of having a *single* global variable for controlling verbosity, rather than many different names for d... John Abbott
14:50 Feature #962: General verbose mode?
For the specific case you mentioned:
in MinPoly.C set...
Anna Maria Bigatti
13:54 Feature #962: General verbose mode?
A possible design would be to have a global variable containing the verbosity level; so this would presumably be gove... John Abbott
13:38 Feature #962: General verbose mode?
Sometimes it could be helpful to have a verbose mode to understand what is happening inside a long computation (_e.g.... John Abbott
13:34 Feature #962 (Closed): General verbose mode?
Might it make sense to have a general "verbose" mechanism for CoCoALib?
(in addition to the specific one for Groebne...
John Abbott
17:53 Feature #958: New function: multiplicity and dim
What exactly does multiplicity do?
I made the mistake of trying to compute @multiplicity(I)@ instead of @multiplic...
John Abbott
16:04 Feature #951: New function: IsSqFree
Renamed @AreGensSquareFreeMonomial@ into @AreGensSqFreeMonomial@.
Added to CoCoA-5 (with doc) and to obsolescent.C...
Anna Maria Bigatti
12:31 Feature #951: New function: IsSqFree
I have renamed *@IsRadical@* (for @PPMonoidElem@)to *@IsSqFree@*. The old fn has been moved to @obsolescent.C@ (see ... John Abbott
13:31 Bug #790 (Closed): RingDistrMPolyInlFpPPImpl::mySummandPool frees ZERO PTR many times
This was resolved a year ago. I have just performed the test suggested in comment 1, and there are no warnings (the ... John Abbott

05 Nov 2016

17:39 Support #953: new file for old functions: obsolescent.C
Also added *@doc/txt/obsolescent.txt@* (with relevant changes to the index files).
Perhaps Anna could check what ...
John Abbott

04 Nov 2016

22:41 Support #953 (Feedback): new file for old functions: obsolescent.C
Added @test-obsolescent.C@, @ex-obsolescent.C@ and added doc to @GlobalManager.txt@.
John Abbott
21:46 Support #953: new file for old functions: obsolescent.C
Thanks, Anna! :-)
Checked in.
I did apparently lie slightly: the user has to add the include directive *and* a...
John Abbott
19:02 Support #953: new file for old functions: obsolescent.C
John Abbott wrote:
> Is it really too much to ask the user to add just one line to their file: *@#include "CoCoA/obs...
Anna Maria Bigatti
17:02 Support #953: new file for old functions: obsolescent.C
I really do not like the idea of including obsolescent fns by default: in what sense would they be obsolescent?
Is...
John Abbott
15:47 Support #953: new file for old functions: obsolescent.C
John Abbott wrote:
> Perhaps we do not need any preprocessor flag. What about the following approach?
>
> The fi...
Anna Maria Bigatti
10:43 Support #953: new file for old functions: obsolescent.C
Perhaps we do not need any preprocessor flag. What about the following approach?
The file *@library.H@* does not ...
John Abbott

03 Nov 2016

17:06 Support #953: new file for old functions: obsolescent.C
I prefer not to have so many preprocessor flags. We do need 1 to make the contents of @obsolescent.H@ visible/invisi... John Abbott
16:45 Support #953: new file for old functions: obsolescent.C
John Abbott wrote:
> My preference is that obsolescent fns remain invisible by default; the user must do something t...
Anna Maria Bigatti
16:28 Support #953: new file for old functions: obsolescent.C
I have checkedin the relevant files. The new files are called *@obsolescent.H@* and *@obsolescent.C@*.
CoCoALib i...
John Abbott
11:05 Support #953: new file for old functions: obsolescent.C
John Abbott wrote:
> I have a first implementation (but called the file @obsolete.C@ since I find "obsolete" easier ...
Anna Maria Bigatti
10:28 Support #953: new file for old functions: obsolescent.C
I have a first implementation (but called the file @obsolete.C@ since I find "obsolete" easier to type than "obsolesc... John Abbott
07:56 Support #953: new file for old functions: obsolescent.C
John Abbott wrote:
> Here are some ideas about how we might achieve a reasonable design:
> * obsolete/obsolescent f...
Anna Maria Bigatti
08:50 Feature #961 (Closed): New function: ReducedGBasis
Currently @ReducedGBasis@ is implemented in CoCoA_5.
Add it to CoCoALib, and add the flag @HasReducedGBasis@.
Suppo...
Anna Maria Bigatti

02 Nov 2016

22:15 Support #953 (In Progress): new file for old functions: obsolescent.C
Here are some ideas about how we might achieve a reasonable design:
* obsolete/obsolescent fns go into 2 files @obso...
John Abbott
20:58 Feature #951: New function: IsSqFree
John Abbott wrote:
> *NOTE* the special fn for PPs is still called *@IsRadical@*; should we rename it?
yes, pleas...
Anna Maria Bigatti
20:17 Feature #951: New function: IsSqFree
John Abbott wrote:
> I believe I have fixed the SEGV bug. Checked in new version of @DUPFp.C@. @Anna: could you ch...
Anna Maria Bigatti
18:58 Feature #951: New function: IsSqFree
I believe I have fixed the SEGV bug. Checked in new version of @DUPFp.C@. @Anna: could you check? :-)
*NOTE* p...
John Abbott
18:23 Feature #951: New function: IsSqFree
Reducing the example. These give segv:... Anna Maria Bigatti
18:17 Feature #951: New function: IsSqFree
While comparing various implementations of radical(0-dim) I found this, unexpected for me:
@IsSqFree@ is quite fast ...
Anna Maria Bigatti
18:38 Feature #958: New function: multiplicity and dim
John Abbott wrote:
> Do you plan to add @MultiplicityQuot@ and @DimQuot@ to CoCoA-5?
> If one computes @dim(P/I)@, ...
Anna Maria Bigatti
17:17 Feature #958 (Resolved): New function: multiplicity and dim
Do you plan to add @MultiplicityQuot@ and @DimQuot@ to CoCoA-5?
If one computes @dim(P/I)@, does that actually creat...
John Abbott
17:13 Feature #957 (In Progress): New function: HasGBasis
Even though I invented it, I do not much like the name *@TidyGens@*...
Also, it is not clear to me how to deal wit...
John Abbott
15:50 Feature #957: New function: HasGBasis
Also implemented the member function @IHaveGBasis@ Anna Maria Bigatti
15:45 Feature #957: New function: HasGBasis
I implemented it.
It took a remarkably long time mostly for choosing the name and deciding where to put it.
In fact...
Anna Maria Bigatti

27 Oct 2016

16:36 Feature #958: New function: multiplicity and dim
Done. Still need documentation. Anna Maria Bigatti
16:34 Feature #958 (Resolved): New function: multiplicity and dim
@multiplicity@ and @dim@ are implemented in cocoa-5.
Bring them to cocoalib.
The names should be *@MultiplicityQu...
Anna Maria Bigatti
16:26 Bug #956: determinant: fails for 0x0 matrix (SEGV)
I am still puzzled about how best to handle the trivial cases (0x0 and 1x1 matrices).
The relevant code is only 2 ...
John Abbott
14:16 Bug #956 (Resolved): determinant: fails for 0x0 matrix (SEGV)
The problem was simply that the generic Bariess code failed (on the very last line) when given a 0x0 matrix.
I hav...
John Abbott
14:13 Bug #956 (Closed): determinant: fails for 0x0 matrix (SEGV)
The following triggers a SEGV:... John Abbott
15:58 Feature #955: RandomUnimodularMat - random unimodular matrix (of integers)
I have added a test (which revealed issue #956).
I would check in, but EduRoam is being more than usually obstructiv...
John Abbott
13:17 Feature #955 (Feedback): RandomUnimodularMat - random unimodular matrix (of integers)
Perhaps the function is not that widely usable, but it was handy for something I was doing, so I made it publicly ava... John Abbott
13:12 Feature #955 (Closed): RandomUnimodularMat - random unimodular matrix (of integers)
Write a new function which produces random unimodular matrices of integers. John Abbott
14:42 Feature #957 (Closed): New function: HasGBasis
How to know if the GBasis has already been computed? there is a member flag (myGBasisIsValid), but we should have a ... Anna Maria Bigatti
13:59 Feature #11: Bareiss algorithm
What is the status of this issue?
I believe the code is there (and presumably has been active for some time).
John Abbott
11:22 Design #311 (Feedback): XelMat, StdDegRevLexMat, ... should be MatrixView
It make sense for the ordering matrices to be over @ZZ@; for @IdentityMat@ it is useful to be able to specify the rin... John Abbott

26 Oct 2016

17:44 Support #953 (Closed): new file for old functions: obsolescent.C
In CoCoA-5 we have @obsolescent.cpkg5@, a package with all the functions declared obsolescent, for example if they ha... Anna Maria Bigatti

25 Oct 2016

23:03 Slug #952 (Closed): GCD very slow
While testing @IsSqFree@ I observed that CoCoALib is very slow at computing @gcd(f,f')@ where @f = (x^2+1)*(x^27-x)@ ... John Abbott
23:01 Feature #951 (Feedback): New function: IsSqFree
I have checked in code for the new fn *@IsSqFree@* (incl. tests and doc).
It is not complete:
* currently gives e...
John Abbott

24 Oct 2016

17:51 Feature #951 (In Progress): New function: IsSqFree
A function which tests whether a value is square-free is probably going to be quite similar to a function which deter... John Abbott
17:29 Feature #951: New function: IsSqFree
Currently there is a function called @IsRadical(PP)@ for a PPMonoidElem.
Should it be called @IsSquareFree@?
"A n...
Anna Maria Bigatti
17:19 Feature #951 (Closed): New function: IsSqFree
Write function IsSquareFree (or IsSqFr, or IsSqFree) for a RingElem Anna Maria Bigatti
17:14 Feature #796: CoCoALib function for radical (or SqFree) of a polynomial
I like the idea of a fn @IsSqFree@; it certainly could be faster than testing equality with the radical (and also cle... John Abbott
16:54 Feature #796: CoCoALib function for radical (or SqFree) of a polynomial
After spending some time thinking and writing, I realized that we would need a
@IsSqFree(f)@ which could be consider...
Anna Maria Bigatti
15:32 Feature #838: Differential algebra
After some more reading, it seems that the usual structure is @QQ(x_1, x_2, ..., x_n)[u1, u2,...]@ where the expressi... John Abbott

21 Oct 2016

14:24 Feature #947: IsRadical for ideal?
I think there could be problems with removing indets by giving them values: if there is an embedded 0-dim component t... John Abbott
14:14 Design #950 (In Progress): factor and SmoothFactor for integers --> FactorINT, FactorINT_TrialDiv, FactorINT_PollardRho
Does that mean that you are in favour of offering the user the choice between a fast (and probably correct) answer, o... John Abbott
07:46 Design #950: factor and SmoothFactor for integers --> FactorINT, FactorINT_TrialDiv, FactorINT_PollardRho
@ProbSmoothFactor@?
or @SmoothFactor(n)@ and @SmoothFactor(n, "NoProb")@?
Anna Maria Bigatti

20 Oct 2016

20:10 Design #950 (Closed): factor and SmoothFactor for integers --> FactorINT, FactorINT_TrialDiv, FactorINT_PollardRho
I can make @factor@ and @SmoothFactor@ for integers faster in some cases by calling @IsProbPrime@.
The risk is that ...
John Abbott
20:08 Feature #796 (Resolved): CoCoALib function for radical (or SqFree) of a polynomial
Checked in the code. Also two new tests @test-NumTheory6@ and @test-SparsePolyRing3@.
No documentation yet.
Name...
John Abbott
16:10 Feature #796: CoCoALib function for radical (or SqFree) of a polynomial
John Abbott wrote:
> Currently I have used *@radical@* in CoCoALib, and *@rad@* in CoCoA-5 (to avoid a clash with th...
Anna Maria Bigatti
15:44 Feature #796: CoCoALib function for radical (or SqFree) of a polynomial
Before checking in which name should I use?
Currently I have used *@radical@* in CoCoALib, and *@rad@* in CoCoA-5 ...
John Abbott
13:30 Feature #796 (In Progress): CoCoALib function for radical (or SqFree) of a polynomial
I have an implementation in CoCoALib. It took so long because of a "mysterious bug" in @ContentFreeFactor@.
My cu...
John Abbott
16:32 Feature #838 (In Progress): Differential algebra
The ctor args for a @DifferentialAlgebra@ are the following:
* *@n@* number of "independent variables"
* *@k@* numb...
John Abbott

19 Oct 2016

10:26 Feature #440: Port RealRoots to C++
Some of Erika's people would like this to be in CoCoALib sooner rather than later!
John Abbott

18 Oct 2016

17:49 Feature #949 (New): New function: IdealWithIncrementalGBasis(I, f)
(from SC^2)
We could (easily?) implement a function doing an incremental GBasis: if I has GBasis GB, and we add a po...
Anna Maria Bigatti
16:06 Feature #947: IsRadical for ideal?
John Abbott wrote:
> I wonder if a probabilistic approach could work. If the ideal is 0-dim, the speed is adequate....
Anna Maria Bigatti
16:02 Feature #947: IsRadical for ideal?
I wonder if a probabilistic approach could work. If the ideal is 0-dim, the speed is adequate. If not, perhaps we c... John Abbott
15:51 Feature #947 (In Progress): IsRadical for ideal?
The crude idea was just to run the usual code for computing the radical, and if at some point we determine with certa... John Abbott
15:19 Feature #947: IsRadical for ideal?
Apart from 0-dim (already implemented), and monomial, how can you determine it?
Anna Maria Bigatti
15:03 Feature #947: IsRadical for ideal?
There is now "IsRadical" for 0-dimensional ideals. (and it's in our paper in progress ;-)
I've just realized I forg...
Anna Maria Bigatti
14:56 Feature #947 (In Progress): IsRadical for ideal?
Werner and Mario ask whether it could make sense to have an @IsRadical@ function for ideals; can this be determined s... John Abbott
15:12 Feature #796: CoCoALib function for radical (or SqFree) of a polynomial
This would be quite useful. For the time being should we just add... Anna Maria Bigatti

13 Oct 2016

11:31 Support #944: Release: CoCoALib-0.99550 (together with CoCoA-5.2.0)
Thanks John! Now we have only the "16bytes"... Anna Maria Bigatti

12 Oct 2016

18:08 Support #944: Release: CoCoALib-0.99550 (together with CoCoA-5.2.0)
I'll do @test-OrderedRing2@.... there is a leak in twinfloat.
I know where it is; now I just have to find a nice way...
John Abbott
18:02 Support #944: Release: CoCoALib-0.99550 (together with CoCoA-5.2.0)
Anna Maria Bigatti wrote:
> First run of valgrind (I had to reinstall valgrind on my mac...)
> [...]
The "16-byt...
Anna Maria Bigatti
17:49 Support #944: Release: CoCoALib-0.99550 (together with CoCoA-5.2.0)
First run of valgrind (I had to reinstall valgrind on my mac...)... Anna Maria Bigatti
16:10 Support #944 (In Progress): Release: CoCoALib-0.99550 (together with CoCoA-5.2.0)
Anna Maria Bigatti
16:06 Support #944: Release: CoCoALib-0.99550 (together with CoCoA-5.2.0)
John Abbott wrote:
> Add also to check whether the CoCoA-5 tests pass with @BackwardCompatible.cpkg5@
OK, moved i...
Anna Maria Bigatti
15:42 Support #944: Release: CoCoALib-0.99550 (together with CoCoA-5.2.0)
Add also to check whether the CoCoA-5 tests pass with @BackwardCompatible.cpkg5@
John Abbott
15:04 Support #944 (Closed): Release: CoCoALib-0.99550 (together with CoCoA-5.2.0)
Everything related to making a CoCoALib release:
# Redmine Roadmap: close or postpone issue
# Redmine Release iss...
Anna Maria Bigatti
 

Also available in: Atom