Project

General

Profile

Activity

From 22 Sep 2019 to 21 Oct 2019

21 Oct 2019

18:50 Feature #1347 (Feedback): New function: ctor of PPVector with vector<RingElem>
Done, tested, cvs-ed.
To do: documentation.
Anna Maria Bigatti
18:49 Feature #1347 (Closed): New function: ctor of PPVector with vector<RingElem>
While updating the code for monomial ideals using the new range-based for loop I realized how many times I need to in... Anna Maria Bigatti
18:45 Design #1346 (In Progress): C++14: use the new for loop syntax where appropriate (like cocoa's foreach)
Anna Maria Bigatti
18:44 Design #1346: C++14: use the new for loop syntax where appropriate (like cocoa's foreach)
used massively for monomial ideals.
Tested.
cvs-ed.
Anna Maria Bigatti
12:27 Design #1346: C++14: use the new for loop syntax where appropriate (like cocoa's foreach)
We should maintain a list of files to change and/or a list of files already changed.
* @SparsePolyOps-ideal-monomial...
John Abbott
12:26 Design #1346 (In Progress): C++14: use the new for loop syntax where appropriate (like cocoa's foreach)
Since C++11 there is a new "range-based" *@for@* loop.
Employ it where appropriate in CoCoALib.
John Abbott
12:29 Design #1242: C++14: Use type auto where appropriate
I have created a new issue (#1346) about using the new *@for@* loop syntax; please put relevant progress reports ther... John Abbott
12:06 Design #1242: C++14: Use type auto where appropriate
John Abbott wrote:
> * use *@auto@* instead of the explicit type for C++ iterators (usu. the explicit type is "unrea...
Anna Maria Bigatti

19 Oct 2019

20:28 Bug #1345: Problem with linking the library
John Abbott wrote:
> If you were running your tests from a @cocoa5@ session, then you should also check with @ls -l@...
Anna Maria Bigatti
19:43 Bug #1345: Problem with linking the library
Very strange. I think I may have seen a similar phenomenon occasionally, but @make clean; make@ always seemed to fix... John Abbott
17:14 Bug #1345 (Closed): Problem with linking the library
My mistake?
I tried again, and I cannot longe reproduce it.
It is linked correctly.
Anna Maria Bigatti
11:43 Bug #1345 (Closed): Problem with linking the library
I was testing a change made in @SparsePolyOps-ideal-monomial.C@, and, though it did recompile the file, the new code ... Anna Maria Bigatti

18 Oct 2019

17:04 Design #1242 (In Progress): C++14: Use type auto where appropriate
Anna Maria Bigatti
11:23 Design #1242: C++14: Use type auto where appropriate
It may be helpful to keep a list of source files which have been "done" (this may also include that the file was look... John Abbott
11:19 Design #1242: C++14: Use type auto where appropriate
I must re-read the relevant parts of Meyers's book (Eff. Modern C++). Where should we use *@auto@*?
* use *@auto@* ...
John Abbott
16:16 Feature #1332 (Feedback): New function: vector of RingElem from string -- in CoCoALib
done, documented, tested Anna Maria Bigatti

17 Oct 2019

23:27 Support #1263: Tidy CoCoALib test directory
I have merged several tests in the series @test-NumTheory@ and @test-SparsePolyRing@ into fewer files.
I have prefer...
John Abbott
23:23 Feature #1297 (Closed): New fn: FixedDivisor (formerly IntrinsicContent)
I have added a test (and also reorganized several of the existing tests).
Closing.
John Abbott
17:45 Feature #1332: New function: vector of RingElem from string -- in CoCoALib
OK for the name *@RingElems@* it is a bit like *@symbols@*
(I do not really like it that much, but cannot think of ...
John Abbott

16 Oct 2019

14:04 Feature #1339: All PPs of given wdeg
There used to be a function like this is CoCoA-4, I think.
What was it called? What was its interface?
John Abbott
14:03 Feature #1339 (New): All PPs of given wdeg
Bernhard Andraschko wants a function which produces a list of all PPs with given wdeg (actually stddeg in his case).
...
John Abbott

15 Oct 2019

17:52 Feature #1330 (Closed): New syntax for NewQuotientRing
Anna Maria Bigatti
17:48 Feature #1329 (Closed): New syntax for creating homomorphisms (PolyAlgebraHom)
Anna Maria Bigatti
17:33 Design #1336 (Closed): Rename SparsePolyOps-MonomialIdeal into SparsePolyOps-IdealMonomial?
Anna Maria Bigatti
15:33 Feature #1332: New function: vector of RingElem from string -- in CoCoALib
I like the name *@RingElems(R, str)@* because it recalls the constructor @RingElem(R, str)@.
The name I suggested ...
Anna Maria Bigatti
15:29 Feature #1251 (Closed): New function: radical for monomial ideal
Anna Maria Bigatti
14:09 Design #1257 (Closed): C++14: use nullptr
All tests pass, examples too. Even with debugging active.
Checked-in.
Closing. It is not worth devoting any more ...
John Abbott
13:55 Support #1338: Release CoCoALib-0.99700
_Add to this list as we do things (or remember things we have already done)_
List of principal changes made:
Bu...
Anna Maria Bigatti
13:49 Support #1338 (Closed): Release CoCoALib-0.99700
Everything related to making a CoCoALib release:

* Redmine Roadmap: close or postpone issue
* Redmine Release...
Anna Maria Bigatti
13:47 Support #1276 (In Progress): Release 0.99650
Anna Maria Bigatti
11:41 Slug #1337 (In Progress): PrimaryDecomposition: a interesting/pathological example
This example is very very slow because a factor of @MinPolyQuot(t,I,t)@ produces an ideal with a very slow GBasis.
<...
Anna Maria Bigatti

14 Oct 2019

22:37 Design #1336 (In Progress): Rename SparsePolyOps-MonomialIdeal into SparsePolyOps-IdealMonomial?
I agree it would be nice to have them all start the second part of the name with @Ideal@ (or maybe @ideal@?)
Mayb...
John Abbott
22:22 Design #1336 (Closed): Rename SparsePolyOps-MonomialIdeal into SparsePolyOps-IdealMonomial?
We have these files:
SparsePolyOps-ideal.C,
SparsePolyOps-IdealOfPoints.C,
SparsePolyOps-IdealZeroDim.C
so, s...
Anna Maria Bigatti
19:31 Design #1257: C++14: use nullptr
Ha ha! I did not change "nearly" all 0s into @nullptr@ that need to be changed.
I've just changed many more... it i...
John Abbott
15:17 Support #1039 (Closed): Rename iroot?
This has apparently all been done (incl. doc, tests, CVS).
No complaints, so closing.
John Abbott
15:15 Design #1259 (Closed): ThreadsafeCounter is now obsolete?
Well, I am now sync'd with CVS, so presumably this also works fine for Anna.
Apparently I have deleted the source fi...
John Abbott
15:10 Feature #1301 (Closed): New function primorial
I am inclined not to put in any tests since CoCoALib merely delegates all the work to GMP.
Also, as the function is ...
John Abbott
15:01 Bug #1310 (Closed): RealRoots: gives odd number of roots for deg 6 irred poly
John Abbott

10 Oct 2019

19:20 Slug #1105 (Closed): Primary Decompositon (zero-dim) slow cases
Anna Maria Bigatti
18:41 Feature #1329 (Feedback): New syntax for creating homomorphisms (PolyAlgebraHom)
Anna Maria Bigatti
09:49 Feature #1329 (Resolved): New syntax for creating homomorphisms (PolyAlgebraHom)
Anna Maria Bigatti
18:40 Feature #1330 (Feedback): New syntax for NewQuotientRing
Anna Maria Bigatti
09:55 Feature #1330: New syntax for NewQuotientRing
reminder: write doc for cocoalib Anna Maria Bigatti
09:57 Feature #1332: New function: vector of RingElem from string -- in CoCoALib
reminder: write doc for cocoalib Anna Maria Bigatti
09:56 Feature #1332: New function: vector of RingElem from string -- in CoCoALib
reminder: write doc for cocoalib Anna Maria Bigatti
09:33 Feature #1332 (Resolved): New function: vector of RingElem from string -- in CoCoALib
Anna Maria Bigatti
08:36 Slug #1238: ReadExpr is too slow on long lists of monomial with many indets: ---> use RingElems instead
Dramatic improvement using the new function @ReadExprVector@ in @ex-MVT-Simplicial.C@. (because the new function cre... Anna Maria Bigatti
08:33 Slug #1238: ReadExpr is too slow on long lists of monomial with many indets: ---> use RingElems instead
John Abbott wrote:
> 2019-09-23 This is still very slow. Here is a specific test case:
> [...]
New function @R...
Anna Maria Bigatti

09 Oct 2019

21:45 Slug #1238: ReadExpr is too slow on long lists of monomial with many indets: ---> use RingElems instead
I have run an example (in a ring with 4999 indets) with the profiler (it was rather slower than I expected).
The t...
John Abbott
20:32 Slug #1238: ReadExpr is too slow on long lists of monomial with many indets: ---> use RingElems instead
I have just tried the example from comment 4, but in a ring with 9999 indets (instead of just 999). The time increas... John Abbott
20:26 Design #1309 (Closed): SmoothFactor: allow limit = 1?
John Abbott
18:22 Feature #1330 (Resolved): New syntax for NewQuotientRing
Now also for non principal ideals... Anna Maria Bigatti
17:53 Feature #1332: New function: vector of RingElem from string -- in CoCoALib
Done:
I think I've done it. ... after lots of tedious little mistakes!
Called @ReadExprVector(ring, string)@ in ...
Anna Maria Bigatti

08 Oct 2019

15:55 Feature #1332: New function: vector of RingElem from string -- in CoCoALib
maybe @CoCoAVector(R, string)@?
e.g.
@CoCoAVector(NewPolyRing(QQ,"x,y,z"), "x^2-3, y^3-1234567");@
Anna Maria Bigatti
15:49 Feature #1332 (Closed): New function: vector of RingElem from string -- in CoCoALib
In many cases in CoCoALib, and often also in CoCoA-5, it would be convenient to make a vector of RingElem from a stri... Anna Maria Bigatti
15:26 Bug #1331 (In Progress): adj: for matrices 7x7 and bigger
Here is a simple failing case:... John Abbott
15:24 Bug #1331 (Closed): adj: for matrices 7x7 and bigger
*@adj@* (previously @adjoint@) gives a misleading and unnecessary error mesg if given a square matrix of dimension at... John Abbott
15:04 Feature #1330: New syntax for NewQuotientRing
documented, cvs-ed. Anna Maria Bigatti
14:41 Feature #1330: New syntax for NewQuotientRing
Implemented in CoCoALib, passed to CoCoA-5
For the moment, only for principal ideal...
Anna Maria Bigatti
12:20 Feature #1330 (Closed): New syntax for NewQuotientRing
Making a quotient ring is often tedious. In CoCoA-5 we need to write (the best we can do):... Anna Maria Bigatti
12:16 Feature #1329 (Closed): New syntax for creating homomorphisms (PolyAlgebraHom)
Making a homomorphism is often tedious. In CoCoA-5 we need to write (the best we can do):... Anna Maria Bigatti

04 Oct 2019

16:05 Feature #813: Implement "elim" in CoCoALib
Choose the syntax first... Anna Maria Bigatti

03 Oct 2019

17:41 Slug #1105 (Feedback): Primary Decompositon (zero-dim) slow cases
I agree: now the timings are no longer that horrible.
Indeed not bad ;-)
We can close this issue.
Have we compar...
Anna Maria Bigatti
17:18 Design #1326 (Closed): Modify function myElim so that it returns ideal? (not quite)
Currently we have... Anna Maria Bigatti
17:08 Bug #935: ElimMat, ElimHomogMat: complain about zero or negative weights
Now I cannot remember WHY they should complain....
postpone to next version
Anna Maria Bigatti
15:43 Bug #1248 (Feedback): MinPolyQuot: guaranteed and ideal without GBasis
I think this is all done now: #1248-6
Also the principal ideal has been dealt with: #1249
Anna Maria Bigatti
15:24 Feature #1251 (Feedback): New function: radical for monomial ideal
done.
@ideal SparsePolyRingBase::IdealImpl::myRadical_MonId() const@
in @SparsePolyOps-MonomialIdeal.C@
does NOT m...
Anna Maria Bigatti
10:43 Feature #1209 (Closed): New function: HasPositiveGrading
Done. Tested from CoCoA-5 (false for #1211, true in @anna.cocoa5@).
Anna Maria Bigatti
10:37 Bug #1211 (Closed): HilbertSeries should check grading
added a test in @CoCoA-5/tests/ErrMesg.cocoa5@
closed
Anna Maria Bigatti

02 Oct 2019

16:10 Slug #1105: Primary Decompositon (zero-dim) slow cases
This seems to be related to issue #1230
I have just tried the examples from comment 13, but changing the current r...
John Abbott
12:49 Feature #1251: New function: radical for monomial ideal
Now the official function in CoCoALib is @radical_tmp@ (will be @radical@ when all code is written in CoCoALib)
Wh...
Anna Maria Bigatti
12:07 Bug #1211: HilbertSeries should check grading
The problem is testing it...
Anna Maria Bigatti
12:07 Bug #1211 (Feedback): HilbertSeries should check grading
fixed using @HasPositiveGrading@, and proper testing. Anna Maria Bigatti

01 Oct 2019

15:42 Feature #1249 (Closed): principal ideal has a Gbasis
Anna Maria Bigatti
11:57 Feature #1249: principal ideal has a Gbasis
Has this already been done?
I think what Anna showed me in Genova, indicated that it has been done. If so, we can c...
John Abbott
13:34 Bug #1300 (Closed): CoprimeFactorBasis: mishandles negative args
Added a test (to @test-bug1.C@).
Corrected name in doc in @doc/txt/NumTheory.txt@.
John Abbott
12:22 Slug #866: implicit, ImplicitHypersurface: improve output verification
2019-10-01: I have just tried the example from comment 2, and now it takes about 5.9s on my computer.
John Abbott
12:15 Bug #1248: MinPolyQuot: guaranteed and ideal without GBasis
We should either close this issue (almost immediately), or postpone it (to 0.99700?). John Abbott
12:07 Feature #813: Implement "elim" in CoCoALib
I have increased this to max priority because I believe it is trivial to achieve, and it would be nice to close the i... John Abbott
12:00 Design #707: MatrixOrderingMod32749Impl: test and write documentation!
Can we use a bigger modulus now that we are effectively assuming 64-bit platform? (are we?) John Abbott
11:55 Slug #1105: Primary Decompositon (zero-dim) slow cases
Here is a short file which checks the computation times of the examples given above:... John Abbott
11:37 Feature #259 (Feedback): Squarefree(?) GCD-free basis
I changed the names (not sure when).
A problem with the integer version is that the "squarefree" part is potential...
John Abbott
11:31 Bug #1250 (Closed): SEGV: CoCoALib with Normaliz in multithreading
This has been in "feedback" for 7 months, so I'm closing.
John Abbott

30 Sep 2019

19:42 Slug #1324: Improve RootBound
*CAREFUL* with the suggestions below: it is likely the @RootBound@ is used internally when factorizing or computing s... John Abbott
19:40 Slug #1324 (In Progress): Improve RootBound
It maybe possible to improve @RootBound@ (in some cases) by using @SqfreeFactor@.
Also the CoCoA-5 prototype @Good...
John Abbott
19:32 Support #1263: Tidy CoCoALib test directory
I have transferred test-bugN into test-bug1 for N=6,7,8,9. So far, so good.
John Abbott
16:14 Feature #1323: Improve RealRoots: compute sqfr decomp
Sqfr decomp should always be reasonably quick; full factorization could be slow if the input is "nasty".
One could...
John Abbott
16:11 Feature #1323: Improve RealRoots: compute sqfr decomp
I have already begun writing a package called @RRList@.
I think this is related, esp. as regards combining the inter...
John Abbott
16:09 Feature #1323 (New): Improve RealRoots: compute sqfr decomp
Consider changing @RealRoots@ so that it computes the sqfr decomp of the input poly, then works on the separate piece... John Abbott

27 Sep 2019

17:33 Bug #905 (Closed): txt2tags: double quotes wrong in LaTeX
John Abbott
17:27 Bug #1317 (Closed): txt2tags: LaTeX/PDF section numbers over 99 in TOC
Works reasonably well for me. Closing.
John Abbott

25 Sep 2019

17:13 Feature #1283 (Closed): Printing for (prime) finite fields
Where should the documentation go? John Abbott
16:04 Feature #1283 (Resolved): Printing for (prime) finite fields
John Abbott
14:33 Feature #1283: Printing for (prime) finite fields
Anna says OK to my "hack".
Now I need to document and check everything in.
John Abbott
15:29 Bug #1319: Problem rebuilding dependencies when file PREPROCESSOR_DEFNS.H does not exist
The point is that @make veryclean@ also deletes (most of?) the files generated by configuration.
Something is evid...
John Abbott
15:13 Bug #1319: Problem rebuilding dependencies when file PREPROCESSOR_DEFNS.H does not exist
The error mesgs appear when the makefile tries to rebuild the dependencies.
John Abbott
15:11 Bug #1319 (Closed): Problem rebuilding dependencies when file PREPROCESSOR_DEFNS.H does not exist
I did something like the following, and ended with lots of error messages about @PREPROCESSOR_DEFNS.H@ not existing.
...
John Abbott
14:28 Support #1263: Tidy CoCoALib test directory
Anna approves of merging the exbugs into a single file, and to including @CoCoA/library.H@.
Do this (soon!)
John Abbott
08:00 Bug #1317 (Feedback): txt2tags: LaTeX/PDF section numbers over 99 in TOC
Fixed. CVSed. Anna Maria Bigatti
07:38 Feature #1209: New function: HasPositiveGrading
We decided (personal discussion) to implement it only for @ring@, because the real utility of this function is for co... Anna Maria Bigatti

24 Sep 2019

18:51 Bug #905 (Feedback): txt2tags: double quotes wrong in LaTeX
John Abbott
15:51 Bug #1317: txt2tags: LaTeX/PDF section numbers over 99 in TOC
we need to play with the arguments in ... Anna Maria Bigatti
15:47 Bug #1317: txt2tags: LaTeX/PDF section numbers over 99 in TOC
Anna thinks this may be easy to resolve.
John Abbott
15:12 Bug #1317 (Closed): txt2tags: LaTeX/PDF section numbers over 99 in TOC
In the index/table-of-contents there is no enough space for section numbers greater than 99.
The section number ov...
John Abbott
10:50 Feature #1209: New function: HasPositiveGrading
Apparently we decided to remove the function I was going to use (@IsPosiveGrading@ with two args), but in the time be... Anna Maria Bigatti
10:16 Feature #1209 (In Progress): New function: HasPositiveGrading
Now I understand what I meant.
+ There is a function called @IsPositiveGrading@ taking a weight matrix for input. T...
Anna Maria Bigatti

23 Sep 2019

13:00 Feature #1209: New function: HasPositiveGrading
Do you simply mean a @GradingDim@ function which can be applied to a @PPMonoid@ or a @SparsePolyRing@? John Abbott
12:54 Slug #1170: SmoothFactor: slow when a factor is found
An idea (in C++) is to have a sort of @SmoothFactor@ iterator which can be told to continue from where it has reached... John Abbott
12:41 Slug #1238: ReadExpr is too slow on long lists of monomial with many indets: ---> use RingElems instead
I have run the profiler.
A lot of time is spent in *@AreDistinct(vector<symbol>)@*; presumably the call is around @r...
John Abbott
12:20 Slug #1238: ReadExpr is too slow on long lists of monomial with many indets: ---> use RingElems instead
Here is another case where it is surprisingly slow:... John Abbott
12:16 Slug #1238: ReadExpr is too slow on long lists of monomial with many indets: ---> use RingElems instead
2019-09-23 This is still very slow. Here is a specific test case:... John Abbott
11:49 Bug #1211: HilbertSeries should check grading
JAA confirms that this bug still exists in the current build (2019-09-23).
John Abbott
 

Also available in: Atom