Re: Implicit subs syntax like f(x=1, y=2)

2008-11-26 Thread Ondrej Certik
On Wed, Nov 26, 2008 at 1:06 AM, Lance Larsen <[EMAIL PROTECTED]> wrote: > > I think it worth sending to the main mailing list one way or another. > There has been a lot of discussion on the sympy-patches list which > probably doesn't have the visibility of the sympy list. I think the > problems w

Re: [PATCH] Implemented k-subsets generator

2008-11-26 Thread Andy Ray Terrel
So I just put something like this in the vandermonde example. I would prefer something with less recursion such as: def subsets_simp(M, k, unordered=False, repetitions=False): """Generates all k-subsets from the n-items of M""" if k == 0: yield [] else: for i in xrang

Re: Improves the vandermonde example.

2008-11-26 Thread Vinzent Steinberg
Thank you for the patch! Some more (quite minor) remarks: On Nov 26, 10:58 am, "Andy Ray Terrel" <[EMAIL PROTECTED]> wrote: > On Fri, Nov 21, 2008 at 4:04 PM, Vinzent Steinberg > > > > <[EMAIL PROTECTED]> wrote: > > > On Nov 20, 11:23 pm, [EMAIL PROTECTED] wrote: > >> From: Andy R. Terrel <[EMAI

Re: Improves the vandermonde example.

2008-11-26 Thread Ondrej Certik
On Wed, Nov 26, 2008 at 3:42 PM, Vinzent Steinberg <[EMAIL PROTECTED]> wrote: > > Thank you for the patch! > > Some more (quite minor) remarks: > > On Nov 26, 10:58 am, "Andy Ray Terrel" <[EMAIL PROTECTED]> wrote: >> On Fri, Nov 21, 2008 at 4:04 PM, Vinzent Steinberg >> >> >> >> <[EMAIL PROTECTED]

Re: Improves the vandermonde example.

2008-11-26 Thread Andy Ray Terrel
On Wed, Nov 26, 2008 at 3:42 PM, Vinzent Steinberg <[EMAIL PROTECTED]> wrote: > > Thank you for the patch! > > Some more (quite minor) remarks: > > On Nov 26, 10:58 am, "Andy Ray Terrel" <[EMAIL PROTECTED]> wrote: >> On Fri, Nov 21, 2008 at 4:04 PM, Vinzent Steinberg >> >> >> >> <[EMAIL PROTECTED]

Re: Improves the vandermonde example.

2008-11-26 Thread Andy Ray Terrel
On Fri, Nov 21, 2008 at 4:04 PM, Vinzent Steinberg <[EMAIL PROTECTED]> wrote: > > > > On Nov 20, 11:23 pm, [EMAIL PROTECTED] wrote: >> From: Andy R. Terrel <[EMAIL PROTECTED]> >> >> --- >> examples/intermediate/vandermonde.py | 173 >> ++ >> 1 files changed, 155

Re: Improves the vandermonde example.

2008-11-26 Thread Vinzent Steinberg
On 26 Nov., 15:59, "Andy Ray Terrel" <[EMAIL PROTECTED]> wrote: > I don't like it because it makes inconsistent '=' notation and I find > it easier to read with the whitespace. But I bow to the community on > it because it is a small detail and conformity is better than my > independence on this

[PATCH] docs: use sphinx 0.5, enable math equations

2008-11-26 Thread Ondrej Certik
--- doc/Makefile|2 +- doc/src/conf.py |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/Makefile b/doc/Makefile index d1978b0..ec8d803 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -4,7 +4,7 @@ RST2HTML = rst2html # You can set these variables from th

Re: [PATCH] docs: use sphinx 0.5, enable math equations

2008-11-26 Thread Alan Bromborsky
Ondrej Certik wrote: > --- > doc/Makefile|2 +- > doc/src/conf.py |2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/doc/Makefile b/doc/Makefile > index d1978b0..ec8d803 100644 > --- a/doc/Makefile > +++ b/doc/Makefile > @@ -4,7 +4,7 @@ RST2HTML = rst2html

Re: [PATCH] docs: use sphinx 0.5, enable math equations

2008-11-26 Thread Alan Bromborsky
Alan Bromborsky wrote: > Ondrej Certik wrote: > >> --- >> doc/Makefile|2 +- >> doc/src/conf.py |2 +- >> 2 files changed, 2 insertions(+), 2 deletions(-) >> >> diff --git a/doc/Makefile b/doc/Makefile >> index d1978b0..ec8d803 100644 >> --- a/doc/Makefile >> +++ b/doc/Makefile >>

[PATCH] define a variable PYTHON in the doc's Makefile that let's you customize the default python interpreter

2008-11-26 Thread fabian . seoane
From: Fabian Seoane <[EMAIL PROTECTED]> useful if you have several python interpreters, but docutils not installed in all interpreters --- doc/Makefile |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/doc/Makefile b/doc/Makefile index d1978b0..37aaae3 100644 --- a/doc/

Re: [PATCH] docs: use sphinx 0.5, enable math equations

2008-11-26 Thread Alan Bromborsky
Alan Bromborsky wrote: > Alan Bromborsky wrote: > >> Ondrej Certik wrote: >> >> >>> --- >>> doc/Makefile|2 +- >>> doc/src/conf.py |2 +- >>> 2 files changed, 2 insertions(+), 2 deletions(-) >>> >>> diff --git a/doc/Makefile b/doc/Makefile >>> index d1978b0..ec8d803 100644 >

Re: Finally removed old sympy.polynomials module

2008-11-26 Thread Fabian Seoane
I pused all patches from your branch in today, thanks 2008/11/23 Ondrej Certik <[EMAIL PROTECTED]> > > On Sun, Nov 23, 2008 at 12:17 PM, Mateusz Paprocki <[EMAIL PROTECTED]> > wrote: > > > > Hi, > > > > the last missing piece - factorization routines for univariate > > and multivariate polynomial