Re: [sage-devel] Re: Output of Matrix.plot() depends on whether the Matrix is sparse of dense

2016-02-06 Thread Nathann Cohen
> To get back to the original issue, this has been the case for many years - I > guess implemented in http://trac.sagemath.org/ticket/6554 ? See there for > the original design decision rationale - unless it was even earlier... I > don't have an opinion on this but people who want sparse matrices

[sage-devel] Re: eigenmatrix_right and complex numbers

2016-02-06 Thread Fabian Haiden
So after a bit more testing it looks to me like eigenmatrix_right() is returning the complex conjugate of the eigenvectors for some reason. If I put A=random_matrix(CDF,10,10) D,P=A.eigenmatrix_right() P=P.conjugate() print('error') (P^(-1)*A*P-D).norm() I get only a small numerical error. On

[sage-devel] eigenmatrix_right and complex numbers

2016-02-06 Thread Fabian Haiden
Hi I'm pretty new to sage, so maybe I'm doing something wrong. If I try something like A=matrix(CDF,2,2,[[0,1],[-1,0]]) D,P=A.eigenmatrix_right() print('A') A print('D') D print('P') P print('test') (P^(-1))*A*P it looks like the order of eigenvalues does not match the order of eigenvectors.

[sage-devel] possible multivariate quo_rem bug?

2016-02-06 Thread kcrisman
See http://stackoverflow.com/questions/35233406/multivariate-polynomial-division-in-sage - I'm just passing this on, perhaps this is addressed in the upcoming Singular upgrade. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe fro

[sage-devel] Re: Output of Matrix.plot() depends on whether the Matrix is sparse of dense

2016-02-06 Thread kcrisman
On Friday, February 5, 2016 at 9:43:38 AM UTC-5, Nathann Cohen wrote: > > Hello everybody, > > I am writing here to share an inconsistency with the behaviour of > Matrix.plot: > > When M is sparse: > M.plot() shows which entries of M are nonzero. > > When M is dense: > M.plot() show

Re: [sage-devel] Re: interrupt.pyx on PyPi?

2016-02-06 Thread William Stein
Hi, Ondrej Certik asks "Any chance to BSD license it [signal.pyx]?" I wrote the first version of the code and would be for that. It's core infrastructure and if we BSD it, then the chances it'll get used widely and be better quality go up.So I'm +1. I think we would mainly need Jereon Deme

Re: [sage-devel] Getting reminders for tickets in needs_work

2016-02-06 Thread kcrisman
On Friday, February 5, 2016 at 5:13:28 AM UTC-5, Jori Mäntysalo wrote: > > On Fri, 5 Feb 2016, Jeroen Demeyer wrote: > > > 1. The e-mail goes only to the author(s) of the ticket, not to all > people > > cc'ed in that ticket. > > To all cc'ed people would not be too much, assuming we could hav

Re: [sage-devel] Re: Output of Matrix.plot() depends on whether the Matrix is sparse of dense

2016-02-06 Thread kcrisman
> Any function that takes **kwargs as argument must: >> 1) Remove from kwargs all values it understands >> 2) Forward the remaining content of kwargs to a subfunction >> > > And: > > 3) Doctest that an unknown argument raises an error > This is already doctested occasional

[sage-devel] Re: Log in to the wiki

2016-02-06 Thread kcrisman
> Hi, > > i re-established the connection between trac and the wiki so that it is > now possible to log in to the wiki with your trac login/password. > > !!! Well done! -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from thi

Re: [sage-devel] Re: Failure to Compile Sage 7.0 Stable on openSUSE Linux

2016-02-06 Thread Volker Braun
The memcpy declaration is not picked up even though the configure test found it, this seems more like a bug in glibc than the compiler. From the log: ./string.h:276:5: warning: incompatible implicit declaration of built-in function 'memcpy' memcpy( libGAP_CHARS_STRING(string), (cstr), tmp_

Re: [sage-devel] Re: Failure to Compile Sage 7.0 Stable on openSUSE Linux

2016-02-06 Thread Volker Braun
In any case we need more info; Full logs, openSUSE version, glibc and compiler versions, ... On Saturday, February 6, 2016 at 11:51:43 PM UTC+1, Volker Braun wrote: > > The memcpy declaration is not picked up even though the configure test > found it, this seems more like a bug in glibc than th

Re: [sage-nt] Re: [sage-devel] How are number field elements sorted?

2016-02-06 Thread Volker Braun
The choice seems to be between * non-mathematical order * no order (undefined in Python2, raise in Python3) I don't really have a strong opinion on which to use here. One advantage of having an order is that you can speed up algorithms by working with ordered collections. On Saturday, February

Re: [sage-devel] Re: Failure to Compile Sage 7.0 Stable on openSUSE Linux

2016-02-06 Thread Jeroen Demeyer
On 2016-02-04 18:50, Martin Vahi wrote: The compilation of the Sage 7.0 was with LLVM, not GCC. Are you sure? The log file says C compiler: gcc C compiler version: Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib64/gcc/x86_64-suse-linux/4.8/lto-wrapper Target: x86_64-suse-li

Re: [sage-nt] Re: [sage-devel] How are number field elements sorted?

2016-02-06 Thread Nils Bruin
On Saturday, February 6, 2016 at 8:20:29 AM UTC-8, John Cremona wrote: > > Thanks for the replies and suggestions. I am not sure what is the > best thing to do. I can see three different needs here: > > (1) Any deterministic total order for python sorting to be possible > and consistent. I t

Re: [sage-nt] Re: [sage-devel] How are number field elements sorted?

2016-02-06 Thread David Roe
On Sat, Feb 6, 2016 at 11:19 AM, John Cremona wrote: > Thanks for the replies and suggestions. I am not sure what is the > best thing to do. I can see three different needs here: > > (1) Any deterministic total order for python sorting to be possible > and consistent. For example, a function w

[sage-devel] Re: interrupt.pyx on PyPi?

2016-02-06 Thread 'Martin R. Albrecht' via sage-devel
Hi all, work on this has started: https://github.com/malb/signal.pyx http://trac.sagemath.org/ticket/20002 So far, it’s pretty standard setup.py stuff, i.e. no autoconf. Help welcome: https://github.com/malb/signal.pyx/issues Cheers, Martin Martin R. Albrecht writes: > Hi all, > > In

Re: [sage-nt] Re: [sage-devel] How are number field elements sorted?

2016-02-06 Thread John Cremona
Thanks for the replies and suggestions. I am not sure what is the best thing to do. I can see three different needs here: (1) Any deterministic total order for python sorting to be possible and consistent. For example, a function which returns the roots of a polynomial over a number field *must

[sage-devel] Re: no 7.0 binary for mac

2016-02-06 Thread Dima Pasechnik
On Saturday, February 6, 2016 at 10:37:51 AM UTC, Volker Braun wrote: > > I've also uploaded OSX binaries for sage-7.1.beta2 if you want to give > that at try... > e.g. from here: http://mirrors.mit.edu/sage/osx/intel/index.html > > > > On Saturday, February 6, 2016 at 2:49:19 AM UTC+1, Andr

[sage-devel] Re: no 7.0 binary for mac

2016-02-06 Thread Dima Pasechnik
ah, OK, they are not on all the mirrors yet... On Saturday, February 6, 2016 at 10:46:15 AM UTC, Dima Pasechnik wrote: > > > > On Saturday, February 6, 2016 at 10:37:51 AM UTC, Volker Braun wrote: >> >> I've also uploaded OSX binaries for sage-7.1.beta2 if you want to give >> that at try... >> >>

[sage-devel] Re: no 7.0 binary for mac

2016-02-06 Thread Dima Pasechnik
On Saturday, February 6, 2016 at 10:37:51 AM UTC, Volker Braun wrote: > > I've also uploaded OSX binaries for sage-7.1.beta2 if you want to give > that at try... > > I can't find them, please post an URL. > > > On Saturday, February 6, 2016 at 2:49:19 AM UTC+1, Andrew Pennebaker wrote: >> >>

[sage-devel] Re: no 7.0 binary for mac

2016-02-06 Thread Volker Braun
I've also uploaded OSX binaries for sage-7.1.beta2 if you want to give that at try... On Saturday, February 6, 2016 at 2:49:19 AM UTC+1, Andrew Pennebaker wrote: > > The SageMath homepage seems to say that v7.0 is available: > > http://www.sagemath.org/ > > But when I try to download the binary

Re: [sage-devel] Re: error rebuilding sage

2016-02-06 Thread Dima Pasechnik
On Saturday, February 6, 2016 at 9:28:36 AM UTC, jhonrubia6 wrote: > > So, if I understand you correctly, say I have sage 7.0 on my machine and > try to review some old ticket, do you recommend me to merge the ticket > branch with my copy > git merge tiket_branch > and then review it? > If the

Re: [sage-devel] Re: error rebuilding sage

2016-02-06 Thread jhonrubia6
I meant my local copy of the source code. Ok. I will proceed as you say, thank you all El sábado, 6 de febrero de 2016, 10:32:56 (UTC+1), Jeroen Demeyer escribió: > > On 2016-02-06 10:28, jhonrubia6 wrote: > > So, if I understand you correctly, say I have sage 7.0 on my machine and > > try to r

Re: [sage-devel] Re: error rebuilding sage

2016-02-06 Thread Jeroen Demeyer
On 2016-02-06 10:28, jhonrubia6 wrote: So, if I understand you correctly, say I have sage 7.0 on my machine and try to review some old ticket, do you recommend me to merge the ticket branch with my copy I don't know what you mean with "my copy". Anyway, merging with a more recent version of Sa

Re: [sage-devel] is_prime failing silently

2016-02-06 Thread Jeroen Demeyer
On 2016-02-06 00:07, Travis Scrimshaw wrote: try to coerce it to the base ring -1 These kind of conditionals only make things worse. Either you convert to the base ring or you don't convert to the base ring. But *trying* to convert is the most confusing thing you can do. Jeroen. -- You rec

Re: [sage-devel] Re: error rebuilding sage

2016-02-06 Thread jhonrubia6
So, if I understand you correctly, say I have sage 7.0 on my machine and try to review some old ticket, do you recommend me to merge the ticket branch with my copy git merge tiket_branch and then review it? If the ticket does not compile ok for whatever reason, there will be no way to get rid o

[sage-devel] Re: infinite recursion error during sage compilation

2016-02-06 Thread Dima Pasechnik
installing Sage on Homebrew is not supported, and most probably is badly broken. On Saturday, 6 February 2016 01:32:08 UTC, Andrew Pennebaker wrote: > > After `brew cask install sage`, the resulting sage install complains that > it didn't compile properly. > > $ brew cask install sage > ... > >

[sage-devel] Re: no 7.0 binary for mac

2016-02-06 Thread Dima Pasechnik
On Saturday, 6 February 2016 01:49:19 UTC, Andrew Pennebaker wrote: > > The SageMath homepage seems to say that v7.0 is available: > > http://www.sagemath.org/ > > But when I try to download the binary for Mac OS X, no download is listed > for 7.0, just 6.10. > the posted 7.0 binaries for OSX wer