Project

General

Profile

Activity

From 15 Sep 2020 to 14 Oct 2020

14 Oct 2020

21:51 Design #1511 (Closed): Use C++14 constexpr
Scott Meyers recommends using @constexpr@ where (reasonably) possible.
John Abbott
21:49 Feature #1488: BuiltIn Interreduce-Function
I have commented out @interreduce@.
I have renamed the files to @SparsePolyOps-interreduced@.
*NOT YET DOCUMENTED...
John Abbott
21:48 Support #1510 (New): Documentation for SparsePolyOps?
Where should the doc for fns in @SparsePolyOps-*@ files go?
The current organization is inconsistent :-(
John Abbott
21:38 Support #1499 (Resolved): factorization: allow zero as exponent?
I have implemented as decided (_i.e._ mults must be positive)... effectively we are rejecting the original proposal.
...
John Abbott
11:17 Support #1499: factorization: allow zero as exponent?
I now prefer not to allow 0 as a multiplicity because it could be confusing: _e.g._ someone might call @myAppend(fac,... John Abbott
21:21 Design #1500 (Feedback): IsDivisible in a field?
There are now 20 different @IsDivisible@ functions (half of them are actually @IsDivisible_AllowFields@).
I have m...
John Abbott
20:21 Design #1500: IsDivisible in a field?
Oh wow! There are a lot more @IsDivisible@ finctions than I thought... :-(
*SERIOUS QUESTION*
What should the fo...
John Abbott
10:59 Design #1500: IsDivisible in a field?
Today my preference is for *@IsDivisible@* and *@IsDivisible_AllowFields@*.
I think these names are fairly clear, an...
John Abbott
15:40 Design #1446 (In Progress): Start using C++14 "move" capability
Here are some fns to consider changing:
* @myCharacteristic@
* others???
John Abbott
15:35 Feature #24 (Rejected): object files collected in one directory
What we have currenyl works well enough (most of the time), and has been stable for quite a while (at least 3 years).... John Abbott
12:03 Feature #24: object files collected in one directory
Do we really want to overhaul the current @Makefile@ structure?
I do not recall any problems lately, and am loath to...
John Abbott
14:22 Design #1391: RingElems: syntax with [ and ] ?
Note that we have @CoeffVecWRT@ and @CoeffListWRT@. So it would be reasonable to call the CoCoALib fn *@RingElemVec@*. John Abbott
11:54 Design #1391: RingElems: syntax with [ and ] ?
Should *@RingElemList@* be ported into CoCoALib? (perhaps with a different name?)
If so, what should it be called?
...
John Abbott
14:06 Design #1462 (Closed): Change CoCoA_ERROR into CoCoA_THROW_ERROR
Effectively removed old macro *@CoCoA_ERROR@* (still exists, but triggers compile-time error saying to use @CoCoA_TH... John Abbott
13:26 Design #950: factor and SmoothFactor for integers --> FactorINT, FactorINT_TrialDiv, FactorINT_PollardRho
I have just checked what the code currently does: if many primes have been tried without finding a factor *and* if t... John Abbott
12:52 Bug #15: Adjoint of a non-invertible matrix
This now works (since when?).
Surely the impl for @adj@ can be improved; there are several later issues about adj to...
John Abbott

12 Oct 2020

20:52 Design #1500: IsDivisible in a field?
I still like the idea of a 3rd param (or perhaps two fns with similar names).
My preference is that a call like @IsD...
John Abbott

09 Oct 2020

21:19 Design #1500: IsDivisible in a field?
Also @ex-RingElem1@ fails...
John Abbott
20:06 Design #1500: IsDivisible in a field?
A comment about the code excerpt in comment 4. The call to @IsZeroDivisor@ is superfluous; perhaps it was put there ... John Abbott
11:03 Design #1500: IsDivisible in a field?
I have tried implementing the change (_i.e._ @IsDivisibile@ throws if given args in field).
Two tests fail: @test-Is...
John Abbott
09:19 Design #1500: IsDivisible in a field?
This is a bit less clear than I had previously thought. In the file @ring.C@ the function @IsDivisible@ (with 3 args... John Abbott
14:16 Support #1452 (Closed): Release CoCoALib-0.99710
Anna Maria Bigatti
14:12 Feature #1395 (Closed): SHA checksum for released code
Anna Maria Bigatti
13:54 Design #1221 (Closed): Reconsider design for accessing headers and libs of external libraries
Closing because the current design seems to work well (and has not changed for many months).
Surely the recorded t...
John Abbott
13:27 Support #1499: factorization: allow zero as exponent?
John Abbott wrote:
> My current feeling is that I should simply change the error mesg, and leave the rest as is: nam...
Anna Maria Bigatti
11:11 Support #1499: factorization: allow zero as exponent?
If we allow 0 as a multiplicity when calling @myAppend@ then it should also be allowed in the ctor call which accepts... John Abbott

08 Oct 2020

12:35 Design #1500 (In Progress): IsDivisible in a field?
I am becoming increasingly convinced that it is better to throw an error if the args are in a field (since it makes l... John Abbott

07 Oct 2020

22:11 Slug #722 (Closed): valuation slow for large inputs
The current impl is "good enough" for the moment. If a specific application comes up where more speed is needed then... John Abbott

06 Oct 2020

15:42 Design #855: Copyright and authorship?
We should do this in an orderly manner. Many files have already been done. It would be nice to finish this for 0.99... John Abbott
15:39 Design #1242: C++14: Use type auto where appropriate
I suggest we work through the source file systematically, and note which ones we have updated to use *@auto@* (and wh... John Abbott
15:35 Bug #1473: isystem not working as expected
*Anna?* is this better for you now?
I'm pretty sure I must have checked in the change mentioned here. Do you still...
John Abbott
15:20 Design #1279 (Resolved): Tidy up code for matrix determinant
Main dispatch fn is *@ConstMatrixViewBase::myDet@* around @matrix.C:221@
The code has already been considerably c...
John Abbott
15:16 Design #1460 (Feedback): Name of TensorMat; change to KroneckerProd?
This has already been done.
@TensorMat@ is now in @obsolete.C@
Was this already in 0.99710?
John Abbott
14:57 Design #1221 (In Progress): Reconsider design for accessing headers and libs of external libraries
I wonder exactly what I had in mind when creating this issue.
The current situation is as follows: in @ExternalLib...
John Abbott
14:41 Feature #1485: Simple syntax for making a quotient ring?
As this is not urgent, I'm postponing it.
I also expect it to be trivial to implement should we decide to do so.
John Abbott
12:24 Design #710 (In Progress): Update normaliz interface?
The current version of CoCoALib compiles fine with normaliz-3.8.9.
It is no longer clear me to what exactly this i...
John Abbott
12:21 Bug #1280: Determinant & Inverse of matrix over non integral domain
This question clearly needs more work -- postponing.
John Abbott
12:20 Bug #1280: Determinant & Inverse of matrix over non integral domain
Now @det@ of a matrix over @ZZ/(6)@ work also for larger matrices, but it is horribly slow :-(... John Abbott
12:11 Feature #743: Better errors: give supplementary info about the error
I am postponing even though this is urgent. I need a quiet period to be able to think about the problem, and to find... John Abbott
12:08 Design #1414: Make class RingElemVector?
I am postponing, but also increasing priority.
I think this idea will be quite useful, but we need more time to th...
John Abbott
11:35 Design #1391: RingElems: syntax with [ and ] ?
I have changed *@RingElemList@* (in @NotBuiltin.cpkg5@).
I have added a new test @test-RingElems.cocoa5@ with the te...
John Abbott
10:22 Support #1499: factorization: allow zero as exponent?
The current interface for @FactorMultiplicity@ does not use a @factorization@.
Even if an alternative interface (lik...
John Abbott
09:53 Feature #1490 (Rejected): New function: MinusOneToPower
*REJECTED*
There is no need for *@MinusOneToPower@*; it can be achieved by *@SmallPower@* (if we want to avoid @Bi...
John Abbott

05 Oct 2020

14:39 Feature #1436 (Feedback): Flatten for a matrix
I have added a test to @test-matrix4.C@
John Abbott
14:32 Design #1500: IsDivisible in a field?
This might be a bit like computing gcd: strictly we can define it for a field, but we opted instead to give an error.... John Abbott
14:29 Design #1500 (Closed): IsDivisible in a field?
What should @IsDivisible(a,b)@ do with arguments in a field?
Currently it returns the same as @not(b = 0)@.
This ...
John Abbott
13:26 Support #1499 (In Progress): factorization: allow zero as exponent?
My current feeling is that I should simply change the error mesg, and leave the rest as is: namely, multiplicities mu... John Abbott
13:23 Support #1499 (Closed): factorization: allow zero as exponent?
A factorization object in CoCoALib contains a list factor-multiplicity pairs.
According to the doc the factors must ...
John Abbott
13:08 Feature #664: Impl small non-prime finite fields (using logs)
I'd like to have the time to finish this, but that seems very unlikely in the immediate future. :-(
Postponing (yet...
John Abbott
13:03 Design #1391: RingElems: syntax with [ and ] ?
I would like to see a minor improvement: allow whitespace before the initial *@[@* and after the final *@]@*.
It wil...
John Abbott
11:58 Design #1463 (Feedback): SmoothFactor: use FactorMultiplicity
Now I think it is better not to make *@DivideOutMaxPower@* public; we can wait until there is actual demand for it.
...
John Abbott
11:40 Feature #1490: New function: MinusOneToPower
Now I am having doubts about this function...
The normal @power@ function just calls @mpz_power@, and I fully expe...
John Abbott

03 Oct 2020

17:41 Feature #1490 (Resolved): New function: MinusOneToPower
I have implemented *@PowerOfMinusOne@* (for both @MachineInt@ and @BigInt@ exponents).
Currently they are not inline...
John Abbott
17:27 Feature #1488 (Resolved): BuiltIn Interreduce-Function
The function is called *@interreduced@*: it returns an interreduced *copy* of the original list (which is not changed... John Abbott

02 Oct 2020

21:46 Feature #1405 (Closed): New fn: interreduction
Closed because this is a duplicate of #1488 John Abbott
20:56 Feature #1436: Flatten for a matrix
I have checked in the code.
The fn names are *@FlattenByRows@* and *@FlattenByCols@*; it seems unnecessary to have @...
John Abbott
17:03 Feature #1436 (Resolved): Flatten for a matrix
I have written a first impl (in @MatrixOps-flatten.C@).
Added doc.
No tests yet.
John Abbott
20:32 Support #1497 (New): Doc for normaliz fns
We need some doc for the normaliz functions!
John Abbott
20:30 Support #1494 (Resolved): Normaliz 3.8.9
I have refreshed the script @normaliz-version.sh@ and updated @configure@ to use it and check that the version is at ... John Abbott

30 Sep 2020

14:08 Support #1494: Normaliz 3.8.9
Now it compiles for me. But I did not find any doc about which functions CoCoALib/CoCoA-5 make available when Normal... John Abbott
11:57 Support #1494 (In Progress): Normaliz 3.8.9
I have made the change, and CoCoALib now compiles, but I do not know whether it really does what people might expect.... John Abbott
11:14 Support #1494: Normaliz 3.8.9
I have changed the include directives to include only *@libnormaliz/libnormaliz.h@* which includes all Normaliz heade... John Abbott
11:09 Support #1494 (Closed): Normaliz 3.8.9
At the moment CoCoALib is *not compatible* with Normaliz 3.8.9 (recently released, late Sept 2020).
Making it comp...
John Abbott

29 Sep 2020

13:19 Feature #562: Subrings
Which sorts of subring would we like to represent?
* *(A)* in a polyring a subring generated by a subset of the inde...
John Abbott
13:12 Feature #1468 (In Progress): Adjoin indets to a poly ring
What should new indets be called? Should they be "new symbols"? Advantage is that there could be no problems with n... John Abbott

28 Sep 2020

13:51 Feature #1492: submat of a submat
The reason for thinking of this is that the current impl of *@DetByMinors@* is disaapointingly slow on @IdentityMat(Q... John Abbott
13:48 Feature #1492 (New): submat of a submat
It might be worth refining the impl of *@submat@* so that @submat(submat(M,R1,C1),R2,C2)@ is "clever" and returns a s... John Abbott

25 Sep 2020

17:44 Feature #1490 (In Progress): New function: MinusOneToPower
It would be tricky to call the function @power@ because I want the return type to be @long@ (or even @int@) rather th... John Abbott
16:21 Feature #1490: New function: MinusOneToPower
John Abbott wrote:
> There is a very simple inline impl:
> [...]
>
> If we do accept this fn, in which (header) ...
Anna Maria Bigatti
13:37 Feature #1490: New function: MinusOneToPower
There is a very simple inline impl:... John Abbott
13:35 Feature #1490 (Rejected): New function: MinusOneToPower
I have just seen in the code for matrix adjoint *@power(-1, i+j)@*.
It would be nice to have a simpler function for ...
John Abbott
17:06 Feature #1436: Flatten for a matrix
it is only used in *RingElem MinPoly(ConstMatrixView M, ConstRefRingElem x)*.
Anna Maria Bigatti
11:13 Feature #1436: Flatten for a matrix
Some notes:
* *(A)* there are already the functions @GetRows@ and @GetCols@ which return a @vector<vector<RingElem>>...
John Abbott
16:58 Bug #1423 (Closed): Radical 0-dim NYI? missing case for GBasisByHomog
John Abbott wrote:
> *CHECKED ON 2020-09-25* the example in the description now works.
>
> Has this been fixed? ...
Anna Maria Bigatti
11:18 Bug #1423 (In Progress): Radical 0-dim NYI? missing case for GBasisByHomog
*CHECKED ON 2020-09-25* the example in the description now works.
Has this been fixed? By whom? Can we close th...
John Abbott
16:16 Feature #1472: Idea for for loops
just wondering: (I know it's low priority) is this any better than the standard syntax?
Anna Maria Bigatti
11:04 Feature #1472 (In Progress): Idea for for loops
Anna's suggestion of *@range(1,n)@* _etc._ seems simple, clear, flexible.
The intention is that both values are incl...
John Abbott
15:16 Support #1263 (Resolved): Tidy CoCoALib test directory
I have now merged all "exbugs" into a single file called *@test-exbugs.C@* (with corr expected output in @test-exbug... John Abbott
14:58 Bug #1331: adj: for matrices 7x7 and bigger
I have added a test to @test-bug1.C@
John Abbott
14:52 Bug #1331: adj: for matrices 7x7 and bigger
Now I have split @DetDirect@ into two fns: one generic and one for sparsepolyrings (where I can use geobuckets)
John Abbott
14:35 Bug #1331 (Resolved): adj: for matrices 7x7 and bigger
There were two problems:
* *(A)* the dispatch function @ConstMatrixViewBase::myDet@ in @matrix.C@ was rather crude
...
John Abbott
14:05 Design #1491 (New): Unified Gaussian reduction impl
It would be nice to make a single unified Gaussian reduction impl (if poss).
Anyway, currently there are too many im...
John Abbott
14:02 Support #1196 (Resolved): Split MatrixOps
This is now mostly done.
There are now 7 files: original, adj, arith, det, KroneckerProd, LinKerZZ, norms, rank, r...
John Abbott
11:20 Feature #1405: New fn: interreduction
Is this a duplicate of #1488? John Abbott
10:51 Design #1463 (Resolved): SmoothFactor: use FactorMultiplicity
I have made a reasonable impl more or less following *(B)*.
There is a new non-exported fn which computes multiplici...
John Abbott

16 Sep 2020

16:23 Feature #1488: BuiltIn Interreduce-Function
Might it be useful to sort elements inside the interreduction loop according to a more "sophisticated" ordering: _e.g... John Abbott
15:41 Feature #1488: BuiltIn Interreduce-Function
I have now put my version of the impl in a new file *@SparsePolyOps-interreduce.C@* with corresponding header file.
...
John Abbott
14:45 Feature #1488 (In Progress): BuiltIn Interreduce-Function
Here is my revised version of the source code. It could surely be made faster, but this version is relatively simple... John Abbott

15 Sep 2020

14:06 Feature #1488 (Closed): BuiltIn Interreduce-Function
The function @interreduce@ is implemented in CoCoA-5, and the implementation (@NotBuiltin.cpkg5@) can be translated i... Julian Danner
 

Also available in: Atom