Project

General

Profile

Activity

From 31 Aug 2020 to 29 Sep 2020

29 Sep 2020

13:19 CoCoALib 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 CoCoALib 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

16:40 CoCoA-5 Design #1493 (Closed): Automatic ring mapping in assignment?
We have partly implemented automatic conversion of ring elements (_e.g._ in multiplication).
Should it also work for...
John Abbott
15:08 CoCoA-5 Support #1486 (In Progress): Emacs UI: indentation in a package
I suspect that the relevant part to be changed is the defn of *@cocoa5-beg-block-re@* around line 286 in @cocoa5.el@.... John Abbott
13:51 CoCoALib 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 CoCoALib 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 CoCoALib 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 CoCoALib 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 CoCoALib Feature #1490: New function: MinusOneToPower
There is a very simple inline impl:... John Abbott
13:35 CoCoALib 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 CoCoALib Feature #1436: Flatten for a matrix
it is only used in *RingElem MinPoly(ConstMatrixView M, ConstRefRingElem x)*.
Anna Maria Bigatti
11:13 CoCoALib 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 CoCoALib 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 CoCoALib 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 CoCoALib 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 CoCoALib 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 CoCoALib 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 CoCoALib Bug #1331: adj: for matrices 7x7 and bigger
I have added a test to @test-bug1.C@
John Abbott
14:52 CoCoALib 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 CoCoALib 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 CoCoALib 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 CoCoALib 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 CoCoALib Feature #1405: New fn: interreduction
Is this a duplicate of #1488? John Abbott
10:51 CoCoALib 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

23 Sep 2020

11:22 CoCoA-5 Bug #1200: Package exported function: wrong package name
Is this even a bug?
In my installation the symbol *@Gens_Ker_Mod_Hom@* is indeed exported by a package called *@expe...
John Abbott
11:19 CoCoA-5 Bug #1200: Package exported function: wrong package name
The relevant line appears to be *@Interpreter.C:4289@*.
Here is a test input which triggers the bug:...
John Abbott
11:09 CoCoA-5 Bug #1200: Package exported function: wrong package name
I am postponing this because it is not so important/urgent, and looks like it might be quick tricky to solve :-/
John Abbott
11:06 CoCoA-5 Support #692 (In Progress): Local variables hiding out ones at top level
I think I now prefer not to issue a warning in the examples given here.
If CoCoA issues too many warnings then the u...
John Abbott
10:42 CoCoA-5 Bug #1294 (Resolved): CoCoA-5 tests may fail even if executed correctly
I have implemented option *(A)* and checked it in. I chose *(A)* because it is relatively simple to implement.
Wait...
John Abbott

17 Sep 2020

16:09 CoCoA-5 Bug #1489 (Closed): Unhelpful error message for package followed by identifier (without dollar sign)
The following produces a misleading error message... John Abbott
16:06 CoCoA-5 Feature #1415: thmproving package
Any news about this package?
Can we close this issue quickly and easily?
John Abbott
15:59 CoCoA-5 Bug #1294: CoCoA-5 tests may fail even if executed correctly
I have modified the script @RunTests.sh@ so that it first runs CoCoA with an empty input (*@/dev/null@*).
If that pr...
John Abbott

16 Sep 2020

16:23 CoCoALib 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 CoCoALib 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 CoCoALib 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

15:20 CoCoA-5 Bug #1294 (In Progress): CoCoA-5 tests may fail even if executed correctly
Your comment about a protected variable causing trouble is a good point (albeit also rather abstruse).
We should u...
John Abbott
14:35 CoCoA-5 Bug #1294: CoCoA-5 tests may fail even if executed correctly
Yes, I think that would be an improvement, but also only solve the issue partly. Still if for instance @init.cocoa5@ ... Julian Danner
14:06 CoCoALib 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
13:11 CoCoA-5 Feature #1487 (Closed): EOF for OpenIFile
To read a local file one needs to open an input device via @D:=OpenIFile("path_to_file")@ and read it line-by-line vi... Julian Danner

14 Sep 2020

18:19 CoCoA-5 Support #1486: Emacs UI: indentation in a package
JAA is uncertain about this.
On the one hand the "strange" indentation of package variable assignments highlights ...
John Abbott
18:16 CoCoA-5 Support #1486 (In Progress): Emacs UI: indentation in a package
Bernhard Andraschko reports the following anomaly.
Inside a package variables are indented, but all other package ...
John Abbott
18:11 CoCoALib Feature #1485 (New): Simple syntax for making a quotient ring?
The syntax *@R/I@* would be convenient and easy to read.
At the moment I do not see how it could be "dangerous" un...
John Abbott
17:56 CoCoALib Feature #1485 (Resolved): Simple syntax for making a quotient ring?
John Abbott
17:47 CoCoALib Feature #1485 (New): Simple syntax for making a quotient ring?
Should we allow the syntax *@R/I@* to mean the same as *@NewQuotientRing(R,I)@*?
Discuss, and maybe implement.
John Abbott
18:08 CoCoALib Bug #1484 (Resolved): ker bug (quotientinghom for R/ideal())
There are two more suspect creations of ideals: line 325 and 347.
I have changed these too, but am less sure that wh...
John Abbott
18:07 CoCoALib Bug #1484: ker bug (quotientinghom for R/ideal())
I have blindly changed the code in @HomomorphismOps.C@.
The problem was in @MakeRichHom@ (and presumably an analogo...
John Abbott
17:38 CoCoALib Bug #1484 (Closed): ker bug (quotientinghom for R/ideal())
Bernhard Andraschko reports the following bug:... John Abbott
13:10 CoCoALib Feature #1483 (Feedback): IsPowerOf2 for rationals
Added new function *@IsPowrerOf2@* for @BigRat@. Gives @false@ if arg is not strictly positive.
Impl is simple rath...
John Abbott
13:08 CoCoALib Feature #1483 (Closed): IsPowerOf2 for rationals
Add new function *@IsPowerOf2@* for @BigRat@.
It already exists for @BigInt@.
John Abbott

31 Aug 2020

14:56 CoCoALib Feature #1482: Extended rationals: PlusInfinity and MinusInfinity
Maybe the simple approach is to create two new types: *@PlusInfinityType@* and *@MinusInfinityType@*. Then it should... John Abbott
14:48 CoCoALib Feature #1482 (In Progress): Extended rationals: PlusInfinity and MinusInfinity
The doc for GMP states fairly clearly that the rationals @1/0@ and @-1/0@ can be created, but that they may not be pa... John Abbott
14:02 CoCoALib Feature #1482: Extended rationals: PlusInfinity and MinusInfinity
Some notes:
* what type should these values have? *@BigRat@*? Or Maybe *@ExtendedBigRat@*?
* We'd probably need f...
John Abbott
13:56 CoCoALib Feature #1482 (In Progress): Extended rationals: PlusInfinity and MinusInfinity
Might we be interested in having representations of *@PlusInfinity@* and *@MinusInfinty@*?
This could be useful fo...
John Abbott
14:34 CoCoALib Feature #1176: interval arithmetic
There is a GNU package called MPRIA (multiple precision rational interval arithmetic). It is GPL v3.
It seems not t...
John Abbott
 

Also available in: Atom