Pearu Peterson wrote:
>
>> Anyway, scons does not
>> require anything else than a python interpreter. Actually, an explicit
>> requirement of scons is to support any python starting at version 1.5.2
>> (this is another important point which I consider important for a
>> replacement of numpy.dis
Matthieu Brucher wrote:
>
> > I don't what he meant by a broken libc, if it is the fact that there
> > is a lot of deprecated standard functions, I don't call it broken
> > (besides, this deprecation follows a technical paper that
> describe the
> > new safe functions, although
On Tue, 2 Oct 2007, "David M. Cooke" apparently wrote:
> Should be fixed now.
The update seems to work for all my students who
were having problems.
Thank you,
Alan Isaac
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.
On 11/10/2007, Mark Janikas <[EMAIL PROTECTED]> wrote:
> If you do not know the size of your array before you finalize it, then
> you should use lists whenever you can. I just cooked up a short
> example:
> # Result #
> Total Time with array: 2.12951189331
> Total Time with list: 0.0469
Pearu Peterson wrote:
> David Cournapeau wrote:
>> Pearu Peterson wrote:
>>> I think this is good.
>>> Does scons require python-dev? If not then this will solve one of the
>>> frequent issues that new users may experience: not installed distutils.
>> Isn't distutils included in python library ?
>
If you do not know the size of your array before you finalize it, then
you should use lists whenever you can. I just cooked up a short
example:
##
import timeit
import numpy as N
values = range(1)
def appendArray(values):
Basically, what you want to do is a histogram. Numpy has that
functionality built in. However: the version built in to numpy is about
as suboptimal as yours. The problem is the unnecessary sorting of the data.
In principle, a histogram does not need any sorting, so it could be done
in strictly O(N
On 11/10/2007, Robert Kern <[EMAIL PROTECTED]> wrote:
> Appending to a list then converting the list to an array is the most
> straightforward way to do it. If the performance of this isn't a problem, I
> recommend leaving it alone.
Thanks, I'll leave it as is - I was just wondering if there was
On 10/10/07, Anne Archibald <[EMAIL PROTECTED]> wrote:
>
> On 11/10/2007, Robert Kern <[EMAIL PROTECTED]> wrote:
>
> > Appending to a list then converting the list to an array is the most
> > straightforward way to do it. If the performance of this isn't a
> problem, I
> > recommend leaving it alon
David Cournapeau wrote:
> Pearu Peterson wrote:
>> I think this is good.
>> Does scons require python-dev? If not then this will solve one of the
>> frequent issues that new users may experience: not installed distutils.
> Isn't distutils included in python library ?
Not always. For example, in de
>
> > I don't what he meant by a broken libc, if it is the fact that there
> > is a lot of deprecated standard functions, I don't call it broken
> > (besides, this deprecation follows a technical paper that describe the
> > new safe functions, although it does not deprecate these functions).
> If u
Pearu Peterson wrote:
>
> I think this is good.
> Does scons require python-dev? If not then this will solve one of the
> frequent issues that new users may experience: not installed distutils.
Isn't distutils included in python library ? Anyway, scons does not
require anything else than a python
David Cournapeau wrote:
> Pearu Peterson wrote:
>> 2) It seems that scons does not interfare with numpy.distutils much.
>> If this is true and numpy/scipy builds will not break when scons is
>> not installed then I think you could continue the scons support
>> development in trunk.
> It won't bre
Pearu Peterson wrote:
> Hi,
>
> Examples look good. It seems that you have lots of work ahead;) to add
> numpy.distutils features that are required to build numpy/scipy.
>
Hi Pearu,
Thanks for reviewing this, especially since you are arguably the
most knowledgeable about this part of numpy :)
Hi,
Examples look good. It seems that you have lots of work ahead;) to add
numpy.distutils features that are required to build numpy/scipy.
Few comments:
1) Why SConstruct does not have extension? It looks like a python file
and .py extension could be used.
2) It seems that scons does not interf
Matthieu Brucher wrote:
>
> > The 2.6 seems to use VC 2005 Express, I don't know about py3000(?),
> > with associated upgrade issues.
> But what if the next MS compiler has again broken libc
> implementation ?
> (Incidently, VS2005 was not used for python2.5 for even more
>
>
> > The 2.6 seems to use VC 2005 Express, I don't know about py3000(?),
> > with associated upgrade issues.
> But what if the next MS compiler has again broken libc implementation ?
> (Incidently, VS2005 was not used for python2.5 for even more broken libc
> than in 2003):
> http://mail.python.or
17 matches
Mail list logo