[sage-support] Re: [sage-devel] Coming SageMathCell upgrade - please test!

2016-04-18 Thread Andrey Novoseltsev
To summarize what was discovered so far: 1) Chrome does not work: I unfortunately tend to forget that different browsers/OS should be tested - I was working on Firefox under Debian, will try to fix is next weekend. Location should not matter when you use the name of the server directly (sagecell.s

Re: [sage-support] How do I define a morphism/function/map of sets?

2016-04-18 Thread John H Palmieri
Thanks, FiniteSetMaps might be what I want, but I'll keep both approaches in mind. John On Monday, April 18, 2016 at 3:51:27 PM UTC-7, vdelecroix wrote: > > I read the end of your mail too late. The following works with lambda > functions. > > sage: S = FiniteEnumeratedSet([1,2,3]) > sage:

Re: [sage-support] How do I define a morphism/function/map of sets?

2016-04-18 Thread Vincent Delecroix
I read the end of your mail too late. The following works with lambda functions. sage: S = FiniteEnumeratedSet([1,2,3]) sage: T = FiniteEnumeratedSet([4,5,6,7]) sage: d = {1:5, 2:7, 3:5} sage: f = S.hom(lambda x: d[x], T) sage: f(1) 5 sage: f(2) 7 sage: f(3) 5 Otherwise you should have a look a

Re: [sage-support] How do I define a morphism/function/map of sets?

2016-04-18 Thread Vincent Delecroix
It should... but Sage does not recognize that 2 belongs to S. Note that the following works sage: S = FiniteEnumeratedSet([1,2,3]) sage: T = FiniteEnumeratedSet([4,5,6,7]) sage: f = S.hom(lambda x: 3+x, T) sage: f(1) 4 Vincent On 18/04/16 15:02, John H Palmieri wrote: How do I define a functi

[sage-support] How do I define a morphism/function/map of sets?

2016-04-18 Thread John H Palmieri
How do I define a function between finite sets within the category framework? Should the following work? sage: S = Set([1,2,3]) sage: T = Set([4,5,6,7]) sage: f = S.hom(lambda x: 3+x, T) sage: f Generic morphism: From: {1, 2, 3} To: {4, 5, 6, 7} sage: f(2)

[sage-support] Re: [sage-devel] Coming SageMathCell upgrade - please test!

2016-04-18 Thread Eric Gourgoulhon
Hi, Le lundi 18 avril 2016 10:58:48 UTC+2, Thierry (sage-googlesucks@xxx) a écrit : > > Hi, > > it works almost well on iceweasel (Firefox 38.7.1) on Debian jessie > (stable). I see however two issues. > > First, autocompletion does not work, when i click on , the cursor > jumps on "Evaluate

[sage-support] Sagetex plots

2016-04-18 Thread João Alberto Ferreira
I am trying sagetex in cloud.sagemath.com. Sagetex manual says at the top of page 7, that if nothing is specified for the , "width=.75\textwidth" will be used. It's a good thing, so the plots do not extrapolate page margins. However, it's not working, and we should pass explicit the above comma

[sage-support] Re: [sage-devel] Coming SageMathCell upgrade - please test!

2016-04-18 Thread Thierry
Hi, it works almost well on iceweasel (Firefox 38.7.1) on Debian jessie (stable). I see however two issues. First, autocompletion does not work, when i click on , the cursor jumps on "Evaluate" button. I tried on the older version and it works, so it is a regression. Second, when trying a plot3d

[sage-support] Re: Once sage worked, but now it does not work by doing the same thing.

2016-04-18 Thread slelievre
2016-04-17 22:12:33 UTC+2, ana...@g.uky.edu on sage-support: > > I use Mac 10.10.4. > > The other day, sage worked. > When I coded > $./sage > in the directory /SageMath in terminal, > sage popped up and I could use it. > > But now, if I do the same thing, or if I run the following command, >

[sage-support] Re: Coming SageMathCell upgrade - please test!

2016-04-18 Thread Dima Pasechnik
works on firefox, but does not give a window to evaluate on Chrome, 49.0.2623.87 (64-bit) (both browsers the same machine, on Ubuntu 14.04) On Monday, April 18, 2016 at 1:29:49 AM UTC+1, Andrey Novoseltsev wrote: > > Hello and sorry for cross-posting, I'm trying to maximize visibility. > > After

[sage-support] Re: [sage-devel] Re: Coming SageMathCell upgrade - please test!

2016-04-18 Thread Bruno Grenet
Works fine on Firefox 45.0 in Linux Mint. Le 18/04/2016 08:35, mmarco a écrit : Forgot to mention, I am using chromium in Linux. El lunes, 18 de abril de 2016, 8:34:54 (UTC+2), mmarco escribió: Same Here. El lunes, 18 de abril de 2016, 4:49:50 (UTC+2), Kwankyu Lee escribió: T