Chris Colbert wrote:
unless you have a visual studio 2003 compiler, you may have to use python 2.6.
Mingw works, as well. This way, you don't have to care about which VS
version to use for which python interpreter on which platform,
cheers,
David
Hi everyone,
(I sent this message yesterday as well but somehow it didn't come
through...)
I would like to ask your advice how I can use NumPy to wrap my existing
C++ library with 2-dimensional arrays. I am wrapping the library with
swig and I have the typemap function declaration. But now I
true,
I saw intel visual fortran, and made the wrong association thinking it
was some sort of visual studio plugin. (stupid, i know...)
On Thu, Jul 30, 2009 at 2:17 AM, David
Cournapeauda...@ar.media.kyoto-u.ac.jp wrote:
Chris Colbert wrote:
unless you have a visual studio 2003 compiler, you
Hi,
In fact, it's not that complicated. You may know the way how copying a
vector, and this is all you need
(http://matt.eifelle.com/2008/01/04/transforming-a-c-vector-into-a-numpy-array/).
You will have to copy your data, it is the safest way to ensure that
the data is always valid.
For the
Howdy,
we recently had a discussion about being able to do some common things
like reductions and binary operations on recarrays, and there didn't
seem to be much consensus on it being needed in the core of numpy.
Since we do actually need this quite pressingly for everyday tasks,
we wrote a
Hi Matthieu,
Thanks for your quick reply! I did not find this page earlier. I have
studied the first page and now I realize again that all my efforts so
far (last few days) have crashed on the lack of calling import_array().
Do you have a suggestion for calling import_array() as well?
Hi,
I'm sorry, I guess I did not search properly before For the record,
I solved my import_array() question: just need to add
%init %{
import_array();
%}
and the typemap for the std::vectordouble works ok. Thanks for that!
Now the rest...
Thanks
Raymond
Raymond de Vries wrote:
Hi
Hi all,
We are soliciting agenda items for the SciPy Steering Committee
meeting taking place during the SciPy09 conference.
Please view the current list at
http://www.scipy.org/SteeringCommittee_08_2009
and post new items to this thread.
Kind regards
Stéfan
2009/7/30 Raymond de Vries ree...@zonnet.nl:
Hi,
I'm sorry, I guess I did not search properly before For the record,
I solved my import_array() question: just need to add
%init %{
import_array();
%}
Indeed, the solution is as simple as this ;) The trouble is to find
the information!
Hi
Indeed, the solution is as simple as this ;) The trouble is to find
the information!
Yes, there is so much information everywhere. And it's hard to make the
first steps.
For the std::vector[], I suggest you convert it to a single vector,
as the data inside this array is not contiguous
2009/7/30 Raymond de Vries ree...@zonnet.nl:
Hi
Indeed, the solution is as simple as this ;) The trouble is to find
the information!
Yes, there is so much information everywhere. And it's hard to make the
first steps.
For the std::vector[], I suggest you convert it to a single vector,
as
Hello,
I've been using record arrays to create arrays with different types
and since I'm doing a lot of computation on each of the different
fields, the default memory layout does not serve my computations.
Ideally, I would like to have record arrays where each field is a
contiguous
On Fri, Jul 31, 2009 at 12:53 AM, Nicolas
Rougiernicolas.roug...@loria.fr wrote:
Hello,
I've been using record arrays to create arrays with different types
and since I'm doing a lot of computation on each of the different
fields, the default memory layout does not serve my computations.
Does Numpy use Python's standard math library when calculating
elementary functions such as exp(x) and acos(x)? Also, what is the
internal library of Numpy and Python's standard math library? Are they
platform independent?
___
NumPy-Discussion mailing
What are some differences between arrays and matrices using the Numpy
library? When would one want to use arrays instead of matrices and vice
versa?
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
On Thu, Jul 30, 2009 at 12:14, Nanime Puloskinpulo...@gmail.com wrote:
What are some differences between arrays and matrices using the Numpy
library?
I have already pointed you to the relevant documentation on
python-list. There really isn't a better overview.
--
Robert Kern
I have come to
Matrices are 2D array with some additional properties that make them more handy
for linear algebra. For instance
mat1*mat2
is a matrix multiplication, while
arr1*arr2
is an element by element multiplication. However
np.dot(arr1, arr2)
is a matrix multiplication between two arrays.
As a
Thanks for the quick answer. It makes sense.
I will have to find some other way to do it then.
Nicolas
On 30 Jul, 2009, at 18:52 , David Cournapeau wrote:
On Fri, Jul 31, 2009 at 12:53 AM, Nicolas
Rougiernicolas.roug...@loria.fr wrote:
Hello,
I've been using record arrays to create
I am getting this error when trying to run a script using scipy.
Python 2.5
atlas-3.9.0
lapack-3.2
numpy-1.3.0
scipy-0.7.1
Anyone any ideas how I can fix this?
Regards
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
2009/7/30 Stéfan van der Walt ste...@sun.ac.za:
I'm in favour of such a patch, but I'd like to see whether we can't do
it at the C level for structured arrays in general.
That would indeed be ideal. But I should add that I was not proposing
it as a patch, rather as a utility others might find
On Thu, Jul 30, 2009 at 7:55 AM, josef.p...@gmail.com wrote:
Are these functions really for a relevant use case of structured
arrays. I haven't seen any examples of multidimensional structured
arrays, but from a quick reading it doesn't seem to handle mixed types
(raises error) or nested
On Thu, Jul 30, 2009 at 2:41 PM, Fernando Perezfperez@gmail.com wrote:
On Thu, Jul 30, 2009 at 7:55 AM, josef.p...@gmail.com wrote:
Are these functions really for a relevant use case of structured
arrays. I haven't seen any examples of multidimensional structured
arrays, but from a quick
Could someone point me toward some information on Scipy/Numpy and
Python 3.1? I'd like to upgrade, but can't seem to find the path.
jab
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
On 2009-07-30 14:13 , BBands wrote:
Could someone point me toward some information on Scipy/Numpy and
Python 3.1? I'd like to upgrade, but can't seem to find the path.
There is no such path right now. Numpy and Scipy are only available for
Python 2.x (with x = 4). As very large C extensions,
On Thu, Jul 30, 2009 at 2:13 PM, BBands bba...@gmail.com wrote:
Could someone point me toward some information on Scipy/Numpy and
Python 3.1? I'd like to upgrade, but can't seem to find the path.
Scipy/Numpy are have not yet been ported to python 3.x
Ryan
--
Ryan May
Graduate Research
Dear folks,
just over a month ago there was a thread about plans for numpy, and IIRC
somebody had volunteered to try and put together a working AMD64 version
with an installer.
Since then I have not heard about the issue again - but I may have
missed part of the discussion. Have the plans
29/07/09 @ 14:54 (-0700), thus spake Christopher Barker:
Robert Kern wrote:
2009/7/29 Ernest Adrogué eadro...@gmx.net:
Now, I need to be able to differentiate between 0 and 'no data'.
Is it possible to do this with the standard array class?
Not really. Use masked arrays. Or use a
On Thu, Jul 30, 2009 at 12:33 PM, Neil
Martinsen-Burrelln...@wartburg.edu wrote:
On 2009-07-30 14:13 , BBands wrote:
Could someone point me toward some information on Scipy/Numpy and
Python 3.1? I'd like to upgrade, but can't seem to find the path.
There is no such path right now. Numpy and
On 2009-07-30, Nanime Puloski npulo...@gmail.com wrote:
Does Numpy use Python's standard math library when calculating
elementary functions such as exp(x) and acos(x)?
No.
Also, what is the internal library of Numpy and Python's
standard math library?
The standard C library, plus custom
This one works for me with python2.6 for amd64 from python.org:
http://sourceforge.net/projects/numpy/files/NumPy/1.3.0/numpy-1.3.0.win-amd64-py2.6.msi/download
Thanks to David C. I believe
Klaus Noekel wrote:
Dear folks,
just over a month ago there was a thread about plans for numpy, and
Friday, August 7th 1pm CDT
How do I...speed up Python? Exploration of Weave and Cython
We wanted to let you know that next week we'll host another
installment of our popular EPD webinar series. Although only EPD Basic
or above subscribers are guaranteed seats at EPD webinars, we invite
Hi Klaus,
Klaus Noekel wrote:
Dear folks,
just over a month ago there was a thread about plans for numpy, and IIRC
somebody had volunteered to try and put together a working AMD64 version
with an installer.
Since then I have not heard about the issue again - but I may have
missed part
32 matches
Mail list logo