JJ wrote:
Hello:
I would like to make a numpy array accessible in C++ as a matrix template
library (MTL) matrix object. Has anyone done this before? I see that there
is a project numpy_boost that will make numpy arrays accessible as
boost::multi_array objects. Any ideas on how I might
David Cournapeau wrote:
The details will depend on your matrix library, but the underlying numpy
array object has a full C api, so you can do whatever you want with it
in your C++ code. But it can get quite messy :)
I don't know for MTL, and for C++, boost can be useful, like Neal
suggested.
On Wed, Apr 01, 2009 at 01:40:54AM +, Hans-Andreas Engel wrote:
By the way, matrix multiplication is one of the testcases for the generalized
ufuncs in numpy 1.3 -- this makes playing around with it easy:
In [1]: N = 10; a = randn(N, 4, 4); b = randn(N, 4, 4)
In [2]: import
On Wed, Apr 01, 2009 at 08:40:15PM +, Pauli Virtanen wrote:
It was an incompatibility of Numpy's autosummary extension and
Sphinx = 0.6. It should now be fixed in Numpy trunk.
autosummary is now in Sphinx (= 0.6). Shouldn't we be using Sphinx's
version, and default to ours for versions of
Hi All,
I got the undefined symbol: PyUnicodeUCS2_FromUnicode error when
importing numpy.
I have my own non-root version of python 2.5.4 final installed with
--prefix=$HOME/usr.
PYTHONHOME=$HOME/usr;
PYTHONPATH=$PYTHONHOME/lib:$PYTHONHOME/lib/python2.5/site-packages/
install and import other
On Wed, Apr 8, 2009 at 03:05, charlie charlie.xia@gmail.com wrote:
Hi All,
I got the undefined symbol: PyUnicodeUCS2_FromUnicode error when
importing numpy.
I have my own non-root version of python 2.5.4 final installed with
--prefix=$HOME/usr.
PYTHONHOME=$HOME/usr;
charlie wrote:
Hi All,
I got the undefined symbol: PyUnicodeUCS2_FromUnicode error when
importing numpy.
I have my own non-root version of python 2.5.4 final installed with
--prefix=$HOME/usr.
PYTHONHOME=$HOME/usr;
PYTHONPATH=$PYTHONHOME/lib:$PYTHONHOME/lib/python2.5/site-packages/
charlie wrote:
Hi All,
Hi Charlie,
I got the undefined symbol: PyUnicodeUCS2_FromUnicode error when
importing numpy.
I have my own non-root version of python 2.5.4 final installed with
--prefix=$HOME/usr.
PYTHONHOME=$HOME/usr;
Wed, 08 Apr 2009 09:59:50 +0200, Gael Varoquaux kirjoitti:
On Wed, Apr 01, 2009 at 08:40:15PM +, Pauli Virtanen wrote:
It was an incompatibility of Numpy's autosummary extension and Sphinx
= 0.6. It should now be fixed in Numpy trunk.
autosummary is now in Sphinx (= 0.6). Shouldn't we be
Hello,
Summary: is it possible to distribute, optionally or not, the blas /
lapack libraries that numpy is built against, with the numpy binary
installers?
We at the NIPY project have run into what seems like a recurring
problem; we want to build our code against both numpy and lapack, on
On Wed, Apr 08, 2009 at 12:44:02PM -0700, Matthew Brett wrote:
Summary: is it possible to distribute, optionally or not, the blas /
lapack libraries that numpy is built against, with the numpy binary
installers?
You mean the unlinked libraries (.a or .so), and the corresponding
headers, I
hi there --
for a numpy.recarray, is it possible to rename the fields in the dtype?
thanks a bunch
elaine
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion
On Apr 8, 2009, at 5:57 PM, Elaine Angelino wrote:
hi there --
for a numpy.recarray, is it possible to rename the fields in the
dtype?
Take a new view:
a = np.array([(1,1)],dtype=[('a',int),('b',int)])
b = a.view([(A,int), ('b', int)])
or:
use numpy.lib.recfunctions.rename_fields
2009/4/9 Pierre GM pgmdevl...@gmail.com:
for a numpy.recarray, is it possible to rename the fields in the
dtype?
Take a new view:
a = np.array([(1,1)],dtype=[('a',int),('b',int)])
b = a.view([(A,int), ('b', int)])
or:
use numpy.lib.recfunctions.rename_fields
Or change the names
On Apr 8, 2009, at 6:18 PM, Stéfan van der Walt wrote:
2009/4/9 Pierre GM pgmdevl...@gmail.com:
for a numpy.recarray, is it possible to rename the fields in the
dtype?
Take a new view:
a = np.array([(1,1)],dtype=[('a',int),('b',int)])
b = a.view([(A,int), ('b', int)])
or:
use
Hello,
I want to make an array of size sqrt(n) by sqrt(n) by 3, filled with special
values.
The values range from 0.0 to 3.0, starting with 0.0 at one corner and ending
at 3.0 in the opposite, increasing going row by row. The value is to be
encoded in each color. Because this is somewhat
Hi Matthew,
On Thu, Apr 9, 2009 at 4:44 AM, Matthew Brett matthew.br...@gmail.com wrote:
Hello,
Summary: is it possible to distribute, optionally or not, the blas /
lapack libraries that numpy is built against, with the numpy binary
installers?
Yes, it is possible.
We at the NIPY project
Hi,
We at the NIPY project have run into what seems like a recurring
problem; we want to build our code against both numpy and lapack, on
windows, linux and OS X.
No problem of course if we've done a development install - we already
needed to have blas/lapack.
I am not sure I understand:
On Thu, Apr 09, 2009 at 11:11:13AM +0900, David Cournapeau wrote:
No problem of course if we've done a development install - we already
needed to have blas/lapack.
I am not sure I understand: why do you need blas/lapack to build
projects ? Does NiPY itself uses blas/lapack ?
NiPy uses
Matthew Brett wrote:
Yes it does...
Ok.
Yes, I know, hence my suggestion of something more practical in the
short term. I wonder whether the installer could be:
by default, smallish, with just numpy, with the option of pulling down
the lapack libraries from the web on installation
20 matches
Mail list logo