Re: [Numpy-discussion] Grief with a complex value

2006-11-10 Thread Joris De Ridder
a good way to do it. They could download the Example List once and save it in a HTML file on their local disk... Joris Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm - Using Tomcat but need to do more? Need to

Re: [Numpy-discussion] Grief with a complex value

2006-11-09 Thread joris
NumPy can do. So I would like to add a categorized overview of the NumPy functions. Cheers, Joris Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm - Using Tomcat but need to do more? Need to support web ser

Re: [Numpy-discussion] matrix multiplication (newbie question)

2006-11-08 Thread Joris De Ridder
[im]: Sorry if this is an obvious question, but what is the easiest way to multiply matrices in numpy? Suppose I want to do A=B*C*D. The ' * ' operator apparently does element wise multiplication, as does the 'multiply' ufunc. [im] All I could find was the numeric function 'matrix_multipl

Re: [Numpy-discussion] dtype() examples that used to work

2006-10-30 Thread Joris De Ridder
On Friday 27 October 2006 19:06, Francesc Altet wrote: [FA]: for example: [FA]: [FA]: In [67]: dtype([('f1', int16)]) [FA]: Out[67]: dtype([('f1', 'http://www.kuleuven.be/cwis/email_disclaimer.htm - Using Tomcat

Re: [Numpy-discussion] astype() behaviour

2006-10-30 Thread Joris De Ridder
On Friday 27 October 2006 19:01, Francesc Altet wrote: [FA]: A Divendres 27 Octubre 2006 17:58, Joris De Ridder va escriure: [FA]: > Hi, [FA]: > [FA]: > Is the following behaviour of astype() intentional in NumPy 1.0? [FA]: > [FA]: > >>> x

[Numpy-discussion] dtype() examples that used to work

2006-10-27 Thread Joris De Ridder
Hi, The following did once work in NumPy: >>> dtype([int16]) >>> dtype([[int16]]) >>> dtype([uint,int32]) >>> dtype(['f8','S10']) but now they all generate a "TypeError: data type not understood". Why? I could not find the answer in help(dtype), the RecordArrays tutorial on scipy.org, the NumPy

[Numpy-discussion] astype() behaviour

2006-10-27 Thread Joris De Ridder
Hi, Is the following behaviour of astype() intentional in NumPy 1.0? >>> x = array([1,2,3]) >>> x.astype(None) array([ 1., 2., 3.]) That is, the int32 is converted to float64. J. Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm -

Re: [Numpy-discussion] degree matrix construction

2006-09-15 Thread Joris De Ridder
Forgot the link to the NEL: http://www.scipy.org/Numpy_Example_List J. Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm - Using Tomcat but need to do more? Need to support web services, security? Get stuff don

Re: [Numpy-discussion] degree matrix construction

2006-09-15 Thread Joris De Ridder
Hi, [SU]: Now, my problem is to construct a degree matrix D which is a 3 * 3 matrix with diagonal elements 4,7,7 You might have a look at the Numpy Example List, at the function diag(). Ciao, Joris Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm

Re: [Numpy-discussion] Use of numarray from numpy package

2006-08-30 Thread Joris De Ridder
without having seen how you installed it. I see that you tried >>> from numarray import * Perhaps a stupid question, but you did import numpy with >>> from numpy import * didn't you? Cheers, Joris Disclaimer: http://www

[Numpy-discussion] speed degression

2006-08-19 Thread Joris De Ridder
or k in range(1000): ...A *= zeros(100, complex) (I replaced 'complex' with 'Complex' in Numarray). Can anyone confirm this? Ciao, Joris - Using Tomcat but need to do more? Need to support

Re: [Numpy-discussion] numpy installation

2006-08-18 Thread Joris De Ridder
#x27;t find it right away... Anybody experienced something similar, or other pointers? Ciao, Joris - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technol

[Numpy-discussion] numpy installation

2006-08-18 Thread joris
pointers? Cheers, Joris Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make

[Numpy-discussion] numpy installation problem

2006-08-18 Thread Joris De Ridder
pack.a is 305k (expected >4000k) which he shouldn't use at all. Strangely enough, renaming libcombinedlapack.a to liblapack.a and adapting the site.cfg file accordingly still gives the same message. Any pointers? Joris

Re: [Numpy-discussion] comments on r_ and c_ ?

2006-07-31 Thread Joris De Ridder
I've taken care of many examples of this function in the Numpy Example List. But perhaps I'm misunderstanding your comment... Joris Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm - Take Sur

Re: [Numpy-discussion] Time for beta1 of NumPy 1.0

2006-06-30 Thread Joris De Ridder
would you accept concrete suggestions or 'help' to improve that page? Cheers, Joris Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make

[Numpy-discussion] incorporating C/C++ code

2006-06-29 Thread Joris De Ridder
y.org/documentation/weave for more info, but there is nothing anymore. Thanks in advance, Joris Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job e

Re: [Numpy-discussion] Numpy Benchmarking

2006-06-28 Thread joris
nd NumPy? Would NumPy be more difficult to install if the SciPy algorithm for inv() was incorporated? Joris Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technolo

Re: [Numpy-discussion] numpy.linalg.pinv has no docstring

2006-06-27 Thread joris
On Tuesday 27 June 2006 09:37, Nils Wagner wrote: [NW]: Please can you add a docstring to numpy.linalg.pinv. In case it might help, I added an example to the Numpy Example List (http://www.scipy.org/Numpy_Example_List) which illustrates the use of pinv(). J. Disclaimer: http://www.kuleu

Re: [Numpy-discussion] How do I make a diagonal matrix?

2006-06-23 Thread Joris De Ridder
On Friday 23 June 2006 16:34, Sven Schreiber wrote: [SS]: Keith Goodman schrieb: [SS]: > How do I make a NxN diagonal matrix with a Nx1 column vector x along [SS]: > the diagonal? [SS]: > [SS]: [SS]: >>> help(n.diag) [SS]: Help on function diag in module numpy.lib.twodim_bas

Re: [Numpy-discussion] Suggestions for NumPy

2006-06-02 Thread joris
[DC]: My only concern with this is numpy is positioned for a wider audience: [DC]: everybody who needs arrays, and the extra speed that numpy gives, but [DC]: doesn't need what scipy gives. So merging the two could lead to [DC]: confusion on what provides what, and what you need to do which.

[Numpy-discussion] Numpy, BLAS & LAPACK

2006-06-02 Thread Joris De Ridder
/_dotblas.c routine? Any other numpy functions that are affected? Joris On Friday 02 June 2006 16:16, George Nurser wrote: [GN]: Yes, using numpy.dot I get 250ms, numpy.matrixmultiply 11.8s. [GN]: [GN]: while a sans-BLAS Numeric.matrixmultiply takes 12s. [GN]: [GN]: The first 100

Re: [Numpy-discussion] numpy vs numeric benchmarks

2006-06-02 Thread Joris De Ridder
On Friday 02 June 2006 14:58, Eric Jonas wrote: [EJ]: Hello! I've been using numeric for a while, and the recent list traffic [EJ]: prompted me to finally migrate all my old code. On a whim, we were [EJ]: benchmarking numpy vs numeric and have been lead to the conclusion that [EJ]: nu

Re: [Numpy-discussion] Suggestions for NumPy

2006-06-02 Thread Joris De Ridder
numpy.org will hopefully lead to a larger SciPy community and this in turn hopefully leads to user-friendly installation procedures. Cheers, Joris Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm ___ Numpy-discussion mailing list