[sage-devel] Re: coeffs() coefficients()

2014-11-27 Thread Francis Clarke
is an *abbreviation* of the name of another method should actually be the *same* method. Anything else is hugely confusing to a user. Both the functionalities described are, of course, useful, but giving them such similar names has a times certainly confused me. Francis Clarke -- You received

[sage-devel] Re: Characteristic polynomials with bad degrees

2014-04-11 Thread Francis Clarke
Looks like a linbox problem: sage: J = jordan_block(0, 31).change_ring(QQ) sage: (J^2).charpoly(algorithm='generic') x^31 sage: (J^2).charpoly(algorithm='linbox') # the default x^16 -- You received this message because you are subscribed to the Google Groups sage-devel group. To unsubscribe

Re: [sage-devel] Smith Normal Form Integers Mod 2 TypeError: submatrix() takes exactly 4 positional arguments(2 given

2014-02-19 Thread Francis Clarke
This (slightly fixed) output from sage -grep shows what needs to be done: $ sage -grep -n 'def submatrix' sage/matrix/matrix1.pyx:1810:def submatrix(self, Py_ssize_t row=0, Py_ssize_t col=0, Py_ssize_t nrows=-1, Py_ssize_t ncols=-1):

[sage-devel] Re: Composition of ring homomorphisms

2013-05-04 Thread Francis Clarke
this is correct. Similarly omitting unnecessary checks gives rise to significant improvements in speed at http://trac.sagemath.org/sage_trac/ticket/10843 (still waiting for review after two years). Francis Clarke -- You received this message because you are subscribed to the Google Groups sage-devel

[sage-devel] Re: Vector space sum very slow

2012-11-08 Thread Francis Clarke
I think you want sage: V.direct_sum(W) Vector space of degree 200 and dimension 2 over Rational Field Basis matrix: 2 x 200 dense matrix over Rational Field Francis -- You received this message because you are subscribed to the Google Groups sage-devel group. To post to this group, send

Re: [sage-devel] Re: OS X 10.7 testers needed

2012-04-08 Thread Francis Clarke
hours), and make ptestlong gave rise to no failures at all. In particular, sage -t --long -force_lib devel/sage/sage/rings/polynomial/pbori.pyx [7.0 s] -- All tests passed! Total time for all tests: 7.0 seconds Francis Clarke

[sage-devel] Re: Free module equality, Hermite form over PIDs

2011-07-07 Thread Francis Clarke
On Jul 7, 8:55 am, Francis Clarke francis.w.cla...@gmail.com wrote: Hermite Normal Forms (HNFs) exist for matrices over Bezout rings and are unique up to multiplication by units over PIDs. Correction: they're unique modulo units over Euclidean domains. Francis -- To post to this group, send

[sage-devel] Re: Free module equality, Hermite form over PIDs

2011-07-07 Thread Francis Clarke
On Jul 6, 9:45 am, John Cremona john.crem...@gmail.com wrote: I think it is too much to expect general PIDs to have unique (canonical) echelon forms, since that would, as a special case, mean a canonical generator for each principal ideal.  Of course there are PIDs (such as Z) where there is

[sage-devel] Re: Base ring(s) for free module morphisms

2011-06-30 Thread Francis Clarke
On Jun 30, 2:26 am, Rob Beezer goo...@beezer.cotse.net wrote: sage: V = GF(3)^3 sage: W = QQ^2 sage: H = Hom(V, W) sage: m = matrix(3, 2, range(6)) sage: f = H(m) This makes no sense at all; the function is not a homomorphism: sage: v = [V.random_element() for i in range(2)] sage: l =

[sage-devel] Re: 0^0

2009-10-22 Thread Francis Clarke
The following article has interesting remarks on this question, particularly pages 407--408: \bib{MR1163629}{article}{ author={Knuth, Donald E.}, title={Two notes on notation}, journal={Amer. Math. Monthly}, volume={99}, date={1992}, number={5}, pages={403--422}, } Among

[sage-devel] Re: Question about typeset in notebook

2008-05-13 Thread Francis Clarke
On May 13, 5:06 pm, William Stein [EMAIL PROTECTED] wrote: I really want to fix *every* single bug in the notebook that can be reliably replicated (non-replicatable system-specific bugs are really hard to fix). If you know of any please please report them.   A subtle problem with %latex cells

[sage-devel] Re: evaluate links in notebook

2008-03-04 Thread Francis Clarke
I've set the delay at 250, and it's working well with both Firefox and Safari. My setup is Mac OS X 10.4.11 2 GHz Intel Core 2 Duo Sage 2.10.2 Firefox 2.0.0.12 Safari 3.0.4 thanks again -- Francis Clarke Department of Mathematics Swansea University Swansea SA2 8PP