Project

General

Profile

Activity

From 26 Jun 2016 to 25 Jul 2016

22 Jul 2016

13:21 CoCoA-5 Slug #907: ApproxSolve very slow on this example
Do you really need lex? I vaguely recall using several eliminations to compute the various polynomials of the form @... John Abbott
12:17 CoCoA-5 Slug #907: ApproxSolve very slow on this example
John Abbott wrote:
> OK. @ApproxSolve2@ solves the problem in about 0.8s (on my old MacBook... it'll be faster on t...
Anna Maria Bigatti
11:43 CoCoA-5 Slug #907: ApproxSolve very slow on this example
OK. @ApproxSolve2@ solves the problem in about 0.8s (on my old MacBook... it'll be faster on the new computer, if De... John Abbott
12:47 CoCoA-5 Feature #909: ReadExpr: decimal point
A simple quick test passed: @ReadExpr(P, "1.2*x");@ produced the expected result.
JAA notes that there is a minor ...
John Abbott

21 Jul 2016

21:59 CoCoA-5 Slug #907: ApproxSolve very slow on this example
John Abbott wrote:
> I have just tried the examples again (after Anna revised @ApproxSolve@ yesterday or this mornin...
Anna Maria Bigatti
21:57 CoCoA-5 Slug #907 (In Progress): ApproxSolve very slow on this example
I have just tried the examples again (after Anna revised @ApproxSolve@ yesterday or this morning). It still seems to... John Abbott
17:19 CoCoA-5 Feature #909 (Resolved): ReadExpr: decimal point
I have made the necessary (small) changes to @RingElemInput.C@.
Currently there is no specific test for @ReadExpr@, ...
John Abbott
10:58 CoCoA-5 Feature #909: ReadExpr: decimal point
Anna pointed out that CoCoA-4 has always converted "decimal" numbers into exact rationals; CoCoA-5 does so too. So i... John Abbott
16:40 CoCoALib Feature #910 (Feedback): BigRat: read from a string in "decimal" format?
I have cleaned the code and checked in. It's a bit ugly :-(
John Abbott
15:36 CoCoALib Feature #910: BigRat: read from a string in "decimal" format?
I now have a first impl (with test suite). I implemented *(A)* and *(B)*, but it is easy to restrict to just *(A)*. ... John Abbott
13:58 CoCoALib Feature #910: BigRat: read from a string in "decimal" format?
John Abbott wrote:
> Exactly what syntax do we want for decimal fractions?
> * *(A)* <optional-sign><unsigned-integ...
Anna Maria Bigatti
13:42 CoCoALib Feature #910 (In Progress): BigRat: read from a string in "decimal" format?
I have clarified (and made more stringent) the syntax for rational numbers. There are two possibilities:
* <optiona...
John Abbott
13:27 CoCoALib Feature #910: BigRat: read from a string in "decimal" format?
I have looked quickly at the code for @operator>>@ for @BigRat@, and it probably contains a "small bug". The usual r... John Abbott

19 Jul 2016

22:44 CoCoALib Feature #565: FloatApprox for TwinFloat values?
How about the name @BinaryRatApprox@?
Mmm, well, that is exactly what @FloatApprox@ does in other cases, but it's ca...
John Abbott
14:30 CoCoALib Feature #565: FloatApprox for TwinFloat values?
My argument that creating a @MantExp2@ structure makes evident the precision is correct, but there are several occasi... John Abbott
14:24 CoCoALib Feature #910: BigRat: read from a string in "decimal" format?
The functions which need to be considered are: @operator>>@ and @ConvertTo@.
JAA observes that CoCoA-5 (and older ...
John Abbott
14:22 CoCoALib Feature #910 (Closed): BigRat: read from a string in "decimal" format?
Currently @operator>>@ for @BigRat@ expects the input to be of the form: integer or integer "/" integer.
Should it...
John Abbott
13:21 CoCoA-5 Feature #909: ReadExpr: decimal point
The current code simply uses @operator>>@ for a @BigInt@.
We could replace it with @operator>>@ for @BigRat@, but th...
John Abbott
10:12 CoCoA-5 Feature #909 (Closed): ReadExpr: decimal point
The function @ReadExpr@ should also read the decimal point... Anna Maria Bigatti
08:16 CoCoA-5 Slug #907: ApproxSolve very slow on this example
I've added the improvements we talked about at ICMS Berlin.
Now this example is almost instant :-) :-)
There are a ...
Anna Maria Bigatti

14 Jul 2016

20:44 CoCoALib Design #908 (Closed): Sum of ideals: what are the generators of (x) + (0)?
The current strategy is that the generators of the sum is the concatenation of the generators of the two ideals. Is ... Anna Maria Bigatti
09:25 CoCoA-5 Slug #907: ApproxSolve very slow on this example
On my old MacBook with CoCoA-5.1.5 this computation took more than 1 hour (then I stopped it).
John Abbott
09:24 CoCoA-5 Slug #907 (Closed): ApproxSolve very slow on this example
While "playing" with a demo of sparse squares, I noticed that @ApproxSolve@ is strangely slow on this example (while ... John Abbott

13 Jul 2016

13:14 CoCoALib Feature #902 (Resolved): New function: FrobeniusMat
John Abbott
11:19 CoCoALib Design #906 (New): External libraries: keep copy of compatible versions?
We should keep copies of external libraries guaranteed compatible with cocoalib.
(also useful for compiling old ver...
Anna Maria Bigatti

07 Jul 2016

13:51 CoCoALib Bug #905: txt2tags: double quotes wrong in LaTeX
I had a quick look at the txt2tags website. It seems likely that a "filter" can solve the problem, but I don't know ... John Abbott
13:49 CoCoALib Bug #905 (Closed): txt2tags: double quotes wrong in LaTeX
txt2tags does not correctly handle double quotes when generating LaTeX.
The end result is that the PDF generated h...
John Abbott

04 Jul 2016

13:45 CoCoALib Feature #904 (New): SmallFpDouble: which impl of InvMod to use?
The source code for @SmallFpDoubleImpl@ includes its own impl of @InvMod@ which uses @double@ rather than an integral... John Abbott
11:43 CoCoA-5 Feature #903 (Closed): New function CallOnGroebnerFanIdeals: call function on GFan ideals
The function @GFanIdeals@ (was @AllReducedGroebnerBases@) has a very big output.
Usually one needs to run a function...
Anna Maria Bigatti

30 Jun 2016

13:59 CoCoALib Design #789: NumTheory: behaviour of InvMod when inverse does not exist
I am still a bit perplexed by this issue.
Having @InvMod@ always throw seems to me to be the cleanest and safest s...
John Abbott

29 Jun 2016

17:54 CoCoALib Design #789: NumTheory: behaviour of InvMod when inverse does not exist
Perhaps the best approach is not to worry about @noexcept@ at the moment since we have no experience of the feature. ... John Abbott
17:42 CoCoALib Design #789: NumTheory: behaviour of InvMod when inverse does not exist
If we do adopt the idea of different signatures for throwing and non-throwing versions, which approach is better:
* ...
John Abbott
15:32 CoCoALib Design #789: NumTheory: behaviour of InvMod when inverse does not exist
I have just thought of an argument in favour of Anna's proposed design (namely, different signatures).
In C++11 ther...
John Abbott
15:21 CoCoALib Design #789: NumTheory: behaviour of InvMod when inverse does not exist
John Abbott wrote:
> Currently the @enum ErrorActionIndicator@ is defined inside @NumTheory.H@;
May we call it @e...
Anna Maria Bigatti
15:18 CoCoALib Design #789: NumTheory: behaviour of InvMod when inverse does not exist
Currently the @enum ErrorActionIndicator@ is defined inside @NumTheory.H@; probably it should be moved to @utils.H@ s... John Abbott
15:15 CoCoALib Design #789: NumTheory: behaviour of InvMod when inverse does not exist
I have just checked in my impl. Perhaps Anna could have a look at it, and decide whether she thinks it is comprehens... John Abbott
15:12 CoCoALib Design #789: NumTheory: behaviour of InvMod when inverse does not exist
John Abbott wrote:
> Your approach requires me to add 5 new signatures (for a total of 10);
good point!
Anna Maria Bigatti
15:01 CoCoALib Design #789: NumTheory: behaviour of InvMod when inverse does not exist
@Anna: your approach is quite possible but it is more awkward than what I have implemented.
My approach has an opt...
John Abbott
14:45 CoCoALib Design #789: NumTheory: behaviour of InvMod when inverse does not exist
I'd rather have (as I said in comment #10)... Anna Maria Bigatti
12:42 CoCoALib Design #789: NumTheory: behaviour of InvMod when inverse does not exist
I have implemented @enum ErrorActionIndicator { ThrowOnError, NoThrow };@
And the functions now have a 3rd arg @co...
John Abbott

28 Jun 2016

21:37 CoCoALib Design #789: NumTheory: behaviour of InvMod when inverse does not exist
John Abbott wrote:
> Perhaps the @NoThrow@ arg as suggested in comment 9 is clearer?
clearer
Anna Maria Bigatti
19:41 CoCoALib Design #789: NumTheory: behaviour of InvMod when inverse does not exist
Here is another proposal for the interface:
* @InvMod(r,m)@ throws if the inverse does not exist
* @InvMod(r,m, fla...
John Abbott
07:26 CoCoALib Design #789: NumTheory: behaviour of InvMod when inverse does not exist
John Abbott wrote:
> Another possible interface is an optional 3rd arg to say not to throw: _e.g._ @InvMod(res,mod,N...
Anna Maria Bigatti

27 Jun 2016

22:41 CoCoALib Design #789: NumTheory: behaviour of InvMod when inverse does not exist
Another possible interface is an optional 3rd arg to say not to throw: _e.g._ @InvMod(res,mod,NoThrow)@. This avoids... John Abbott
17:26 CoCoALib Design #789: NumTheory: behaviour of InvMod when inverse does not exist
We can indeed supply two (or more?) fns.
I like @InvMod@ as it currently is: it can be used conveniently inside a fo...
John Abbott
17:20 CoCoALib Design #789: NumTheory: behaviour of InvMod when inverse does not exist
The documentation was already updated to say that @ERR:DivByZero@ is thrown if the inverse does not exist.
Note th...
John Abbott
14:40 CoCoALib Design #789: NumTheory: behaviour of InvMod when inverse does not exist
Thinking about it: I would prefer to have 0 if it is relatively costly to determine if it is divisible.
We also ha...
Anna Maria Bigatti
14:05 CoCoALib Design #789: NumTheory: behaviour of InvMod when inverse does not exist
The actual implementations in @NumTheory.C@ do throw rather than return 0 -- I do not know when the code was changed.... John Abbott
13:17 CoCoALib Feature #898: New function: cardinality of finite field?
*@ExtensionDeg@* is certainly clearer than *@ExtnDeg@*. Right now I cannot think of any good reason to push for succ... John Abbott
11:45 CoCoALib Feature #898: New function: cardinality of finite field?
John Abbott wrote:
> I think it makes most sense to change @LogCardinality@ to @ExtnDeg@ (any other candidate names?...
Anna Maria Bigatti
11:41 CoCoALib Feature #898 (In Progress): New function: cardinality of finite field?
I think it makes most sense to change *@LogCardinality@* to *@ExtnDeg@* (any other candidate names?), and then to rej... John Abbott
11:06 CoCoALib Feature #898: New function: cardinality of finite field?
John Abbott wrote:
> I'm not enthusiastic about a function for computing the cardinality.
> * As Anna recalled, the...
Anna Maria Bigatti
11:03 CoCoALib Feature #898: New function: cardinality of finite field?
I'm not enthusiastic about a function for computing the cardinality.
* As Anna recalled, there is already *@LogCardi...
John Abbott
08:41 CoCoALib Feature #898: New function: cardinality of finite field?
JAA wrote in issue #107
> JAA wonders whether *@ExtnDeg@* may not be a better name for *@LogCardinality@*. The name ...
Anna Maria Bigatti
08:37 CoCoALib Feature #898 (In Progress): New function: cardinality of finite field?
We currently have the function @LogCardinality@ for a finite field.
Should we also have @cardinality@?
Should it wo...
Anna Maria Bigatti
09:11 CoCoALib Feature #902: New function: FrobeniusMat
done, cvs-ed.
Needs proper testing
Anna Maria Bigatti
09:09 CoCoALib Feature #902 (Closed): New function: FrobeniusMat
Convert code from CoCoA-5 Anna Maria Bigatti
09:08 CoCoALib Feature #900: New function: MinPoly of RingElem in quotient ring
From existing functions in CoCoA-5 Anna Maria Bigatti
09:05 CoCoALib Feature #900 (Closed): New function: MinPoly of RingElem in quotient ring
Convert code from CoCoA-5 Anna Maria Bigatti
09:06 CoCoALib Feature #901 (Closed): New function: PrimaryDecomposition0 in CoCoALib
Convert code from CoCoA-5 Anna Maria Bigatti
08:55 CoCoALib Feature #899: IsMaximal, IsPrimary for IDEAL (in cocoalib)
Implemented, need proper testing. Anna Maria Bigatti
08:50 CoCoALib Feature #899 (Closed): IsMaximal, IsPrimary for IDEAL (in cocoalib)
*2017-11*: actual setting of flags is discussed in #924 Anna Maria Bigatti
08:48 CoCoALib Feature #107: Recognizing finite fields
Implementation of @IsMaximal@ for multivariate rings now allows working non-simple extensions. Anna Maria Bigatti
 

Also available in: Atom