Project

General

Profile

Activity

From 01 Jan 2021 to 30 Jan 2021

30 Jan 2021

20:21 CoCoALib Bug #1570 (Feedback): FloatStr sometimes produces NUL chars
John Abbott
18:47 CoCoALib Bug #1570: FloatStr sometimes produces NUL chars
I think everything is nearly sorted out now: the example in comment 8 now finds no problems (even over a much wider r... John Abbott
20:17 CoCoA-5 Bug #1573: ApproxSolve: very imprecise
The example was deliberately chosen to be hard/troublesome. Making the parameters @D@ and/or @N@ larger almost surel... John Abbott
19:48 CoCoA-5 Bug #1573 (Closed): ApproxSolve: very imprecise
I have found an example where @ApproxSolve@ gives very imprecise solutions:... John Abbott

29 Jan 2021

20:19 CoCoALib Design #1572: Use noexcept
Maybe not many functions are applicable _e.g._
* the fn must not call a fn which is not @noexcept@ (with args whic...
John Abbott
20:18 CoCoALib Design #1572 (Resolved): Use noexcept
Scott Meyers recommends using *@noexcept@* where it fits naturally.
Check to see where we can use it.
John Abbott
20:16 CoCoALib Design #1511: Use C++14 constexpr
So far I have done the following files: (update list as files are done)
* *@bool3.H@*
* *@config.H@*
* *@DivMask@*...
John Abbott
20:12 CoCoALib Feature #152 (Closed): Replace bool3 by tribool
I think the new version is OK now. I have also put in *@noexcept@* where appropriate.
One inconsistency: we can a...
John Abbott
15:43 CoCoA-5 Feature #1174 (Closed): package of a function --> of an identifier!
Anna Maria Bigatti
15:42 CoCoALib Bug #1571: ker_H needs care
some verbosity has already been included in the file @HomomorphismOps.C@
Anna Maria Bigatti
15:40 CoCoALib Bug #1571 (New): ker_H needs care
The function @ker_H@ is not properly developed/documented.
In particular, there are problems for...
Anna Maria Bigatti
15:27 CoCoALib Bug #1484 (Feedback): ker bug (quotientinghom for R/ideal())
Anna Maria Bigatti
15:26 CoCoALib Bug #1484: ker bug (quotientinghom for R/ideal())
Anna Maria Bigatti wrote:
> For proper testing I added some verbosity, but I cannot see it.
> [...]
> what am I mi...
Anna Maria Bigatti
09:45 CoCoALib Bug #1484: ker bug (quotientinghom for R/ideal())
For proper testing I added some verbosity, but I cannot see it.... Anna Maria Bigatti
12:26 CoCoA-5 Design #1151 (Closed): ConcatList or ConcatLists
John Abbott
12:05 CoCoA-5 Design #1520 (Closed): Replace BOOST_FOREACH by new C++14 range for syntax
John Abbott
12:03 CoCoA-5 Feature #1516 (Closed): substring function
John Abbott
12:00 CoCoALib Design #854: Function MakeTermOrd should be renamed MakeTermOrdMat?
work for me Anna Maria Bigatti
11:59 CoCoA-5 Design #1334: sylvester or SylvesterMat?
cocoa5 manual for @jacobian@ updated now (2021-01) Anna Maria Bigatti
11:52 CoCoALib Feature #958: New function: multiplicity and dim
AnnaM think and close this! Anna Maria Bigatti
11:31 CoCoALib Feature #1488: BuiltIn Interreduce-Function
John Abbott wrote:
> I have commented out @interreduce@.
> I have renamed the files to @SparsePolyOps-interreduced@...
Anna Maria Bigatti
11:26 CoCoALib Design #1563 (Closed): BigRat: ctor from machine int
John Abbott
10:00 CoCoALib Bug #1570: FloatStr sometimes produces NUL chars
And indeed the defn of @log@ for @BigRat@ is simply... John Abbott
09:56 CoCoALib Bug #1570: FloatStr sometimes produces NUL chars
This is not good.
I have increased the factor in the definition of @delta@ to 64: there are still failing cases:
...
John Abbott
09:31 CoCoALib Bug #1570: FloatStr sometimes produces NUL chars
Here is a simpler failing case:... John Abbott

28 Jan 2021

21:37 CoCoALib Bug #1570: FloatStr sometimes produces NUL chars
I have found what is most likely the cause (after tracing through with the debugger).
The problem was in *@FloorLo...
John Abbott
20:35 CoCoALib Bug #1570: FloatStr sometimes produces NUL chars
Aha! It seems that @FloorLog10@ sometimes give wrong answers... groan.
With luck that is the root cause.
John Abbott
19:48 CoCoALib Bug #1570: FloatStr sometimes produces NUL chars
@FloatStr@ simply calls @MantissaAndExponent10@ to do the main conversion.
Indeed *@MantissaAndExponent10@ behaves w...
John Abbott
19:25 CoCoALib Bug #1570: FloatStr sometimes produces NUL chars
Operating on @10*q@ produces the same mantissa (with NUL) but without exponent.
Operating on @100*q@ produces a cor...
John Abbott
19:17 CoCoALib Bug #1570 (In Progress): FloatStr sometimes produces NUL chars
The exponent is wrong by 1: it should be -10.
John Abbott
19:13 CoCoALib Bug #1570: FloatStr sometimes produces NUL chars
The bug is more embarrassing than dangerous...
Don't yet have a simpler failing example.
Of course, it came up ...
John Abbott
19:12 CoCoALib Bug #1570 (Closed): FloatStr sometimes produces NUL chars
Here is a concrete example:... John Abbott

26 Jan 2021

13:47 CoCoALib Design #1558: CpuTimeLimit: more frequent clock checks
While looking for examples for my course computer algebra I wanted to use @GBasisTimeout@. Sometimes the curr impl d... John Abbott

22 Jan 2021

20:44 CoCoALib Feature #152 (Resolved): Replace bool3 by tribool
I have updated the code. Maybe the revised impl is cleaner.
Anyway, it all seems to work. The code is so simple, t...
John Abbott
17:15 CoCoALib Feature #152 (In Progress): Replace bool3 by tribool
While the impl in BOOST is surely good, I do prefer to keep CoCoALib independent of BOOST (of course, the interpreter... John Abbott
16:22 CoCoALib Slug #1569: IsInRadical too slow (test-RadicalMembership)
Not surprisingly the computation mod p is very quick.
BTW the answer to the computation as given is (almost certai...
John Abbott
15:09 CoCoALib Slug #1569 (Closed): IsInRadical too slow (test-RadicalMembership)
From a demo I showed my students...
I computed a "nasty" 0-dim radical, then wanted to show @MinPowerInIdeal@, but i...
John Abbott
15:05 CoCoALib Bug #1565 (Feedback): IsInRadical: gives "weird" error
I have modified the code so that it avoid recomputing the "radical helpers".
All tests pass. Will clean and then ch...
John Abbott
10:49 CoCoA-5 Design #1151 (Feedback): ConcatList or ConcatLists
John Abbott wrote:
> Personally I find the name @ConcatLists@ more "natural" because it concatenates many lists.
...
Anna Maria Bigatti
10:34 CoCoALib Bug #1484: ker bug (quotientinghom for R/ideal())
John Abbott wrote:
> There are two more suspect creations of ideals: line 325 and 347.
> I have changed these too, ...
Anna Maria Bigatti
09:58 CoCoA-5 Design #1568 (In Progress): RMap and image: obsolescent?
I thought @Rmap@ was completely obsolete.
It is defined in @coclib.cpkg5@ and exported.
It is also defined in @ra...
John Abbott
09:52 CoCoA-5 Feature #531: Package protected variables should know which package protected them
There is a sort of redundancy in package @$anna@ putting a protection reason on the variable @$anna.var@.
It would...
John Abbott
08:44 CoCoA-5 Feature #531: Package protected variables should know which package protected them
All done: works for @:=@, @unprotect@ and @define@.
The field @protectionReason@ is actually set, but for the comp...
Anna Maria Bigatti
08:31 CoCoA-5 Feature #1174 (Feedback): package of a function --> of an identifier!
I'm now convinced that the only exception to the evaluation of the argument of a function should be @IsDefined@. The... Anna Maria Bigatti
08:23 CoCoA-5 Feature #346 (Feedback): Describe should indicate package name
Anna Maria Bigatti

21 Jan 2021

15:16 CoCoA-5 Bug #1567 (Resolved): Radical in non-zero char
I have found the problem and fixed it. Also done some cleaning inside @radical.cpkg5@
When are we moving this to C+...
John Abbott
15:15 CoCoA-5 Bug #1567 (Closed): Radical in non-zero char
... John Abbott
13:46 CoCoA-5 Support #1566 (Closed): What does rad do?
It seems that CoCoA-5 has a function *@rad@*
What does it do? It is not documented.
John Abbott

19 Jan 2021

14:03 CoCoALib Bug #1565 (In Progress): IsInRadical: gives "weird" error
I have modified @RadicalHelpers@ in @SparsePolyOps-RadicalMembership.C@
Seems Ok now. Still testing.
John Abbott
13:27 CoCoALib Bug #1565: IsInRadical: gives "weird" error
Also get:... John Abbott
13:25 CoCoALib Bug #1565 (Closed): IsInRadical: gives "weird" error
Specific example:... John Abbott
12:39 CoCoA-5 Feature #1469: Get indexed indets from a polyring
Hi,
I would highly appreciate such a function, however I think it would be even better if one must not first initial...
Julian Danner
09:20 CoCoA-5 Feature #1564 (New): Geometrical theorem proving package
What is the stats of the _geometrical theorem proving_ package?
It seems the package is there, but the on-line man...
John Abbott

15 Jan 2021

21:15 CoCoALib Feature #206: Matrix equation solving: LinKer
The source of *@LinKerBasis@* looks a bit dodgy.
Given a matrix it does what is expected; but it also works for a _l...
John Abbott
21:07 CoCoALib Feature #206: Matrix equation solving: LinKer
This was originally in issue #122; moving it to here.
What is the difference between @LinKer@ and @LinKerBasis@?
...
John Abbott
21:09 CoCoALib Feature #122 (Closed): Porting "LinKer"
This seems to be a *duplicate* of #206; since there is more info under that index, I'm closing this one. John Abbott
09:18 CoCoALib Feature #122: Porting "LinKer"
What is the difference between *@LinKer@* and *@LinKerBasis@*?
Is @LinKerBasis@ essentially the same as @GetCols(Lin...
John Abbott
21:05 CoCoA-5 Design #1546 (Feedback): Improve 'describe' or 'print' for a function
This is now working fine (after Anna changed the impl of print in the interpreter). Moving to *feedback*.
John Abbott
20:56 CoCoA-5 Feature #346: Describe should indicate package name
Since @print@ and @sprint@ now produce the body of a CoCoA-5 function, it superfluous for @describe@ to do the same.
...
John Abbott
20:52 CoCoA-5 Feature #346 (Resolved): Describe should indicate package name
*IMPORTANT*
* the @describe@ command describes a _value_ and not a _variable_;
* a fn defn *does not contain any in...
John Abbott
09:13 CoCoA-5 Feature #346: Describe should indicate package name
Since Anna seems to have solved issue #1174, is it now possible to make progress here?
Since normal printing now p...
John Abbott
20:42 CoCoA-5 Feature #531: Package protected variables should know which package protected them
In the source code indicated by Anna, there is a loop which sets @protectionReason@ (or some similar name).
These re...
John Abbott
12:23 CoCoA-5 Feature #531: Package protected variables should know which package protected them
Anna Maria Bigatti wrote:
> There is something called @protectionReason@ but seems unset (very strange: the code for...
Anna Maria Bigatti
10:39 CoCoA-5 Feature #531: Package protected variables should know which package protected them
modified also implementation of @unprotect@... Anna Maria Bigatti
10:30 CoCoA-5 Feature #531 (Feedback): Package protected variables should know which package protected them
Implemented: updated code of @CheckProtection@ (extra arg runtimeEnv) in Interpreter.C
(done it, before I forgot the...
Anna Maria Bigatti
08:18 CoCoA-5 Feature #531: Package protected variables should know which package protected them
I might be able to fix this, see #1174 Anna Maria Bigatti
18:01 CoCoALib Support #1265 (In Progress): Unregistered TXT files in doc
Progress chart:
* *@SmallPrime.txt@* removed because very out of date
* _fill in as progress is made_
John Abbott
17:55 CoCoALib Design #1563 (Feedback): BigRat: ctor from machine int
I have now changed all calls @BigRat(...,1)@ into just @BigRat(...)@ in examples, tests, and source code.
Checking i...
John Abbott
17:08 CoCoALib Design #1563 (Resolved): BigRat: ctor from machine int
I have added 2 new ctors (one from @MachineInt@ and one from @BigInt@).
They are @explicit@ (as is the ctor for @Big...
John Abbott
17:05 CoCoALib Design #1563: BigRat: ctor from machine int
I have just discussed with Anna. Bruns's argument is persuasive: our original decision was to protect the user again... John Abbott
16:18 CoCoALib Design #1563 (In Progress): BigRat: ctor from machine int
There were 2 reasons for prohibiting ctor from a machine int: ambiguity of BigInt(0) since 0 could also be interprete... John Abbott
15:39 CoCoALib Design #1563 (Closed): BigRat: ctor from machine int
Bruns asks the following "why?"... John Abbott
17:13 CoCoALib Design #1180: BigRat(0) unexpectedly compiles! (calls ctor with mpq_t arg)
*IMPORTANT UPDATE*(2021-01-15) this decision has now been reversed in issue #1563 John Abbott
10:02 CoCoALib Feature #1559: Default ctor for rings
The class *@ring@* does have a default ctor (which assigns @RingZZ()@ as initial value).
In contrast, @SparsePolyRin...
John Abbott
09:07 CoCoA-5 Feature #1174: package of a function --> of an identifier!
Well done! I suggest we accept the version taking a string for the time being (unless you can easily make a fn like ... John Abbott
08:29 CoCoA-5 Feature #1174: package of a function --> of an identifier!
Example:... Anna Maria Bigatti
08:11 CoCoA-5 Feature #1174: package of a function --> of an identifier!
should the name be @PackageOf@?
I have investigated: belonging to a package (variable) is a property of the variab...
Anna Maria Bigatti
06:48 CoCoA-5 Bug #1531: CRASH: arithmetic with HilbertSeries (tagged object)
It (correctly) gives error both on right and left, no crash. Anna Maria Bigatti

14 Jan 2021

14:31 CoCoALib Feature #206: Matrix equation solving: LinKer
The fn *@LinKerZZ@* is available in my copy of CoCoA-5, but there is no doc.
The doc for CoCoALib seems explicit.
...
John Abbott
14:27 CoCoALib Feature #122: Porting "LinKer"
Has this already been done? There are two fns in CoCoA-5: @LinKer@ and @LinKerBasis@.
What about @LinKerZZ@?
John Abbott

12 Jan 2021

14:32 CoCoALib Design #1558: CpuTimeLimit: more frequent clock checks
I have modified the impl so that it triggers only when the CPU time limit has been exceeded, but it does try to call ... John Abbott

11 Jan 2021

11:09 CoCoALib Design #1562 (New): matrix.H and MatrixView.H
To be able to use the type @ConstMatrixView@ I need to include @matrix.H@ rather than @MatrixView.H@.
Is this reas...
John Abbott
10:19 CoCoALib Support #1561 (New): Doc for module term orderings
The documentation for module term orderings is unhelpful (to put it politely).
I wanted to find out whether a @Fre...
John Abbott
10:02 CoCoA-5 Bug #1560: elim for modules
Not sure how hard this might be. Does it suffice to create a poly ring with elim order, and then compute the GB for ... John Abbott
09:59 CoCoA-5 Bug #1560 (New): elim for modules
Bernhard Andraschko reported the following NYI:... John Abbott
08:55 CoCoALib Design #1558: CpuTimeLimit: more frequent clock checks
John Abbott wrote:
> Now I am wondering whether it may not make more sense to base @CpuTimeLimit@ on the "steady clo...
Anna Maria Bigatti

09 Jan 2021

18:20 CoCoALib Feature #1559 (In Progress): Default ctor for rings
Winfried Bruns sent the following by email:
"I wanted to define a class that contains two sparesepoly rings as mem...
John Abbott

08 Jan 2021

18:46 CoCoALib Bug #1376 (Resolved): GBasisTimeout: not working as expected
Using just the one example "french students" example, the current (2021-01-08) version of @CpuTimeLimit@ works accept... John Abbott
09:48 CoCoALib Bug #1376: GBasisTimeout: not working as expected
Now I think it should be possible to make @CpuTimeLimit@ check the time more frequently without much overhead (by che... John Abbott
18:11 CoCoALib Design #1558 (Resolved): CpuTimeLimit: more frequent clock checks
I now have a version of @CpuTimeLimit@, which actually uses only "steady clock" rather than @CpuTime@.
It seems to...
John Abbott
16:11 CoCoALib Design #1558: CpuTimeLimit: more frequent clock checks
Now I am wondering whether it may not make more sense to base @CpuTimeLimit@ on the "steady clock" (but then the nam... John Abbott
10:07 CoCoALib Design #1558 (In Progress): CpuTimeLimit: more frequent clock checks
Here is the code I used as a speed check:... John Abbott
09:38 CoCoALib Design #1558 (Closed): CpuTimeLimit: more frequent clock checks
The impl of @CpuTimeLimit@ is a bit complicated because the @CpuTime@ function is more expensive than I had expected.... John Abbott
15:23 CoCoA-5 Feature #1516 (Resolved): substring function
I have written a (short) manual entry.
Should there be some tests? :-/
John Abbott
15:16 CoCoA-5 Feature #1516: substring function
I have written a first version (in @BuiltinFunctions.C@).
* name: *@substring@*; I prefer not to use @sbstr@ as th...
John Abbott
13:06 CoCoA-5 Feature #1516 (In Progress): substring function
Start pos and length seem reasonable to me.
Should we also allow the version which goes to end of string? KISS: m...
John Abbott
13:03 CoCoALib Design #1391 (Closed): RingElems: syntax with [ and ] ?
I have added some tests (to @test-RingElem5.C@).
All seems OK. Closing.
John Abbott
11:58 CoCoALib Bug #1484: ker bug (quotientinghom for R/ideal())
Anna! check ring for empty lists! Anna Maria Bigatti
11:56 CoCoA-5 Bug #1539: Website: installation instructions for Microsoft
add the instruction written by Henry O'Keeffe Anna Maria Bigatti
11:53 CoCoA-5 Bug #1512 (Closed): Package with unexpected EOF
John Abbott
11:51 CoCoA-5 Design #1495 (Closed): Package exporting nothing?
Tested. OK. Anna Maria Bigatti
11:35 CoCoA-5 Feature #1509 (Closed): RingElems with empty input
Anna Maria Bigatti
11:31 CoCoA-5 Design #1546: Improve 'describe' or 'print' for a function
And also fix the manual. Anna Maria Bigatti
11:30 CoCoA-5 Design #1550 (Closed): version number for CoCoA5 snapshot release?
For snapshot releases: (Anna) remember to change the links in the webpage. Anna Maria Bigatti
11:28 CoCoA-5 Feature #1543 (Closed): Default path for packages
Anna Maria Bigatti
11:24 CoCoA-5 Design #1530 (Closed): VersionInfo -- better field names?
John Abbott
11:23 CoCoA-5 Support #1498 (Closed): Export many names or just one?
John Abbott
11:20 CoCoA-5 Slug #1556: DivAlg slower than NR
I checked: not as easy as I thought.
@NR@ is defined in @SparsePolyOps-RingElem.C@ and make use of ReductionCog. Th...
Anna Maria Bigatti
11:19 CoCoA-5 Bug #1527 (Closed): Inadequate error message on incorrect list access
John Abbott

07 Jan 2021

20:54 CoCoALib Bug #1376: GBasisTimeout: not working as expected
The relevant source is probably in *@SparsePolyOps-reduce.C@* around line 133.
The timer object is constructed in...
John Abbott
20:42 CoCoALib Bug #1376: GBasisTimeout: not working as expected
Setting the timeout to 20s worked very well. Setting it to 25s triggered an interruption after 95s.
Setting it to 9...
John Abbott
20:19 CoCoALib Bug #1376: GBasisTimeout: not working as expected
Why are there no test cases for this issue? Without them how can i know if it has been satisfactorily solved?
Usi...
John Abbott
20:26 CoCoALib Support #1555 (In Progress): Software licence
Here is a suggestion:
* find out how many different copyright messages we need (headers, source, tests, examples, do...
John Abbott
20:04 CoCoALib Design #855: Copyright and authorship?
I have added Bigatti to all files which had just Abbott as copyright holder.
Anna should now add Abbott to all files...
John Abbott
20:02 CoCoALib Slug #1557 (Resolved): Reading list of rationals is too slow
There was a bug in my first version of the faster code: @in.get(ch)@ does not put EOF into @ch@ when EOF is reached -... John Abbott

06 Jan 2021

11:40 CoCoALib Slug #1557: Reading list of rationals is too slow
I have found a potentially useful entry on *StackOverflow*: link @https://stackoverflow.com/questions/9272276/can-you... John Abbott
11:32 CoCoALib Slug #1557 (In Progress): Reading list of rationals is too slow
I'm still puzzled: @ScanUnsignedIntegerLiteral@ continue to be slower than whatever the CoCoA-5 interpreter does; cou... John Abbott

05 Jan 2021

21:55 CoCoALib Slug #1557: Reading list of rationals is too slow
The profiler indicates that major costs are @hgcd@ (from GMP) and @ScanUnsignedIntegerLiteral@ (from CoCoALib).
JA...
John Abbott
21:43 CoCoALib Slug #1557 (Closed): Reading list of rationals is too slow
Winfried Bruns sent me a file with about 100000 rationals (total size about 130Mbytes).
If I read the file in using ...
John Abbott
 

Also available in: Atom