[sage-devel] Fwd: SciPy 2018 dates and call for abstracts

2017-12-14 Thread Paul Ivanov
Mark Your Calendar for SciPy 2018! July 9-15, 2018 | Austin, Texas - *Tutorials:* July 9-10, 2018 - *Conference (Talks and Posters):* July 11-13, 2018 - *Sprints: *July 14-15, 2018 SciPy 2018, the 17th annual Scientific Computing with Python conference, will be held July 9-15, 2018 in

Re: [sage-devel] dicts in doctests

2017-12-14 Thread Nils Bruin
On Thursday, December 14, 2017 at 3:29:32 AM UTC-8, Erik Bray wrote: > > To be clear, the code I wrote above specifically pertains to dicts > that are embedded in the __repr__ of some object. In other words, > that code goes in the __repr__ implementation, not the example/test. > This ensures

Re: [sage-devel] Re: About solve(x*abs(x)==1, x)

2017-12-14 Thread Ralf Stephan
On Thursday, December 14, 2017 at 6:17:00 AM UTC+1, Jori Mäntysalo wrote: > > I don't use. I was asked about this by a man who teaches course about > "Computer programs for mathematics and statistics". And he is not happy > about this. > Tell him solving in general is hard, esp. if there are

[sage-devel] Re: About solve(x*abs(x)==1, x)

2017-12-14 Thread Ralf Stephan
On Thursday, December 14, 2017 at 1:36:27 AM UTC+1, rjf wrote: > > Whether there is a feasible "upgrade" to just use sympy's > solve is perhaps another path. > Indeed, with Sage-8.1: sage: solve(x*abs(x)==1, x, algorithm='sympy') ValueError: Absolute values cannot be inverted in the complex

[sage-devel] Re: Error downloading gmpy2-2.1.0a1.tar.gz

2017-12-14 Thread Volker Braun
thanks, fixed! On Thursday, December 14, 2017 at 8:34:06 AM UTC+1, vdelecroix wrote: > > Hello, > > The tarball for gmpy2 has not been updated on the mirrors. > > Vincent > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from

[sage-devel] Re: networkx BipartiteGraph

2017-12-14 Thread Dima Pasechnik
On Thursday, December 14, 2017 at 11:29:33 AM UTC, Antonio Rojas wrote: > > El Thu, 14 Dec 2017 11:09:17 +, Vincent Delecroix escribió: > > > What about > > > > sage: A = networkx.complete_bipartite_graph(2r, 3r) > > That works correctly: > > sage:

[sage-devel] Re: networkx BipartiteGraph

2017-12-14 Thread Antonio Rojas
El Thu, 14 Dec 2017 11:09:17 +, Vincent Delecroix escribió: > What about > > sage: A = networkx.complete_bipartite_graph(2r, 3r) That works correctly: sage: A=networkx.complete_bipartite_graph(2r,3r) sage: list(A.edges()) [(0, 2), (0, 3), (0, 4), (1, 2), (1, 3), (1, 4)] -- You received

Re: [sage-devel] dicts in doctests

2017-12-14 Thread Erik Bray
On Thu, Dec 14, 2017 at 12:01 PM, John Cremona wrote: > > > On 14 December 2017 at 10:57, Erik Bray wrote: >> >> On Wed, Dec 13, 2017 at 3:23 AM, Maarten Derickx >> wrote: >> > >> > >> > On Tuesday, 12 December 2017

Re: [sage-devel] networkx BipartiteGraph

2017-12-14 Thread Vincent Delecroix
What about sage: A = networkx.complete_bipartite_graph(2r, 3r) On 14/12/2017 09:57, Antonio Rojas wrote: Hi all, In Arch we have upgraded networkx to version 2. This comes with major API changes that affect Sage's interface, and I'm currently trying to fix these issues. I'm struggling with a

Re: [sage-devel] dicts in doctests

2017-12-14 Thread John Cremona
On 14 December 2017 at 10:57, Erik Bray wrote: > On Wed, Dec 13, 2017 at 3:23 AM, Maarten Derickx > wrote: > > > > > > On Tuesday, 12 December 2017 15:30:39 UTC+1, Erik Bray wrote: > >> > >> On Fri, Dec 8, 2017 at 10:10 AM, Erik Bray

Re: [sage-devel] dicts in doctests

2017-12-14 Thread Erik Bray
On Wed, Dec 13, 2017 at 3:23 AM, Maarten Derickx wrote: > > > On Tuesday, 12 December 2017 15:30:39 UTC+1, Erik Bray wrote: >> >> On Fri, Dec 8, 2017 at 10:10 AM, Erik Bray wrote: >> > On Thu, Dec 7, 2017 at 12:56 AM, Michael Orlitzky

Re: [sage-devel] dicts in doctests

2017-12-14 Thread Erik Bray
On Wed, Dec 13, 2017 at 5:15 AM, Michael Orlitzky wrote: > On 12/12/2017 09:30 AM, Erik Bray wrote: >> >> Another workaround that's so obvious I smacked myself on the head is >> that for many cases, particularly objects that have a small dict in >> their representation, is

[sage-devel] Re: networkx BipartiteGraph

2017-12-14 Thread Dima Pasechnik
On Thursday, December 14, 2017 at 9:57:25 AM UTC, Antonio Rojas wrote: > > Hi all, > In Arch we have upgraded networkx to version 2. This comes with major > API changes that affect Sage's interface, and I'm currently trying to fix > these issues. I'm struggling with a particular issue with

[sage-devel] networkx BipartiteGraph

2017-12-14 Thread Antonio Rojas
Hi all, In Arch we have upgraded networkx to version 2. This comes with major API changes that affect Sage's interface, and I'm currently trying to fix these issues. I'm struggling with a particular issue with bipartite graphs. In pure ipython, this code gives: In [1]: import networkx In [2]:

[sage-devel] Re: request to build/test mac-app on OSX 10.13

2017-12-14 Thread Dima Pasechnik
On Thursday, December 14, 2017 at 3:38:13 AM UTC, John H Palmieri wrote: > > I tried this. First I build sage, then did > > $ cd src/mac-app > $ make > > This led to an apparent error: > > mkdir -p sage-8.1-OSX_10.13.2_x86_64 > make: *** No rule to make target >

[sage-devel] Re: request to build/test mac-app on OSX 10.13

2017-12-14 Thread Dima Pasechnik
On Thursday, December 14, 2017 at 3:32:27 AM UTC, kcrisman wrote: > > > > On Wednesday, December 13, 2017 at 7:18:46 AM UTC-5, Dima Pasechnik wrote: >> >> Could anyone who happens to be using OSX 10.13 check whether mac-app >> builds and works? >> We have a recent thread here "Sage 8.1 building