Re: [sage-devel] possible bug in substitute() in the context of free groups.

2018-03-20 Thread Vincent Delecroix
This is a bug. Thanks for your report https://trac.sagemath.org/ticket/25017 Vincent On 20/03/2018 20:40, darwin doppelganger wrote: Substitution changes the multiplicative unit, F(1), in F = FreeGroup(2) to the integer, 1. The following code demonstrates the problem:

[sage-devel] possible bug in substitute() in the context of free groups.

2018-03-20 Thread darwin doppelganger
Substitution changes the multiplicative unit, F(1), in F = FreeGroup(2) to the integer, 1. The following code demonstrates the problem: - F = FreeGroup(2) F.inject_variables() u = F(1) w = u.subs({x0:x1}) print 'u.parent() = ', u.parent() print

[sage-devel] Image as a Graphics object

2018-03-20 Thread 'Paul Mercat' via sage-devel
Hi, Is there a way to get an image as a Graphics() object in Sage ? I have spend a lot of time trying to do it, but it looks like it is not possible. I'm wondering if it would be a good idea to add a new type of GraphicPrimitive in Sage in order to add png images as Graphics object, or make a

Re: [sage-devel] Re: Move the automatic_names() feature into the Sage interpreter proper

2018-03-20 Thread kcrisman
> > Shall the Euler constant, the imaginary number, the numerical > > approximation and the R interpreter be locally diabled ? What about > > 2*i*pi*j ? > > If I could do things over, then none of those would be in the global > namespace by default. This is very difficult to change now,

Re: [sage-devel] Re: Move the automatic_names() feature into the Sage interpreter proper

2018-03-20 Thread Erik Bray
On Mon, Mar 19, 2018 at 2:06 PM, Nicolas M. Thiery wrote: > On Thu, Mar 15, 2018 at 08:49:02AM -0700, William Stein wrote: >> On Thu, Mar 15, 2018 at 7:43 AM, Emmanuel Charpentier >> wrote: >> > [...] However, most CASes now available do

Re: [sage-devel] Re: Move the automatic_names() feature into the Sage interpreter proper

2018-03-20 Thread Erik Bray
On Fri, Mar 16, 2018 at 6:13 PM, William Stein wrote: > On Fri, Mar 16, 2018 at 9:47 AM, Nils Bruin wrote: >> On Thursday, March 15, 2018 at 7:43:45 AM UTC-7, Emmanuel Charpentier wrote: >>> >>> Two chronic offenders are Maxima's solver and differential equation

Re: [sage-devel] Re: Shortcoming in Jupyter Notebook w.r.t. latex in help

2018-03-20 Thread Erik Bray
On Mon, Mar 19, 2018 at 8:43 PM, William Stein wrote: > On Mon, Mar 19, 2018 at 4:42 AM, Erik Bray wrote: >> It looks like, just from reading the Jupyter docs, this where we can >> control what '?' returns at the kernel level: >>

[sage-devel] Re: scipy failed in sage-8.1

2018-03-20 Thread Dima Pasechnik
On Tuesday, March 20, 2018 at 1:13:55 AM UTC, Samuel Lelievre wrote: > > Mon 2018-03-19 21:30:59 UTC: > > > > On a separate issue, I find it sad to have to use Google to contact Sage. > > The questions and answers site "Ask Sage" at https://ask.sagemath.org/ > lets you ask questions in a