A corollary to this is that relevant documentation should not exist in
the TESTS block. And those edge cases should be documented. If the
user wants to know more, foo?? will give them the Only True
Documentation, which happens to include the TESTS block.
[x] 'foo?' should NOT display TESTS
Hold on, why do you want to rule out zero? It seems like a dumb thing
to do a search at depth zero, but raising an error rather than
returning a trivial result is infuriating to a user.
On Sat, Sep 26, 2015 at 11:06 AM, John H Palmieri
wrote:
>
>
> On Saturday, September
On Tue, Jun 30, 2015 at 11:14 PM, Jori Mäntysalo jori.mantys...@uta.fi wrote:
Maybe. But it would be quite nasty to interpret it that way, if we know that
propably it is not what was meant.
You say nasty, I say that's the legal ramification of distributing his
code under GPLv3+. We agree on
what he's getting into.
On Tue, Jun 30, 2015 at 12:15 PM, William Stein wst...@gmail.com wrote:
On Tue, Jun 30, 2015 at 11:28 AM, Tom Boothby tomas.boot...@gmail.com wrote:
On Tue, Jun 30, 2015 at 11:12 AM, Jori Mäntysalo jori.mantys...@uta.fi
wrote:
Duh. Then what he means when saying
I spoke with Brendan McKay personally less than a month ago. He is
fully aware about the restrictions, and utterly unmoved by the
difficulty his license creates.
On Mon, Jun 29, 2015 at 4:30 AM, Jori Mäntysalo jori.mantys...@uta.fi wrote:
More about licenses, see
On Tue, Jun 30, 2015 at 11:12 AM, Jori Mäntysalo jori.mantys...@uta.fi wrote:
Duh. Then what he means when saying that we can ignore it for incorporation
into Sage?
Only he can clarify that. If he releases the source under a
GPL-compatible license, then we have evidence that he means what he
If a @cached_method accepts mutable objects, that's a bug.
On Tue, Jun 23, 2015 at 12:48 AM, Volker Braun vbraun.n...@gmail.com wrote:
On Tuesday, June 23, 2015 at 3:40:24 AM UTC+2, William wrote:
What about something explicit, e.g.,
A.add_inplace(B)
which would mutate A and be very clear
This is a little silly,
sage: any(v == x for x in d.breadth_first_search(d.neighbors_out(v)))
as
sage: v in d.breadth_first_search(d.neighbors_out(v))
is equivalent, easier to read, and a tiny bit faster.
On Mon, Jun 22, 2015 at 4:32 AM, Nathann Cohen nathann.co...@gmail.com wrote:
Probably
Wow, is that some top-shelf navel lint. Perhaps we should call the
language WolframWolframWolfram, or WWW for short. Then, Stephen and
Al Gore can fight over who invented what.
On Thu, Jun 11, 2015 at 1:28 PM, Dr. David Kirkby (Kirkby Microwave
Ltd) drkir...@kirkbymicrowave.co.uk wrote:
On 11
House of Graphs has a similar goal; perhaps it would be better to
implement an interface to HoG like we have for OEIS, rather than
reinvent the wheel.
http://hog.grinvin.org/
--
You received this message because you are subscribed to the Google Groups
sage-devel group.
To unsubscribe from this
That's never worked. You probably want
sage: cartesian_product([1,2,3], [1,2,3])
On Fri, Mar 6, 2015 at 10:59 AM, William Stein wst...@gmail.com wrote:
Hi,
I'm unhappy that this doesn't work:
sage: cartesian_product([[1,2,3], [1,2,3]])
BOOM!
It seems clear from the docstring
d'oh, I misread that, and mentally converted cartesian_product to its
camelcase variant.
On Fri, Mar 6, 2015 at 11:32 AM, William Stein wst...@gmail.com wrote:
On Fri, Mar 6, 2015 at 11:29 AM, Tom Boothby tomas.boot...@gmail.com wrote:
That's never worked. You probably want
sage
The irony of this is staggering, if not surprising. +1
--
You received this message because you are subscribed to the Google Groups
sage-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email
to sage-devel+unsubscr...@googlegroups.com.
To post to this
Ya know... Nathann. Buddy. Calling out people who may have had
complaints that could trigger a discussion about a code of conduct is
a bully move. Please avoid doing this in the future. If you want to
vent your spleen, you're welcome to do it on sage-flame.
On Tue, Nov 25, 2014 at 6:37 PM,
Indeed, on a second reading, my post was an overreaction. I apologize
for that. I don't see where I broke it clearly and cleanly at [your]
expense. If you'd like to tell me publicly or privately where I've
misstepped, I'm not going to put up a fight.
On Wed, Nov 26, 2014 at 8:44 AM, Nathann
In my mind, moving a conversation to sage-flame is a constructive,
if imperfect way to handle conversations that are going off the deep
end. It's a way that we can flag a conversation as being
inappropriate for the tone of sage-devel without pointing fingers. If
somebody doesn't want to
On Tue, Nov 18, 2014 at 10:36 AM, William Stein wst...@gmail.com wrote:
Given the potentially political nature of such a choice, one
possibility is to do something apolitical, and select based on
ownership. In particular, based on lines of code contributed to Sage,
which is an (imperfect!)
had me right until the point I saw as of today (1/4)
On Mon, Mar 31, 2014 at 4:56 PM, François Bissey
francois.bis...@canterbury.ac.nz wrote:
On Mon, 31 Mar 2014 19:55:47 Stephen Kauffman wrote:
On 3/31/2014 7:53 PM, François Bissey wrote:
On Mon, 31 Mar 2014 19:50:30 Stephen Kauffman
IIRC, the bottleneck to computing the spectra of large graphs is in
the construction of the adjacency matrix. I don't know why.
On Wed, Mar 26, 2014 at 3:28 PM, Paul Mercat merc...@yahoo.fr wrote:
Le mercredi 26 mars 2014 22:56:46 UTC+1, Dima Pasechnik a écrit :
On 2014-03-26, Paul Mercat
lol... IIRC, William has gotten a few libraries to change their
licenses. It is a genuine request, and there is no blackmail here.
On Sun, Mar 16, 2014 at 11:23 AM, Volker Braun vbraun.n...@gmail.com wrote:
As far as Sage is concerned, anything that is GPLv3 compatible is fine (this
includes
On Thu, Feb 27, 2014 at 8:31 AM, Dr. David Kirkby drkir...@gmail.com wrote:
I like the fact the picture on his desktop is of him.
Dave
Isn't yours?
--
You received this message because you are subscribed to the Google Groups
sage-devel group.
To unsubscribe from this group and stop
By default, I agree with you -- foo.is_blah() should be boolean.
However, I agree with Nathann. When there are extra parameters, we
should be able to return other stuff.
On Thu, Feb 27, 2014 at 6:51 AM, Dima Pasechnik dimp...@gmail.com wrote:
I am reviewing
On Sun, Jan 5, 2014 at 2:47 PM, Martin Albrecht
martinralbre...@googlemail.com wrote:
I remember that dinner... where I had license discussions with an
intoxicated Germans...
Makes sense: as far as I know the Sage rule is you're *only* allowed to
discuss licenses if you are intoxicated.
The boundary code does get used... though it's fairly specialized --
it's for the UW Math REU.
On Sun, Dec 8, 2013 at 2:58 AM, Nathann Cohen nathann.co...@gmail.com wrote:
Hell everybody !!
While working on #15278, Simon rediscovered the boundary graph parameter.
Turns out that
On Thu, Dec 5, 2013 at 9:50 PM, Nils Bruin nbr...@sfu.ca wrote:
It will be very hard to beat the simple closed formula
( (i1) ^^ i for i in xrange(2^n) )
Yes indeed -- with a formula like that, there's little reason not to
implement it ad-hoc every time. Unless a user wants it, and doesn't
Well too darned bad, 'cause I'm gonna share the magic formula I just
found anyway:
[((i-i)-1).popcount() for i in srange(1,2^n)]
from http://aggregate.org/MAGIC/
On Fri, Dec 6, 2013 at 6:42 AM, Nathann Cohen nathann.co...@gmail.com wrote:
Yo !!
Yes indeed -- with a formula like
I implemented something similar for permutations 'cause I needed it:
http://hg.sagemath.org/sage-main/src/f0ee3538887fe739601babb54e177ec5e1133b7a/sage/combinat/permutation_cython.pyx?at=default
On Wed, Dec 4, 2013 at 1:52 PM, Nathann Cohen nathann.co...@gmail.com wrote:
Helloo everybody !
I'm working on overhauling a class (see [1]) that wraps some c++, and
I've got just about everything working how I want... but I have a
nagging doubt about performance.
Is the following fast? Can it be made fast without a bunch of ugly
python c-api stuff?
cdef tupletuple(vector[vector[int]] M):
lol, really? Can I then toss that back to python?
On Mon, Oct 21, 2013 at 10:19 AM, Robert Bradshaw
rober...@math.washington.edu wrote:
How about
cdef tupletuple(vector[vector[int]] M):
return M
On Mon, Oct 21, 2013 at 8:48 AM, Tom Boothby tomas.boot...@gmail.com wrote:
I'm
):
return M
def identity(tuple t):
return tupletuple(t)
On Mon, Oct 21, 2013 at 10:28 AM, Tom Boothby tomas.boot...@gmail.com wrote:
lol, really? Can I then toss that back to python?
On Mon, Oct 21, 2013 at 10:19 AM, Robert Bradshaw
rober...@math.washington.edu wrote:
How about
raise RuntimeError,Could not obtain comic data from %s . Maybe you
should enable time travel!%url
You gave up on this too early, IMO. I'd from __future__ import *
and then try the url again.
For the more pragmatic, you can fairly accurately predict when that
url will come live, and just sleep
1. I agree that discrete was a poor name choice
2. Would we want to add a package that implements a single (very
elementary) class? (no)
3. I, for one, would like to keep Sage's documentation apolitical --
I'd rather to see some mathematical examples than those provided.
On Thu, Sep 26, 2013 at
If the dictionary is a bijection, I use:
{v:k for k,v in d.iteritems()}
Otherwise, I use defaultdict:
d_inv=defaultdict(list)
map(lambda(k,v):d_inv[v].append(k), d.items())
For iso/automorphisms of graphs, I often wish that dictionaries were
both callable and invertible. In general, yes, I
I will argue against False. We've had the convention that
Graph().is_connected() is True for the last n years. This was an
arbitrary (if heedless) choice at the boundary of several definitions.
It doesn't seem to be an undue source of bugs, so the only impact of
changing this arbitrary choice
I have a script I use to convert a boolean function into an equivalent
CNF boolean function so I can use a SAT solver on arbitrary boolean
functions. I hoped to use SymbolicLogic, but it was so lacking, I
rolled my own. Off with its head!
On Thu, Jul 11, 2013 at 3:07 PM, William Stein
This shouldn't really come as a surprise. From the Cython documentation,
This is about 20 times slower, but still about 10 times faster than
the original Python-only integration code. This shows how large the
speed-ups can easily be when whole loops are moved from Python code
into a Cython
On Tue, Apr 9, 2013 at 1:44 PM, Nils Bruin nbr...@sfu.ca wrote:
Since it is entirely unclear from that tutorial what the factor 20 (or
the factor 10) refers to, I would not have understood that code to
mean even the fastest path of a cpdef function is slower than a
cdef. There is a lot of
No worries. I just proved that Sage does not infringe Estatis Inc.'s
intellectual property. We're cool.
On Mon, Feb 18, 2013 at 5:23 PM, kcrisman kcris...@gmail.com wrote:
fun
How did we ever get along trying to prove theorems with more than one axiom?
Jernej,
While somebody is at this, Maple has graphs, too.
On Wed, Jan 23, 2013 at 11:52 AM, Jernej Azarija azi.std...@gmail.com wrote:
Hello!
This question is related to the following page
http://trac.sagemath.org/sage_trac/wiki/GraphTheoryRoadmap
As one can see the last time it was
prod() does just what you want.
On Tue, Dec 4, 2012 at 5:53 PM, Michael Orlitzky mich...@orlitzky.com wrote:
I've been carrying this around in my init.sage. Is there really nothing
like it in the library? If not, any reason not to add it?
##
from functools import reduce
def
Hey Rob,
I ran into something similar a little while back in sage-5.0
sage: G = Graph([(0,1,0),(0,1,0)])
sage: G.num_edges()
4
but IIRC, it was fixed in 5.3.
On Wed, Nov 28, 2012 at 8:02 PM, Rob Beezer goo...@beezer.cotse.net wrote:
Anybody recognise this bug? I don't see anything in Trac.
to claim any extra credit or something, here is
the track ticket:
http://trac.sagemath.org/sage_trac/ticket/13721
On Tuesday, 30 October 2012 18:19:26 UTC+1, Dima Pasechnik wrote:
On 2012-10-30, Tom Boothby tomas@gmail.com wrote:
Oops, didn't see your reply before I posted. Not counting
]
On Mon, Oct 29, 2012 at 11:41 AM, Tom Boothby tomas@gmail.com
wrote:
Wanna run that on connected graphs? I get the correct sequence out
to
n=9 for
def ec(n)
c = 0
for g in graphs(n):
if g.is_connected() and
g.line_graph().is_vertex_transitive
Oops, didn't see your reply before I posted. Not counting the empty
graph is very very strange. At the very least OEIS needs to be
updated to have a proper definition to warn people that the empty
graph is excluded.
On Tue, Oct 30, 2012 at 4:23 AM, Dima Pasechnik dimp...@gmail.com wrote:
On
Thank you, Jernej, for bringing up this issue. Turns out I've been
lazy, and hadn't carefully thought about degenerate cases. The line
graph is a bad test because the claw and triangle have the same line
graph... the disconnected pair (claw + C_3) has a vertex-transitive
line graph! The
I use G.line_graph().is_vertex_transitive()
On Mon, Oct 29, 2012 at 7:12 AM, Jernej Azarija azi.std...@gmail.com wrote:
Hello!
I am slowly implementing a patch that will provide some features for
symmetry testing of graphs.
However I am already puzzled by the following attempt at testing
Wanna run that on connected graphs? I get the correct sequence out to n=9 for
def ec(n)
c = 0
for g in graphs(n):
if g.is_connected() and g.line_graph().is_vertex_transitive():
c+= 1
return c
On Mon, Oct 29, 2012 at 11:37 AM, Jernej Azarija azi.std...@gmail.com
Sorry, I meant n=8.
sage: print [ec(n) for n in range(9)]
[1, 1, 1, 2, 3, 4, 6, 5, 8]
On Mon, Oct 29, 2012 at 11:41 AM, Tom Boothby tomas.boot...@gmail.com wrote:
Wanna run that on connected graphs? I get the correct sequence out to n=9 for
def ec(n)
c = 0
for g in graphs(n
or a bizarre mistake in the
implementation?
On Monday, 29 October 2012 20:02:40 UTC+1, Tom wrote:
Sorry, I meant n=8.
sage: print [ec(n) for n in range(9)]
[1, 1, 1, 2, 3, 4, 6, 5, 8]
On Mon, Oct 29, 2012 at 11:41 AM, Tom Boothby tomas@gmail.com wrote:
Wanna run that on connected graphs? I get
Philipp,
The ticket already has some comments from Martin -- it needs doctests, etc.
When I looked at the code, I found the documentation about the various
substitution strategies. The docstrings should list the strategies
and give an explanation for how they work.
Regards,
Tom
On Thu, Oct
Thanks, Martin, I hadn't thought about that -- Debian/IceWeasel is an
excellent example of things that can go wrong. Trademarks are useless
if impinged and not challenged. If people start making SageThis and
SageThat, we may lose control.
Per the norm, when sticky legal questions arise, I think
Found a nice feature of Python's approach.
License for this Policy
Interested parties may adapt this policy document freely under the
Creative Commons CC0 license:
On Thu, May 31, 2012 at 11:50 PM, Tom Boothby tomas.boot...@gmail.com wrote:
Thanks, Martin, I hadn't thought about that -- Debian
I think this makes a lot of sense from a legal perspective (IANAL).
My only concern is: how legally binding is asking this question on
sage-devel with a 5-day turnaround?
On Thu, May 31, 2012 at 4:08 PM, William Stein wst...@gmail.com wrote:
On Thu, May 31, 2012 at 12:20 PM, Jason Grout
At one point, Victor Miller, William Stein and I looked at interfacing
directly to minisat, but IMO, we stopped due to a lack of a nice
interface. I've tried to rewrite my SAT approach every time I solve a
new problem with SAT solvers -- forcing me to rethink it every time.
In general, I've
I typically draw them top-to-bottom. I've seen them called string
diagrams by people in pattern avoidance.
On Tue, Apr 24, 2012 at 8:24 AM, Nathann Cohen nathann.co...@gmail.com wrote:
Helloo everybody !!!
Because of a former post on this google group [1] I created the following
patch
Oh man, that's a shame. I really thought we were gonna get a real
productivity boost out of spooning. And, of course, knifing.
On Mon, Apr 2, 2012 at 6:38 AM, Jason Grout jason-s...@creativetrax.com wrote:
Just so we are clear, some (but not all) of the posts yesterday were jokes
posted as
Christian, this is far from standard. It's fairly discombobulated
scratch work. The objects aren't even classes.
If you look for the cell that starts out:
CatCat = CatalanCatalog()
CatCat.add_type('c','binary tree',...
and execute that, then things should work better for you. The
relevant
Yes, this was suggested to me after I'd abandoned the catalog I
posted. I'm fairly sure that most, if not all of my bijections follow
directly from the recursive structure of Catalan objects.
On Mon, Mar 26, 2012 at 10:25 AM, matthew Drescher knav...@gmail.com wrote:
i would be interested. I
On Tue, Mar 13, 2012 at 6:29 AM, David Kirkby david.kir...@onetel.net wrote:
On 12 March 2012 01:57, Tom Boothby tomas.boot...@gmail.com wrote:
On Sun, Mar 11, 2012 at 12:01 PM, Dr. David Kirkby
I take exception to what he said:
It'll probably be related to my goal in the next year or two
On Tue, Mar 13, 2012 at 8:30 AM, David Kirkby david.kir...@onetel.net wrote:
On 13 March 2012 13:42, Tom Boothby tomas.boot...@gmail.com wrote:
On Tue, Mar 13, 2012 at 6:29 AM, David Kirkby david.kir...@onetel.net
wrote:
Two years ago, few would believe that a computer could win Jeopardy
On Sun, Mar 11, 2012 at 12:01 PM, Dr. David Kirkby
david.kir...@onetel.net wrote:
On 03/11/12 05:00 PM, Volker Braun wrote:
On Saturday, March 10, 2012 3:59:24 PM UTC-5, Dr. David Kirkby wrote:
HARD
C++, Mathematica
The Mathematica language is just difficult because its ugly and uses
On Thu, Jan 26, 2012 at 10:13 AM, Robert Bradshaw
rober...@math.washington.edu wrote:
To get a quick sense of what people think about this, I've decided to
rephrase this as a survey. To be clear, though this coincides with
Matlab syntax, the intent is not to try to make Sage a Matlab clone,
On Thu, Jan 26, 2012 at 12:09 PM, Jason Grout
jason-s...@creativetrax.com wrote:
Another option would be:
[QQ: 1,2,3; 4,5,6]
QQ:1 is a slice...
or, as Robert suggests:
[1,2,3; 4,5,6, base_ring=QQ] -- but then it looks like base_ring=QQ is
another element.
assignments aren't literals...
have the notion of matrices, so it's doubly
clear (perhaps once you get the SyntaxError) that it's a Sage-only
feature.
On Thu, Jan 26, 2012 at 12:30 PM, Tom Boothby tomas.boot...@gmail.com wrote:
On Thu, Jan 26, 2012 at 12:09 PM, Jason Grout
jason-s...@creativetrax.com wrote:
Another option
On Thu, Jan 26, 2012 at 3:21 PM, Robert Bradshaw
rober...@math.washington.edu wrote:
On Thu, Jan 26, 2012 at 3:08 PM, Tom Boothby tomas.boot...@gmail.com wrote:
On Thu, Jan 26, 2012 at 2:36 PM, Robert Bradshaw
rober...@math.washington.edu wrote:
On Thu, Jan 26, 2012 at 1:51 PM, Michael
On Thu, Jan 26, 2012 at 5:15 PM, David Roe r...@math.harvard.edu wrote:
Another issue: do we allow [1..10; 10..20]?
We probably shouldn't go to extra effort to support it.
I can't seem to construct
matrices with matrix entries (this is not absurd) -- but should the
preparser grok it?
Jason,
I've been working with nonisomorphic colorings recently. I use the following:
def canonical_coloring_label(G,c):
Given a coloring dictionary,
{color1 : [u1, u2, ...], color2 : [v1, v2, ... ], ... }
return a string which uniquely identifies the
By this logic, no bugs should be fixed, because they aren't covered in
the warranty... this isn't a healthy attitude.
On Tue, Jan 3, 2012 at 2:39 PM, Michael Orlitzky mich...@orlitzky.com wrote:
This is an old ticket to catch misspellings of 'sage:' in doctests:
On Wed, Nov 30, 2011 at 6:52 AM, Simon King simon.k...@uni-jena.de wrote:
Hi Dima,
On 30 Nov., 15:29, Dima Pasechnik dimp...@gmail.com wrote:
I might get blamed for making discouraging remarks, but let me play the
devil's advocate:
I wonder if these kinds of speed-ups are to be beaten,
I'm seriously interested in cythonizing generators. If there's
funding, I'd be delighted to come and hack for a week.
On Thu, Nov 24, 2011 at 8:08 AM, Vincent Delecroix
20100.delecr...@gmail.com wrote:
2011/11/24 Florent Hivert florent.hiv...@lri.fr:
I'm thinking about organizing a small
On Thu, Nov 24, 2011 at 9:25 PM, rjf fate...@gmail.com wrote:
William seems to prefer to tout the Sage-Cython link.
That's because we use Cython, and it's easy to use in Sage, and
provides a fully-functional language-native interface between Cython
and Sage. Not a single part of that is true
I'll doctest polynomial_compiled this week, since it's 100% my fault.
On Sun, Nov 13, 2011 at 12:41 PM, William Stein wst...@gmail.com wrote:
Hi Sage Developers,
After deleting the server directory we need to add doctests to
about588 more functions to get coverage to 90%, which is a major goal
Is it possible to move/merge the OpenID accounts over to sagenb.org?
On Wed, Nov 9, 2011 at 8:03 AM, Jason Grout jason-s...@creativetrax.com
wrote:
Is anyone using flask.sagenb.org? It is now an obsolete experiment, since
the new flask notebook is running on sagenb.org and the cutting-edge
I'm using it. I'll save relevant worksheets elsewhere.
On Wed, Nov 9, 2011 at 8:03 AM, Jason Grout jason-s...@creativetrax.com wrote:
Is anyone using flask.sagenb.org? It is now an obsolete experiment, since
the new flask notebook is running on sagenb.org and the cutting-edge flask
notebook
On Thu, Nov 3, 2011 at 9:28 PM, leif not.rea...@online.de wrote:
On 4 Nov., 02:15, Tom Boothby tomas.boot...@gmail.com wrote:
This is fairly easy to do with @parallel:
def fast(x):
return x
def slow(x):
sleep(x)
return x
def slower(x):
sleep(x*x)
return x
The @parallel instance kills its still-running children once it drops
out of scope. This happens immediately after the return statement is
executed. Since I merely call .next() on the generator, the first one
to finish gets picked out in milliseconds, and the remainders are axed
almost
This is fairly easy to do with @parallel:
def fast(x):
return x
def slow(x):
sleep(x)
return x
def slower(x):
sleep(x*x)
return x
algorithms = [slower, slow, fast]
@parallel(len(algorithms))
def fastest(i,x):
global algorithms
return algorithms[i](x)
def
Bruce,
Please keep posting here; or at the very least, copy me on the
conversation. I'm curious how your ribbon graphs differ from
orientable maps. I implemented Graph.genus(), which enumerates
rotation systems which represent a given graph embedded on an
orientable surface.
To me, a rotation
I capitulate on the hidden file idea, in favor of putting 'em in
~/.sage/ though one might note that we're exchanging one hidden file
for another ;)
On Tue, Sep 20, 2011 at 6:47 PM, John H Palmieri jhpalmier...@gmail.com wrote:
On Tuesday, September 20, 2011 5:46:03 PM UTC-7, Tom wrote:
+1 to
+1 to .file.py, since it'll hide the file from directory listings.
On Tue, Sep 20, 2011 at 1:23 PM, Felix Salfelder fe...@salfelder.org wrote:
On Tue, Sep 20, 2011 at 12:55:32PM -0700, John H Palmieri wrote:
Should sage-preparse name the preparsed file something safer, in order to
prevent name
I uniformized the behavior of 0^0 a long time ago (though I make no
claim about what has happened between then and now -- just that it was
uniform for a few precious minutes). The decision back then (which I
still stand behind) is that while it is mathematically unjustifiable,
it's Python's
On Mon, Sep 12, 2011 at 10:18 PM, Dima Pasechnik dimp...@gmail.com wrote:
I guess this all boils down to the point made by William - that _pow_ needs
to be integrated into the coersion framework (currently it is not).
+1. Also, I should point out that I didn't make the decision myself
back
A plane tree is a tree with an embedding into the plane.
A planar tree is a tree which can be embedded in the plane. Every
tree is planar, so this term is offensive and redundant.
Please don't put planar tree anywhere in Sage.
On Sun, Sep 11, 2011 at 5:37 AM, Vincent Delecroix
Do you want all users to be able to change the variable? You could
easily make variable support local, but not superglobal writes by
putting its definition in all.py
On Fri, Jul 15, 2011 at 11:45 AM, VictorMiller victorsmil...@gmail.com wrote:
I'd like to have a python very global variable --
This is exceptionally strange:
sage: def x(a,1):
sage: return a+1
sage: print x(1,5)
6
In my opinion, that's a bug, as is
sage: def y(a,b=1):
sage:return a+b
sage: 1=5
sage: y(1)
6
Thoughts?
--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from
Thanks, Nils. I've found another great example:
class 0:
def 0(0):
return 0
On Fri, Jun 24, 2011 at 7:53 PM, Nils Bruin nbr...@sfu.ca wrote:
This is now http://trac.sagemath.org/sage_trac/ticket/11542
There are some ideas there on how to fix this.
--
To post to this group,
Feel free to unimport BinaryTree from everywhere, and only import it
in compiled_polynomial.
On Mon, Jun 13, 2011 at 7:43 AM, Florent Hivert
florent.hiv...@univ-rouen.fr wrote:
Hi Simon,
On Mon, Jun 13, 2011 at 01:03:07PM +0200, Florent hivert wrote:
So I'd like to have a vote for
']
Robert Miller ['9128', '9621', '10153', '10497']
mario pernici ['9826']
Willem Jan Palenstijn ['9465', '10555']
William Stein ['10319', '5352', '10926', '5187', '11307']
Tom Boothby ['10192']
David Loeffler ['4578']
Nishanth Amuluru ['9729']
Tom Coates ['10679']
Minh Van Nguyen ['8821']
Robert Bradshaw
On Wed, May 25, 2011 at 3:49 PM, John H Palmieri jhpalmier...@gmail.com wrote:
My first objection is that it assigns too many tickets to me for review :)
:) As Francois pointed out, it assigns you tickets because you're one
of a few rockstar developers who indiscriminately fix / review
tickets
On Wed, May 25, 2011 at 4:25 PM, Robert Bradshaw
rober...@math.washington.edu wrote:
I don't think it would be more offensive, but I think it would be less
effective. (I certainly ignore machine-generated nag emails better
than personal ones.
I've sent out these emails two or three times total
On Wed, May 25, 2011 at 5:03 PM, William Stein wst...@gmail.com wrote:
This is similar to nagbot, which I wrote for the same purpose in a few
hours at a Sage days in Leiden:
http://sage.math.washington.edu/home/wstein/nagbot/
People found it annoying. But it's better than nothing.
We
I've been reviewing #10804, which was merged in sage-4.7.1.alpha0. I
though this was a done deal... but apparently not. In the meantime,
#10549 got a positive review. It conflicted with #10804. Jeroen,
acting RM (for which I'm immensely grateful), backed out #10804 and
marked both patches
On Tue, May 10, 2011 at 10:37 PM, Mike Hansen mhan...@gmail.com wrote:
On Tue, May 10, 2011 at 6:52 PM, Rob Beezer goo...@beezer.cotse.net wrote:
OK, thanks for the explanation, Tom. p.exponents() was the missing
piece I did not have.
It would probably make sense to have p.monomials() method
Yeah, I thought this was a bug too at one point. I discussed it with
Craig Citro, and we were all ready to open a ticket when William
overheard us and pointed out that it was made to be consistent with
symbolics.
The convention makes the following nice:
for c,e in zip(p.coefficients(),
The spammer's account is named Lila Marion, can somebody with access
delete it?
On Wed, Apr 20, 2011 at 6:26 PM, Tom Boothby tomas.boot...@gmail.com wrote:
Thanks Ryan, fixed.
On Wed, Apr 20, 2011 at 6:18 PM, Ryan Grout ayr...@gmail.com wrote:
Hi,
Am I the only one seeing a funny starting
On Mon, Apr 18, 2011 at 1:11 PM, Jason Grout
jason-s...@creativetrax.com wrote:
Instead of keeping track of dependencies back to 4.6.2, for example, can we
just list a dependency as 4.7.alpha4 and have the build-bot understand
that as a meta-dependency and apply everything up to 4.7.alpha4?
On Sun, Apr 10, 2011 at 1:10 PM, Stefan van Zwam
stefanvanz...@gmail.com wrote:
3) ???
Option 3: rejoice, the work has been done for you!
http://www.sagemath.org/doc/reference/sage/misc/bitset.html
--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this
On Thu, Apr 7, 2011 at 4:37 PM, Christian Stump
christian.st...@gmail.com wrote:
- is there a Sage implementation of permutation groups, or only the
gap implementation (it takes very long to go through the elements of a
permutation group, even in small examples)?
Christian,
Robert Miller has
On Fri, Apr 8, 2011 at 10:27 AM, Jason B Hill jason.b.h...@colorado.edu wrote:
The only real exception I see to accessibility of the theory is in the
partition backtrack algorithms themselves. Those simply need to be
written in a language that is appropriate for consumption. As far as I
know,
Hello all,
I'm currently taking a course on graph limits, and we've recently been
discussing the algebra of quantum graphs. Some of this stuff is too
incredible not to implement, so I knocked something together, and I've
been playing with it for the past few days. What I'm writing is pure
1 - 100 of 280 matches
Mail list logo