[sage-devel] Re: A bug in element display/matrix conversion when using special linear group over a finite field

2017-06-06 Thread Dima Pasechnik
This is a bug, for sure (also present in Sage 8.0.beta9) I've created https://trac.sagemath.org/ticket/23153 On Tuesday, June 6, 2017 at 10:17:16 PM UTC+1, Itay Bookstein wrote: > > Using Sage 7.6 on Ubuntu 16.04. > S = GF(2^4, 'a') > a = S.gen() > > G = SL(2, S) > > g1 = G([a**2, a**3 + a**2 +

[sage-devel] A bug in element display/matrix conversion when using special linear group over a finite field

2017-06-06 Thread Itay Bookstein
Using Sage 7.6 on Ubuntu 16.04. S = GF(2^4, 'a') a = S.gen() G = SL(2, S) g1 = G([a**2, a**3 + a**2 + a, a + 1, 0]) g2 = G([a, 0, 0, a**3 + 1]) # prints True True print g1 in G, g2 in G # Throws a ValueError print g1 * g2 Here's the exception:

Re: [sage-devel] Sage Python 3 proposal

2017-06-06 Thread William Stein
On Tue, Jun 6, 2017 at 1:00 PM, Daniel Krenn wrote: > On 2017-06-01 16:35, William Stein wrote: >> The second oldest is "notebook -- should be able export (=print) to >> latex/pdf/dvi", which could be finally closed when Jupyter notebook is >> the default notebook > > Does typeset

Re: [sage-devel] Sage Python 3 proposal

2017-06-06 Thread Daniel Krenn
On 2017-06-01 16:35, William Stein wrote: > The second oldest is "notebook -- should be able export (=print) to > latex/pdf/dvi", which could be finally closed when Jupyter notebook is > the default notebook Does typeset output meanwhile work? (I ask as, having e.g. show(x^2) in a Jupyter

Re: [sage-devel] get_systems() is totally unreliable without profiling enabled in Cython

2017-06-06 Thread Jeroen Demeyer
On 2017-06-06 16:11, Erik Bray wrote: such as providing a way to manually list systems/libraries used by a specific function That's not the problem. The problem is how to determine which functions are actually called. -- You received this message because you are subscribed to the Google

[sage-devel] Sage 7.6 crash report

2017-06-06 Thread Gere Mia
*** IPython post-mortem report {'commit_hash': u'5c9c918', 'commit_source': 'installation', 'default_encoding': 'ANSI_X3.4-1968', 'ipython_path': '/opt/sage/local/lib/python2.7/site-packages/IPython', 'ipython_version':

Re: [sage-devel] Sage Python 3 proposal

2017-06-06 Thread Matthias Koeppe
On Friday, June 2, 2017 at 2:01:25 AM UTC-7, François wrote: > > > Actually there has been some work on enabling sage to be built and > installed in a prefix that isn’t under SAGE_ROOT. This is why we now > have sage-env-config. > So you could do a run of configure of sage with python2 and

Re: [sage-devel] QuotientRing sometimes bottle-necked by is_principal function call

2017-06-06 Thread Joel Ornstein
Thanks for the workaround. Joel On Tuesday, June 6, 2017 at 9:21:39 AM UTC-6, vdelecroix wrote: > > An alternative way of taking quotient avoiding the "is_principal" call > > sage: Q = sage.rings.quotient_ring.QuotientRing_generic(R, I, 'a') > > Vincent > > On 06/06/2017 18:14, Joel Ornstein

Re: [sage-devel] QuotientRing sometimes bottle-necked by is_principal function call

2017-06-06 Thread Vincent Delecroix
An alternative way of taking quotient avoiding the "is_principal" call sage: Q = sage.rings.quotient_ring.QuotientRing_generic(R, I, 'a') Vincent On 06/06/2017 18:14, Joel Ornstein wrote: Hi, For more correct context, I'm taking the quotient of the ring of integers in my worksheet. f =

Re: [sage-devel] QuotientRing sometimes bottle-necked by is_principal function call

2017-06-06 Thread Joel Ornstein
Hi, For more correct context, I'm taking the quotient of the ring of integers in my worksheet. f = QQ['t']({16:1, 0:262}) K. = NumberField(f) R = K.ring_of_integers() QuotientRing(R, Ideal(263,s+1)) I forgot to include that when simplifying the example. On Monday, June 5, 2017 at 1:26:18 PM

Re: [sage-devel] get_systems() is totally unreliable without profiling enabled in Cython

2017-06-06 Thread Erik Bray
On Tue, Jun 6, 2017 at 3:18 PM, Jeroen Demeyer wrote: > Do you know about sage.misc.citation.get_systems()? > > It's supposed to tell which underlying "system" (library, package, ...) is > used for a particular computation. > > One example from a docstring: > > sage: from

[sage-devel] get_systems() is totally unreliable without profiling enabled in Cython

2017-06-06 Thread Jeroen Demeyer
Do you know about sage.misc.citation.get_systems()? It's supposed to tell which underlying "system" (library, package, ...) is used for a particular computation. One example from a docstring: sage: from sage.misc.citation import get_systems sage: get_systems('((x+1)^2).expand()') ['ginac']