[sage-devel] Re: Error installing package gcc-5.4.0

2017-11-02 Thread Travis Scrimshaw
What version of Sage are you trying to install? I've found I need both https://trac.sagemath.org/ticket/24088 https://trac.sagemath.org/ticket/24092 with 8.1.beta9. It looks like you have gcc 7.2.0 on your system. Are g++ and gfortran the same version? Perhaps try rebuilding Sage (after running

Re: [sage-devel] Sage Days next July in Zaragoza (Spain)

2017-11-02 Thread Jeroen Demeyer
On 2017-10-31 13:01, mmarco wrote: So, would someone be interested in coming and giving a short course on one of those subjects (or to suggest other subjects that you think could be interesting)? Ideally, each course would consist on a few lectures plus some practical sessions. I might be able

[sage-devel] Segfault in Expression.coefficients involving symbolic functions

2017-11-02 Thread Eric Gourgoulhon
Hi, In Sage 8.1.beta8 and all previous versions (at least down to 7.5.1), we have sage: s = function('f')(x) * x^2 sage: s.coefficients(x) # OK [[f(x), 2]] sage: s = diff(function('f')(x), x) * x^2 sage: s.coefficients(x) # Bam! Erreur de segmentation (core dumped) Is this a known bug? Eric.

[sage-devel] Re: Sage Days next July in Zaragoza (Spain)

2017-11-02 Thread Travis Scrimshaw
> We will be organizing the next meeting of the spanish network of computer > algebra in Zaragoza (Spain); the proposed dates are July 4th-6th. As a > satellite event we plan to organize also a Sage Days (right before, or > right after the meeting), in the form of a school oriented to introduc

[sage-devel] Re: Sage Days next July in Zaragoza (Spain)

2017-11-02 Thread Eric Gourgoulhon
Hi, Le mardi 31 octobre 2017 13:01:44 UTC+1, mmarco a écrit : > > > The idea is to cover those aspects of the Sage development workflow that > are not usually covered in tutorials. > This sounds a very good idea! I could possibly take part in these Sage Days and give an introductory course

Re: [sage-devel] floor division for integer matrices

2017-11-02 Thread Thierry
Hi, if you want to make explicit that you apply the operation to each entry, you can still do: sage: A = Matrix(ZZ,2,[3,3,3,3]) sage: A.apply_map(lambda x:x//3) [1 1] [1 1] sage: _.parent() Full MatrixSpace of 2 by 2 dense matrices over Integer Ring This method works for many things, that migh

[sage-devel] Re: floor division for integer matrices

2017-11-02 Thread Simon Brandhorst
Enabling // just for Euclidean rings is fine for me. Or let's say A//k is defined if // is defined on the entries of A? (which should include euclidean rings). And if it is not then one has to do the ugly conversion by hand if one really wants it. On Wednesday, November 1, 2017 at 11:30:59 PM U