[sage-devel] Random skew-symmetric matrix

2015-04-08 Thread Jori Mantysalo
I was asked to test a hypothesis about skew-symmetric matrices, so I'll generate some at random. Could this kind of function be useful to others? If so, would best way for it be to add algorithm='skew-symmetric' to sage.matrix.constructor.random_matrix()? -- Jori Mäntysalo

Re: [sage-devel] Random skew-symmetric matrix

2015-04-08 Thread Jori Mantysalo
On Wed, 8 Apr 2015, Vincent Delecroix wrote: It would definitely be useful (at least to me). But the word algorithm looks strange to me. What if we do want a unimodular skew-symmetric matrix? I would rather go for keywords sage: random_matrix(ZZ, 4, unimodular=True, skew_symmetric=True) I

[sage-devel] Left-behind ssh connections on Sage server

2015-04-08 Thread Jori Mantysalo
We have Sage version 6.4 running. It is run by su -c 'nohup authbind --deep .../sage-6.4/sage -c notebook(secure=true, interface=\\, port=443, timeout=..., server_pool=[\sagecalc@localhost\]) ... ' - sagegui i.e. id sagegui runs notebook interface and sagecalc runs computations. For

Re: [sage-devel] Random skew-symmetric matrix

2015-04-08 Thread Jori Mantysalo
About random matrices: Random integer matrices. With no arguments, the majority of the entries are -1 and 1, never zero, and rarely large. :: sage: random_matrix(ZZ, 5, 5) [ -8 2 0 0 1] [ -1 2 1 -95 -1] [ -2 -12 0 0 1] [ -1 1

Re: [sage-devel] Random skew-symmetric matrix

2015-04-08 Thread Vincent Delecroix
It would definitely be useful (at least to me). But the word algorithm looks strange to me. What if we do want a unimodular skew-symmetric matrix? I would rather go for keywords sage: random_matrix(ZZ, 4, unimodular=True, skew_symmetric=True) [ 0 0 5 -1] [ 0 0 6 -1] [-5 -6 0 1] [ 1 1 -1

Re: [sage-devel] Error in building R

2015-04-08 Thread Francois Bissey
It seems your system gcc is interfering make[9]: Leaving directory `/home/steven/Documents/Softwares/sage-6.5/local/var/tmp/sage/build/r-3.1.2.p0/src/src/library/tools/src' make[8]: Leaving directory

[sage-devel] Re: CC vs MPC

2015-04-08 Thread Jean-Pierre Flori
On Tuesday, April 7, 2015 at 8:43:58 PM UTC+2, Jean-Pierre Flori wrote: On Tuesday, April 7, 2015 at 6:56:56 PM UTC+2, vdelecroix wrote: Hello, We currently ship two implementations of floating point complex numbers: - ComplexField: home made implementation based on two mpfr for the

Re: [sage-devel] Re: patchbot sage4

2015-04-08 Thread Jeroen Demeyer
On 2015-04-08 18:05, Frédéric Chapoton wrote: What command exactly did you run ? nice ./sage --patchbot Did you choose a specific ticket ? No. Could you please try to use the patchbot 2.3.2 with safe-only set to False ? I have no idea what that means. -- You received this message because

Re: [sage-devel] Error in building R

2015-04-08 Thread Wang Steven
I have tried your suggestion, but it still doesn't work. I also tried SAGE_INSTALL_GCC=yes make, it failed. My system gcc version is 4.8.2 (Ubuntu 4.8.2-19ubuntu1) On Wednesday, April 8, 2015 at 5:54:24 PM UTC+8, François wrote: It seems your system gcc is interfering make[9]: Leaving

[sage-devel] Re: Exterior algebras.

2015-04-08 Thread kcrisman
Exterior algebras were included as part of http://trac.sagemath.org/ticket/15300 (which was merged into Sage 6.4). sage: E.x,y = ExteriorAlgebra(QQ) sage: a = x * y + x - 3*y / 2; a x^y + x - 3/2*y sage: a.interior_product(x) y + 1 sage: a.interior_product(y) -x - 3/2 Great. Any

[sage-devel] pynac-0.3.3

2015-04-08 Thread Ralf Stephan
Hello, since there seems no permanent maintainer of Pynac I propose to do the next release of Pynac. I have already transferred the source/history as planned to github at: https://github.com/rwst/pynac Benjamin Hackl has also made a pull request there for the issue in #15846 and I'm planning to

[sage-devel] Re: pynac-0.3.3

2015-04-08 Thread kcrisman
since there seems no permanent maintainer of Pynac I propose to do the next release of Pynac. I have already transferred the source/history as planned to github at: https://github.com/rwst/pynac Ralf, this sounds like a fine idea. Burcin, I'm sure you have no objections? One thing I

[sage-devel] Re: pynac-0.3.3

2015-04-08 Thread Ralf Stephan
On Wednesday, April 8, 2015 at 2:55:27 PM UTC+2, kcrisman wrote: One thing I would definitely make sure of is to try to update with the upstream Ginac source as possible. Agree. It looks like the last version sync was GiNaC-1.6.2/Pynac-0.2.3 in 2011-May, with one last isolated commit by

Re: [sage-devel] patchbot sage4

2015-04-08 Thread Jeroen Demeyer
On 2015-04-07 20:39, Frédéric Chapoton wrote: sage -i http://chapoton.perso.math.cnrs.fr/patchbot-2.3.2.spkg I just installed this on arando and it doesn't work, the patchbot exits immediately with Getting trusted author list... WARNING: Do not use this copy of sage while the patchbot is

Re: [sage-devel] Re: patchbot sage4

2015-04-08 Thread Frédéric Chapoton
Hello, Could you please try (with 2.3.2) ./sage -patchbot --skip-base=True and ./sage -patchbot --safe-only=True By the way, you can see the options using ./sage -patchbot --help I am working now to add more info here. Le mercredi 8 avril 2015 18:08:35 UTC+2, Jeroen Demeyer a écrit : On

Re: [sage-devel] Re: pynac-0.3.3

2015-04-08 Thread Burcin Erocal
On Wed, 8 Apr 2015 05:55:27 -0700 (PDT) kcrisman kcris...@gmail.com wrote: since there seems no permanent maintainer of Pynac I propose to do the next release of Pynac. I have already transferred the source/history as planned to github at: https://github.com/rwst/pynac Ralf, this

Re: [sage-devel] Re: pynac-0.3.3

2015-04-08 Thread Ralf Stephan
On Wednesday, April 8, 2015 at 9:04:01 PM UTC+2, Burcin Erocal wrote: I had registered pynac as an organization on github a while ago. I just sent Ralf an invitation to be an admin. Also there is now https://github.com/pynac/pynac with a branch containing the first commits syncing it with

Re: [sage-devel] patchbot sage4

2015-04-08 Thread Jeroen Demeyer
On 2015-04-08 17:05, Jeroen Demeyer wrote: On 2015-04-07 20:39, Frédéric Chapoton wrote: sage -i http://chapoton.perso.math.cnrs.fr/patchbot-2.3.2.spkg I just installed this on arando and it doesn't work Let me add that this is a regression from patchbot-2.3.1 to patchbot-2.3.2 -- You

[sage-devel] Re: patchbot sage4

2015-04-08 Thread Frédéric Chapoton
Ok, thanks a lot for the feedback. I will investigate. But Arando was running smoothly with 2.3.1, so please get back to that for this machine for the moment. What command exactly did you run ? Did you choose a specific ticket ? Could you please try to use the patchbot 2.3.2 with safe-only set

[sage-devel] Re: Exterior algebras.

2015-04-08 Thread Travis Scrimshaw
Great. Any other Grassmann stuff beyond this? (E.g. regressive product.) Is this interface with similar functionality in Singular or elsewhere (and/or the differential forms/manifolds folks)? I didn't implement anything like that as I wanted to do the relationship with Lie algebras