That seems useful to me.
On Tue, Feb 3, 2015 at 3:58 PM, Warren Weckesser warren.weckes...@gmail.com
wrote:
I have an implementation of the Heaviside function as numpy ufunc. Is
there any interest in adding this to numpy? The function is simply:
0if x 0
-- Forwarded message --
From: *Brian Joseph* brianse...@gmail.com
Date: Thursday, September 25, 2014
Subject: Sport Rock Friday?
To: Aron Ahmadia a...@ahmadia.net
Hey Aron want to hit up Sport Rock tomorrow night? Meg and I would like to
go. Meg has to work until 8, so how does
Sorry for the SPAM folks. Itchy smartphone :)
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion
On Mon, Jun 9, 2014 at 8:52 PM, Sturla Molden sturla.mol...@gmail.com
wrote:
If we report a segfault Apple will probably think we are to blame. 99.9 %
of bug reports come from idiots, and those who screen bug reports are
basically payed to hit the ignore button. Indeed, good luck on reporting
Very cool!
On Tue, May 27, 2014 at 12:57 AM, Nicolas Rougier
nicolas.roug...@inria.frwrote:
Hi all,
I've updated the numpy exercices collection and made it available on
github at:
https://github.com/rougier/numpy-100
These exercices mainly comes from this mailing list and also from
On the one hand it would be nice to actually know whether posix_memalign
is important, before making api decisions on this basis.
FWIW: On the lightweight IBM cores that the extremely popular BlueGene
machines were based on, accessing unaligned memory raised system faults.
The default behavior
) for some notes on this.
A
On Thu, Apr 17, 2014 at 10:18 AM, Nathaniel Smith n...@pobox.com wrote:
On 17 Apr 2014 15:09, Aron Ahmadia a...@ahmadia.net wrote:
On the one hand it would be nice to actually know whether
posix_memalign is important, before making api decisions on this basis
Fernando is referring to this: http://lightningpython.org/
I have to admit that as a Pythonist supporting Windows builds, Cygwin
and/or MinGW have always been the most appealing because so much of the
rest of the numerical computing infrastructure is primarily supported on
UNIXy platforms.
A
Thanks Matthew for putting this page together.
The OpenBLAS guys have been accepting/merging pull requests (their GitHub
tree shows 26 contributors and no open pull requests), and I know that
several people from the Python and Julia community have gotten pull
requests merged. I modified your
On Mon, Mar 17, 2014 at 7:53 AM, Nathaniel Smith n...@pobox.com wrote:
The thread so far, it sounds like the consensus answer is meh,
whatever. So I'm thinking we should just drop @@ from the PEP, and if
it turns out that this is a problem we can always revisit it in the
~3.6/3.7 timeframe.
That's the best news I've had all week.
Thanks for all your work on this Nathan.
-A
On Fri, Mar 14, 2014 at 8:51 PM, Nathaniel Smith n...@pobox.com wrote:
Well, that was fast. Guido says he'll accept the addition of '@' as an
infix operator for matrix multiplication, once some details are
Hi Leo,
Out of curiosity, which vector math libraries did you have in mind as
likely candidates for inclusion? How are you planning on selecting the
library to integrate?
Cheers,
Aron
On Wed, Mar 12, 2014 at 12:52 PM, Leo Mao lmao20...@gmail.com wrote:
Hi,
The attachment is my draft of
On Sun, Oct 27, 2013 at 9:42 PM, Neil Girdhar mistersh...@gmail.com wrote:
Yeah, I realized that I missed that and figured it wouldn't matter since
it was my own master and I don't plan on making other changes to numpy. If
you don't mind, how do I move my changelist into a branch? I'm really
FWIW, I think it's a really cool project. I'm not the target demographic
at PyCon, but I would be very surprised if this isn't a well-received talk.
On Tue, Oct 15, 2013 at 12:13 PM, Yaroslav Halchenko
li...@onerussian.comwrote:
Hi Guys,
PyCon 2014 will be just around the corner from where
If you're using IPython (strongly recommended)
a?
a??
If you're just using Python
help(a)
A
On Mon, Oct 7, 2013 at 1:15 PM, Siegfried Gonzi
sgo...@staffmail.ed.ac.uk wrote:
Hi all
What is the equivalent to IDL its help function, e.g.
==
IDL a = make_array(23,23,)
IDL help,a
will
Hey folks,
The mathematicians over at Walking Randomly have expressed some
dissatisfaction with the lack of warnings when solving nearly-singular
matrices:
http://www.walkingrandomly.com/?p=5092
An issue has been raised here: https://github.com/numpy/numpy/issues/3755
The Julia developers are
if the
library name is the same.
HTH
Fred
On Mon, Aug 5, 2013 at 5:06 PM, Aron Ahmadia a...@ahmadia.net wrote:
Dear NumPy Developers,
In the Clawpack/* repositories [1], we use a mixture of Fortran and
Python source, currently glued together using f2py.
Occasionally, we'll need to link
Dear NumPy Developers,
In the Clawpack/* repositories [1], we use a mixture of Fortran and Python
source, currently glued together using f2py.
Occasionally, we'll need to link the Fortran code directly against LAPACK.
In particular, we're using dgeev and dgesv to solve several different
Riemann
Hi Petro,
What version of numpy are you running?
A
On Thu, Jun 13, 2013 at 3:50 PM, Pietro Bonfa' pietro.bo...@fis.unipr.itwrote:
Dear Numpy users,
I have a memory leak in my code. A simple way to reproduce my problem is:
import numpy
class test():
def __init__(self):
Hi Jon,
I have personally never used f2py to link to library code, but according to
the documentation:
http://cens.ioc.ee/projects/f2py2e/usersguide/index.html#command-f2py
if you are building a module (that is, invoking f2py -c), then you can
either include the path to the .a file directly at
multiarray is an extension module that lives within numpy/core, that is,
when, import multiarray is called, (and it's the first imported extension
module in numpy), multiarray.ext (ext being dll on Windows I guess), gets
dynamically loaded.
No module named multiarray is indicating problems with
Pat Marion at Kitware did some work on this, I'm pinging him on the thread.
A
On Tue, Mar 12, 2013 at 2:05 PM, Dinesh B Vadhia
dineshbvad...@hotmail.comwrote:
**
Does that mean numpy won't work with freeze/create_executable type of
tools or is there a workaround?
*From:* Aron Ahmadia
All open source software and research projects with numpy in the stack,
including PyClaw and petsc4py.
A
On Saturday, December 15, 2012, Ralf Gommers wrote:
On Sat, Dec 15, 2012 at 2:21 PM, Aron Ahmadia
a...@ahmadia.netjavascript:_e({}, 'cvml', 'a...@ahmadia.net');
wrote:
Ralf,
Does
Ralf,
Does performance testing come under building/testing?
If so,
Aron Ahmadia
OS X.8
Thanks,
A
On Sat, Dec 15, 2012 at 8:13 AM, Ralf Gommers ralf.gomm...@gmail.comwrote:
On Sat, Dec 15, 2012 at 5:06 AM, Chris Barker - NOAA Federal
chris.bar...@noaa.gov wrote:
Ralf,
Do
All open source software and research projects with numpy in the stack,
including PyClaw and petsc4py.
A
On Saturday, December 15, 2012, Ralf Gommers wrote:
On Sat, Dec 15, 2012 at 2:21 PM, Aron Ahmadia
a...@ahmadia.netjavascript:_e({}, 'cvml', 'a...@ahmadia.net');
wrote:
Ralf,
Does
Todd,
I am optimistic and I think it would be a good idea to put this in. A
couple previous studies [1] haven't found any useful speedups from in-core
applications for Morton-order, and if you have results for real scientific
applications using numpy this would not only be great, but the
Dear Jack,
You are starting to ask questions that should be easily answered by 5
minutes of your own time using a search engine. Speaking for myself, I'm a
volunteer here, and I want to help people learn and use Python, but I also
expect that you will put some of your own effort into tracking
Hi Jack,
import os
Traceback (most recent call last):
File stdin, line 1, in module
ImportError: No module named os
You've got a broken local python install. Did you try following the
instructions here: http://stackoverflow.com/a/622810/122022?
It is probably easiest to ask your system
I'm repeating myself, but did you try following the
instructions here: http://stackoverflow.com/a/622810/122022?
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion
Hi Rahul,
Very cool! I'm looking forward to seeing some performance results! Anders
Logg posted a computational challenge to G+ about a month ago, and we got
entries in Octave, Fortran, Python, and Julia (all implementing the same
solution from Jed Brown). The challenge is here:
Can you expand a bit? Are you trying to disable threads at
compile-time or at run-time? Which threaded functionality are you
trying to disable? Are you using numpy as a computational library
with multiple threads making calls into its functions? I think
NPY_ALLOW_THREADS is for interacting
Are you running the valgrind test with the Python suppression file:
http://svn.python.org/projects/python/trunk/Misc/valgrind-python.supp ?
Cheers,
A
On Wed, Sep 5, 2012 at 10:14 PM, Yaroslav Halchenko li...@onerussian.comwrote:
and another, quite weird one -- initially it was crashing with
The Eigen3 project (http://eigen.tuxfamily.org/index.php?title=Main_Page)
is more mature, but it's good to see a new contender in the field.
A
On Wed, Aug 29, 2012 at 1:59 PM, Neal Becker ndbeck...@gmail.com wrote:
This looks interesting:
http://code.google.com/p/blaze-lib/
Hi all,
Installing numpy 1.6.2 against a Python interpreter built with the
--without threads currently fails due to missing references
to PyGILState_Ensure and PyGILState_Release. The references appear to be
coming from the following code in nditer.c.src:
NPY_NO_EXPORT void
Some parts of the numpy code release the GIL, so it needs to be reacquired
in order to call the Python C_API. A quick look shows a call to
PyObject_Print in the function and there may be other such calls. The right
fix is probably to use a couple of ifdefs if there is an easy way to
determine
`python setup.py install --user` should install bumpy in a ~/.local
directory, you'll just have to update your PYTHONPATH
As of Python 2.6/3.x, ~/.local is searched after is added before the system
site directories but after Python's search paths and PYTHONPATH. See PEP
370 for more details
FWIW, on my OS X.6.8 system, using a brew-installed python, and installing
into /usr/local/lib, the symbols appear to be present:
❯ nm /usr/local/lib/python2.7/site-packages/numpy/core/multiarray.so | grep
ceil
U _ceil
U _ceilf
U _ceill
Hi David,
Apple's response here is somewhat confusing, but I will add that on the
supercomputing side of things we rarely fork, as this is not well-supported
from the vendors or the hardware (it's hard enough to performantly spawn
500,000 processes statically, doing this dynamically becomes even
Responding to both Dag and David,
OpenMP is pretty widespread in supercomputing, and so is OpenMP +
multiple threads using LAPACK at the same time. This does NOT sound like
any issue with multiprocessing to me.
These are built on dynamic thread-level (pthreads), not process-level
I (or somebody else) needs to fix 325, Ralf pointed out that I was slightly
too aggressive preferring gfortran on vendor operating systems. I think I
should be able to fix this in the next couple of hours, I've been
delinquent in getting back to it.
A
On Tue, Jul 17, 2012 at 3:56 PM, Travis
Aron made this change for {mac, linux, posix, sun, irix, aix} in his PR. I
think it's a good idea for {mac, linux} and perhaps posix, and to leave the
other platforms alone. Does anyone else have an opinion on this?
Ralf, that sounds good to me. If you feel that we should leave sun, irix,
I usually find these problems by searching for error in the output, in
your case the complete problem is at the bottom of the log. The relocation
errors you're seeing are happening because the build process is trying to
link in Atlas libraries (located here: /home/hxc249/lib/atlas/lib/) that
were
Disclosure: I'm not a numpy developer
You've certainly got a functional numpy installation if those are the only
two tests failing. Those two tests are related to the distance between
floating-point numbers using long double precision (128 bits). If you're
not using long doubles, then you
As I mentioned before, numpy-related questions would be welcome on scicomp,
and this would have the advantage of bringing in scientists and
mathematicians from related fields who might be able to answer numerical
questions that sit between mathematics, programming, and science that you
might not
I and Geoff are moderators on scicomp, I'm happy to invest the effort in
getting the community started there. One way to use scicomp is like a
blog/faq, that is, if you get a specific question a lot here on the list or
elsewhere, you can ask and answer it yourself on scicomp. If others find
the
We try to support numpy questions on http://scicomp.stackexchange.com,
which is a StackOverflow site dedicated towards technical computing issues
that gets a fair amount of traffic from mathematicians and computational
scientists. We could always use more questions and answerers :)
A
On Thu,
Did you mean http://programmers.stackexchange.com? The meta sites on *.
stackexchange.com are used (as one might guess) for meta discussions on the
site.
A
On Thu, Jun 28, 2012 at 4:58 PM, Cera, Tim t...@cerazone.net wrote:
Similar to http://scicomp.stackexchange.com there is
.
https://github.com/numpy/numpy/pull/325
A
On Wed, Jun 27, 2012 at 10:46 PM, Ralf Gommers
ralf.gomm...@googlemail.comwrote:
On Mon, Jun 18, 2012 at 9:47 AM, Aron Ahmadia a...@ahmadia.net wrote:
f2py, by default, seems to prefer g77 (no longer maintained, deprecated,
speedy, doesn't support
f2py, by default, seems to prefer g77 (no longer maintained, deprecated,
speedy, doesn't support Fortran 90 or Fortran 95) over gfortran
(maintained, slower, Fortran 90 and Fortran 95 support).
This causes problems when we try to compile Fortran 90 extensions using
f2py on platforms where both
49 matches
Mail list logo