Project

General

Profile

Activity

From 17 Apr 2015 to 16 May 2015

15 May 2015

19:28 CoCoALib Design #683 (Resolved): Module index component in internal compressed representation
tested both with @unsigned int@ and @unsigned char@: it works!!... Anna Maria Bigatti
18:43 CoCoALib Design #683: Module index component in internal compressed representation
Bug probably found.... my fault
John has implemented in GBEnv.C...
Anna Maria Bigatti
19:11 CoCoALib Design #707 (In Progress): MatrixOrderingMod32749Impl: test and write documentation!
Some notes:
In @OrdvArith.H@ there is this comment:...
Anna Maria Bigatti
18:47 CoCoALib Design #707 (In Progress): MatrixOrderingMod32749Impl: test and write documentation!
32749 is the biggest prime with some guarantee for <I-cant-remember-what>, so the order matrix is actually over ZZ/(3... Anna Maria Bigatti
15:51 CoCoALib Bug #705 (Feedback): DetDirect calls myAddMul with 0 argument -- funny compilation problem??
I still don't understand why it seemed to work (maybe a missing cvs checkout)
The problem is a simple (when you know ...
Anna Maria Bigatti
12:28 CoCoALib Bug #705 (Closed): DetDirect calls myAddMul with 0 argument -- funny compilation problem??
with (CoCoA-5) input:... Anna Maria Bigatti
14:01 CoCoA-5 Support #706 (Closed): meaningful error for IDEAL <= IDEAL
CoCoA-4 had the syntax @I <= J@ which is now computed via @IsContained(I, J)@.
Investigate on how to return a meanin...
Anna Maria Bigatti
11:27 CoCoA-5 Feature #704 (Closed): rename MinGensGeneral?
there are two functions: *MinGens* (for homogeneous case) and *MinGensGeneral* (trivial algorithm for non homogenous ... Anna Maria Bigatti
11:03 CoCoA-5 Feature #466 (Feedback): CoCoAManual: add entry summarising syntax of all CoCoA-5 commands
Anna Maria Bigatti wrote:
> Added entry "All CoCoA Commands".
> It only gives the list of entries with type "comman...
Anna Maria Bigatti
10:55 CoCoA-5 Bug #643 (Feedback): GenRepr fails if there are zero generators
Done (hilop.cpkg5) Anna Maria Bigatti
09:12 CoCoALib Design #703 (New): Add more operations between modules (CoCoALib)
Add more module operations: +, colon, ...
(there are also some operations for modules in CoCoA-5 packages)
The ma...
Anna Maria Bigatti
09:05 CoCoA-5 Feature #702: Add more operations for modules
Add more module operations: +, colon, ...
Not much to do for CoCoA-5: most of the work is proper design in CoCoALib.
Anna Maria Bigatti
09:03 CoCoA-5 Feature #702 (New): Add more operations for modules
Anna Maria Bigatti

13 May 2015

17:59 CoCoALib Feature #658: Indets actually in a poly (or vector or matrix)
An advantage of @vector<bool>@ is that it avoids the problem/incompatibility of indices in C++ starting from 0 (both ... John Abbott
17:20 CoCoA-5 Feature #700: Which external libs are present?
JAA and AMB think that there is little need to have a similar function in CoCoALib since there are the CPP defines @C... John Abbott
16:41 CoCoA-5 Feature #700: Which external libs are present?
Done.
Just fiddling with the string returned by...
Anna Maria Bigatti
12:09 CoCoA-5 Feature #700: Which external libs are present?
Some ideas:
* a function @ExternalLibs@ which returns a list of strings
* a function @HaveExternalLib@ which expect...
John Abbott
12:08 CoCoA-5 Feature #700 (Closed): Which external libs are present?
It might be nice to have a way in CoCoA-5 to know which external libs are actually present.
John Abbott
14:40 CoCoALib Slug #701: Makefile; limit dependencies on external libs
This issue is not so important (hence priority *low*); not even sure it is worth fixing, as it may complicate the bui... John Abbott
14:37 CoCoALib Slug #701 (Rejected): Makefile; limit dependencies on external libs
If you have CoCoALib already (configured and) compiled, and want to repeat compilation but also including an external... John Abbott

12 May 2015

18:20 CoCoA-5 Bug #699: Emacs UI: set back "cocoa5-executable" to "CoCoAInterpreter"?
John Abbott wrote:
> JAA notes that Emacs lisp has the built-in variable *@system-type@* which gives information abo...
Anna Maria Bigatti
17:13 CoCoA-5 Bug #699: Emacs UI: set back "cocoa5-executable" to "CoCoAInterpreter"?
JAA notes that Emacs lisp has the built-in variable *@system-type@* which gives information about which OS is running... John Abbott
17:09 CoCoA-5 Bug #699: Emacs UI: set back "cocoa5-executable" to "CoCoAInterpreter"?
Anna Maria Bigatti wrote:
> So, we cannot remember why we did this change: probably to allow spaces in path.
We r...
Anna Maria Bigatti
16:47 CoCoA-5 Bug #699 (Rejected): Emacs UI: set back "cocoa5-executable" to "CoCoAInterpreter"?
In earlier versions @cocoa5-executable@ was @CoCoAInterpreter@.
Now it is the script @cocoa5@ (and this caused prob...
Anna Maria Bigatti
15:36 CoCoA-5 Bug #698: Emacs UI: problems with packages on windows
The problem was solved and tested on a student's computer.
It is enough to add one line in the file *<cocoadir>/emac...
Anna Maria Bigatti
15:29 CoCoA-5 Bug #698 (Closed): Emacs UI: problems with packages on windows
The recent installation of CoCoA for the Computer Algebra course in Genoa showed a problem on Windows in finding pack... Anna Maria Bigatti

11 May 2015

17:54 CoCoALib Feature #623 (Closed): Inverse of a matrix over ZZ
Done.
If the matrix is over an IntegralDomain then it is mapped into FractionField.
Then the inverse is mapped back...
Anna Maria Bigatti
16:05 CoCoALib Feature #625 (Closed): NumTheory: sieve of Eratosthenes
Anna says OK for the name -- hard to find a shorter name which is clearer.
I have clarified the manual.
Closing.
John Abbott
16:02 CoCoALib Bug #631: Ambiguous: rank for matrix (in ex-matrix1.C)
I noticed that some of Christof's code uses @rank@; I have written to him asking whether it would be resaonable to ch... John Abbott
15:32 CoCoALib Bug #631 (Feedback): Ambiguous: rank for matrix (in ex-matrix1.C)
I think everything has now been done.
John Abbott
14:43 CoCoA-5 Bug #697 (Closed): Interpreter: Avoid outputting an empty line after each line of input
CoCoA-5 prints an empty line after each input line which outputs nothing.
Might be related to the fact that standa...
John Abbott
14:07 CoCoALib Support #604 (Closed): Release: CoCoALib-0.99535
John Abbott

10 May 2015

20:02 CoCoALib Feature #625: NumTheory: sieve of Eratosthenes
Currently the function is called @eratosthenes@; is there a better name?
The doc needs slight clarification @erato...
John Abbott
16:03 CoCoALib Feature #625: NumTheory: sieve of Eratosthenes
Can we close this?
John Abbott

09 May 2015

15:48 CoCoALib Feature #678: Accumulator (like a geobucket)
The implementation will almost surely be best done via mem fns since the actual inner working of an "accumulator" wil... John Abbott

08 May 2015

13:32 CoCoA-5 Feature #622 (In Progress): New function: RandomSubset
Following CoCoALib conventions the return type should be @vector<long>@.
What should the values in the vector be? ...
John Abbott
11:58 CoCoALib Feature #215: Janet Bases: check and include code in CoCoALib (first prototype)
This issue has status @Feedback@ but the percent done is just 20%.
What is the actual status? Should this issue be ...
John Abbott
11:50 CoCoALib Bug #15: Adjoint of a non-invertible matrix
I have implemented a first version of @AdjByDetOfMinors@; it may already be obsolete because I have also implemented ... John Abbott
11:39 CoCoALib Support #696 (Closed): test-OrderedRing: activate or eliminate?
There is a file @test-OrderedRing1.C@ which is not actually executed.
Either fix it so that it works (currently fail...
John Abbott
11:37 CoCoALib Support #695: Remove cruft from test files
Commented out code could make sense in the following cases:
* the test is valid, but the relevant CoCoALib code is N...
John Abbott
11:34 CoCoALib Support #695 (New): Remove cruft from test files
Several test files contain commented out code; this should either be removed or made active (or perhaps add a clear c... John Abbott
11:32 CoCoALib Support #694: In test files: when is assert.H needed?
Actually I am rather surprised that it is not necessary for all tests.
Investigate why it works without explicitly...
John Abbott
11:30 CoCoALib Support #694 (Closed): In test files: when is assert.H needed?
Some test files explicitly include @CoCoA/assert.H@ but many do not.
Check that it is truly needed when it is pres...
John Abbott
11:28 CoCoALib Design #642 (Resolved): Move code in test file into namespace CoCoA
JAA has finished all test files. Will check-in, then we can verify on several platforms that all is well.
John Abbott
11:26 CoCoALib Feature #623: Inverse of a matrix over ZZ
Here is an invertible 3x3 matrix... John Abbott
11:21 CoCoA-5 Feature #652: Flag to enable/disable printing of list of loaded packages
The excesive verbosity has arisen again: @Rank@ was exported from 2 packages (@BackwardCompatible@ and @obsolescent@)... John Abbott
09:15 CoCoALib Support #621: Release: CoCoALib-0.99536
generated cvs log... Anna Maria Bigatti

07 May 2015

16:57 CoCoALib Design #642: Move code in test file into namespace CoCoA
JAA has now done @test-[J-Q]*.C@ and @test-[a-h]*.C@ John Abbott
15:36 CoCoALib Bug #693 (Closed): Makefile_dependencies in src/tests/
The file @src/tests/Makefile_dependencies@ seems to be suspiciously simple. Either it is wrong or it is pointless. ... John Abbott
13:50 CoCoALib Feature #520: Compute inverse in quotient ring (i.e. division in algebraic extn)
Anna Maria Bigatti wrote:
> - when @IsZeroDivisor@ is called and should return @false@ then its ring is not integral...
Anna Maria Bigatti

04 May 2015

15:43 CoCoA-5 Support #692: Local variables hiding out ones at top level
In the example given I note that @x@ is actually a *protected* variable -- perhaps even more reason for a warning?
John Abbott
15:11 CoCoA-5 Support #692 (Rejected): Local variables hiding out ones at top level
In function definitions local variables hiding outer ones are signalled by a Warning.
At top level not. This might ...
Anna Maria Bigatti

30 Apr 2015

10:07 CoCoALib Feature #520: Compute inverse in quotient ring (i.e. division in algebraic extn)
Also @x/i@ is working now.
(will cvs it this afternoon)
Anna Maria Bigatti
07:38 CoCoALib Feature #385: Design new errors using inheritance
... Anna Maria Bigatti

29 Apr 2015

19:03 CoCoALib Feature #520: Compute inverse in quotient ring (i.e. division in algebraic extn)
Polishing up all the code is always long and tedious....
Anyway!
The code is there and it works.
I still have prob...
Anna Maria Bigatti
15:46 CoCoALib Slug #691 (In Progress): Matrix determinant over ZZ
Hint: @DenseMatrix.C:462@ the dispatch function @DenseMatImpl::myDet@ does not handle matrices over ZZ specially -- t... John Abbott
11:33 CoCoALib Slug #691: Matrix determinant over ZZ
Just as a speed comparison reference I computed @3^(3^17)@ on both machines:
* old G4 took about 50s (on battery pow...
John Abbott
11:22 CoCoALib Slug #691: Matrix determinant over ZZ
I've just tried a 1000x1000 matrix: the old G4 took about 550s, my newer MacBook Pro took 1400s. Embarrassing!
*NOT...
John Abbott
10:32 CoCoALib Slug #691: Matrix determinant over ZZ
What?!? My dad's ancient iBook G4 is just as fast as my much newer MacBook Pro???
Something must be seriously wro...
John Abbott
10:31 CoCoALib Slug #691 (Closed): Matrix determinant over ZZ
I tried computing the following:... John Abbott

24 Apr 2015

17:59 CoCoA-5 Feature #622: New function: RandomSubset
Let's start with just yours, for many reasons:
- it is simpler, as you said
- indeed that's also what I needed ;-)
...
Anna Maria Bigatti
11:23 CoCoA-5 Feature #622: New function: RandomSubset
We could simply have both; that way the user can choose which is more convenient (or efficient).
If we do choose t...
John Abbott
11:20 CoCoA-5 Feature #622: New function: RandomSubset
I wanted a @RandomSubset@ function which generated a random subset of @1..n@ of cardinality @r@. I was surprised whe... John Abbott
11:34 CoCoA-5 Feature #531: Package protected variables should know which package protected them
I do find it annoying when CoCoA says that name @XYZ@ is a package-exported variable but then does not tell me which ... John Abbott

23 Apr 2015

19:12 CoCoALib Feature #690: Fault tolerant rational reconstruction: implement simultaneous version
What exactly should the interface be?
Who does the Chinese remaindering?
Which single rational reconstructor shou...
John Abbott
19:10 CoCoALib Feature #690 (New): Fault tolerant rational reconstruction: implement simultaneous version
Implement the algorithm for simultaneously reconstructing several rational numbers.
John Abbott
19:09 CoCoALib Feature #689: Fault tolerant rational reconstruction: make bad factor publicly accessible
Suggested name of the new fn is @BadMFactor@; other candidates?
John Abbott
19:07 CoCoALib Feature #689 (Closed): Fault tolerant rational reconstruction: make bad factor publicly accessible
In @RatReconstructByContFrac@ the bad factor of the combined modulus is computed; make it publicly accessible
John Abbott

22 Apr 2015

14:38 CoCoALib Slug #688: PolyAlgebraHom (PolyRingHom) evaluate multivariate polynomials
I thought that it could be improved using geobuckets, so I searched the actual code performing the computation.
It i...
Anna Maria Bigatti
13:53 CoCoALib Slug #688: PolyAlgebraHom (PolyRingHom) evaluate multivariate polynomials
We found this slug while workig on @Implicit@ (evaluation for checking the final output can be very slow)
Anna Maria Bigatti
13:52 CoCoALib Slug #688 (New): PolyAlgebraHom (PolyRingHom) evaluate multivariate polynomials
Application of PolyAlgebraHom can be unreasonably slow (this is indeed a problem in optimizing multivariate evaluation) Anna Maria Bigatti

20 Apr 2015

13:21 CoCoALib Design #686 (New): myAddMul in poly rings
Anna Maria Bigatti
13:17 CoCoALib Design #686 (In Progress): myAddMul in poly rings
Better names:
* *@myMoveLMToFront@*
* *@myMoveLMToBack@*
* *@myAddMulLM@*
John Abbott
11:59 CoCoALib Design #686: myAddMul in poly rings
John Abbott wrote:
> Mario Albert calls @myAddMul@ in a "bad" way in @TmpJBEnv.C:323@.
> From his comments it seems...
Anna Maria Bigatti
12:34 CoCoALib Bug #631: Ambiguous: rank for matrix (in ex-matrix1.C)
Renaming is done now. Isn't it? Anna Maria Bigatti
11:17 CoCoA-5 Bug #684 (Closed): Emacs UI: wrong name after auto-inserting enddefine
As it works for me and for Anna, I'm closing the issue. The EmacsUI code really needs to be completely rewritten, bu... John Abbott
10:31 CoCoA-5 Bug #684: Emacs UI: wrong name after auto-inserting enddefine
It works for me. Anna Maria Bigatti
10:26 CoCoALib Feature #658: Indets actually in a poly (or vector or matrix)
also related to #91 Anna Maria Bigatti

19 Apr 2015

20:47 CoCoA-5 Slug #687: Builtin fn makes unnecessary copy of arg
I ran the following test:... John Abbott
20:36 CoCoA-5 Slug #687 (Closed): Builtin fn makes unnecessary copy of arg
While testing/profiling @IndetsIn@ (defined in @BuiltinOneLiners.C@) I noticed that the arg was copied by the fn, mak... John Abbott
18:17 CoCoALib Feature #658: Indets actually in a poly (or vector or matrix)
I am still undecided about the "return" value (and its type):
* *A* a list of integer indices (presumably of type @ve...
John Abbott

17 Apr 2015

18:32 CoCoALib Feature #658: Indets actually in a poly (or vector or matrix)
I have impl'ed a first version (simple rather than efficient).
Not yet checked in; I want to do some testing first.
John Abbott
18:27 CoCoALib Design #686: myAddMul in poly rings
Mario Albert calls @myAddMul@ in a "bad" way in @TmpJBEnv.C:323@.
From his comments it seems he wants to do:...
John Abbott
18:25 CoCoALib Design #686: myAddMul in poly rings
I have just added a check that the first arg must be non-zero (o/w LM does not exist).
Should it be an error or a @C...
John Abbott
18:20 CoCoALib Design #686 (New): myAddMul in poly rings
The mem fn @SparsePolyRingBase::myAddMul@ has strange semantics; the only documentation is a 1 line comment in the so... John Abbott
 

Also available in: Atom