Hi all,
Can someone reproduce the following message ?
Python 2.7.2 (default, Aug 19 2011, 20:41:43) [GCC] on
linux2
Type "help", "copyright", "credits" or "license" for more
information.
>>> import numpy
/home/nwagner/local/lib64/python2.7/site-packages/numpy/random/__init__.py:91:
RuntimeWarn
Hi all,
how do I evaluate a bivariate polynomial
p(x,y)=c_0 + c_1 x + c_2 y +c_3 x**2 + c_4 x*y+ c_5 y**2 +
c_6 x**3 + c_7 x**2*y + c_8 x*y**2+c_9*y**3 + \dots
in numpy ?
In case of univariate polynomials I can use np.polyval.
Any pointer would be appreciated.
Nils
__
Hi all,
How do I use genfromtxt to read a file with the following
lines
11 2.2592365264892578D+01
22 2.2592365264892578D+01
13 2.669845581055D+00
33 2.2592365264892578D+01
ERROR: test_polyfit (test_polynomial.TestDocs)
--
Traceback (most recent call last):
File
"/home/nwagner/local/lib64/python2.6/site-packages/numpy/lib/tests/test_polynomial.py",
line 106, in test_polyfit
weights = arange
>>> numpy.__version__
'2.0.0.dev-10db259'
==
ERROR: Test the str.format method with NumPy scalar types
--
Traceback (most recent call last):
File
"/home/nwagn
On Thu, 24 Feb 2011 14:26:01 -0500
Frédéric Bastien wrote:
> Hi,
>
> To print the information you can do:
>
> python -c 'import numpy;numpy.__config__.show()'
>
> You can access the info directly with:
>
> numpy.distutils.__config__.blas_opt_info['library_dirs']]
> numpy.distutils.__config__
On Fri, 03 Dec 2010 08:47:32 +0100
"Nils Wagner" wrote:
> On Fri, 3 Dec 2010 00:42:16 -0700
> Charles R Harris wrote:
>> On Fri, Dec 3, 2010 at 12:29 AM, Nils Wagner
>> wrote:
>>
>>> Hi all,
>>>
>>> I have installed the latest v
On Fri, 3 Dec 2010 00:42:16 -0700
Charles R Harris wrote:
> On Fri, Dec 3, 2010 at 12:29 AM, Nils Wagner
> wrote:
>
>> Hi all,
>>
>> I have installed the latest version of numpy.
>>
>> >>> numpy.__version__
>> '2.0.0.dev-6aacc2d'
Hi all,
I have installed the latest version of numpy.
>>> numpy.__version__
'2.0.0.dev-6aacc2d'
numpy.test(verbose=2) received signal SIGABRT.
test_cdouble_2 (test_linalg.TestEig) ... ok
test_csingle (test_linalg.TestEig) ... FAIL
*** glibc detected ***
/data/home/nwagner/local/bin/python: fre
On Tue, 23 Nov 2010 16:39:13 +0100
Gerrit Holl wrote:
> 2010/11/23 Stéfan van der Walt :
>> On Tue, Nov 23, 2010 at 9:28 AM, Nils Wagner
>> wrote:
>>> "/data/home/nwagner/local/lib/python2.5/site-packages/numpy/lib/npyio.py",
>>> line 66, i
Hi all,
There are some new test errors
==
ERROR: Test with missing and filling values
--
Traceback (most recent call last):
File
"/data/home/nwagner/local/li
test_duplicate_field_names_assign
(test_regression.TestRegression) ...
FF
Program received signal SIGSEGV, Segmentation fault.
0x77b3077a in ?? () from
/usr/lib64/libpython2.6.so.1.0
(gdb) bt
#0 0x77b3077a in ?? () from
/usr/lib64/libpython2.6.so.1.0
#1 0x0
Hi all,
I have Installed numpy via git.
numpy.test() failed.
Nils
>>> import numpy
>>> numpy.__version__
'2.0.0.dev8621'
>>> numpy.test()
Running unit tests for numpy
Traceback (most recent call last):
File "", line 1, in
File
"/data/home/nwagner/local/lib/python2.5/site-packages/numpy/t
On Thu, 7 Oct 2010 09:06:55 + (UTC)
Pauli Virtanen wrote:
> Thu, 07 Oct 2010 16:34:46 +0800, Ralf Gommers wrote:
> [clip]
>> A 1.5.1 release soon would be good. All the issues above
>>are already
>> committed, is there anything else that needs to go in?
>>If not, I think
>> an RC by the en
On Wed, 06 Oct 2010 19:55:00 +0200
Christian Fischer wrote:
> Hi All,
>
> I use numpy 1.4.1 on Debian squeeze amd64.
>
> I noticed that ceil() is not working properly.
>
> If the input to ceil() is a float I expect a float to be
>returned but for inputs
> in (-1.0, 0.0) the result is of type
Hi all,
I tried to build a rpm of numpy using
python setup.py bdist --format=rpm
removing 'numpy-2.0.0.dev8460' (and everything under it)
copying dist/numpy-2.0.0.dev8460.tar.gz ->
build/bdist.linux-x86_64/rpm/SOURCES
building RPMs
rpm -ba --define _topdir
/data/home/nwagner/svn/numpy/build/bd
On Thu, 11 Mar 2010 13:42:43 +0100
Dag Sverre Seljebotn
wrote:
> Nils Wagner wrote:
>> On Thu, 11 Mar 2010 13:01:33 +0100
>> Dag Sverre Seljebotn
>> wrote:
>>
>>> Nils Wagner wrote:
>>>
>>>> On Mon,
On Thu, 11 Mar 2010 13:01:33 +0100
Dag Sverre Seljebotn
wrote:
> Nils Wagner wrote:
>> On Mon, 22 Feb 2010 22:18:23 +0900
>> David Cournapeau wrote:
>>
>>> On Mon, Feb 22, 2010 at 10:01 PM, Nils Wagner
>>> wrote:
>>>
>>>
On Mon, 22 Feb 2010 22:18:23 +0900
David Cournapeau wrote:
> On Mon, Feb 22, 2010 at 10:01 PM, Nils Wagner
> wrote:
>
>>
>> ar x test.a
>> gfortran -shared *.o -o libtest.so -lg2c
>>
>> to build a shared library. The additional option -lg2c
>&g
On Mon, 1 Mar 2010 15:49:52 -0500
josef.p...@gmail.com wrote:
> On Mon, Mar 1, 2010 at 3:23 PM, Tom Loredo
> wrote:
>>
>> Just wanted to report qualified success installing NumPy
>>& SciPy under
>> a 64-bit build of Python-2.6.4 (universal framework) on
>>OS X 10.6.2
>> (current Snow Leopard).
On Mon, 22 Feb 2010 22:18:23 +0900
David Cournapeau wrote:
> On Mon, Feb 22, 2010 at 10:01 PM, Nils Wagner
> wrote:
>
>>
>> ar x test.a
>> gfortran -shared *.o -o libtest.so -lg2c
>>
>> to build a shared library. The additional option -lg2c
>&g
On Mon, 22 Feb 2010 22:18:23 +0900
David Cournapeau wrote:
> On Mon, Feb 22, 2010 at 10:01 PM, Nils Wagner
> wrote:
>
>>
>> ar x test.a
>> gfortran -shared *.o -o libtest.so -lg2c
>>
>> to build a shared library. The additional option -lg2c
>&g
On Thu, 18 Feb 2010 22:29:39 +0900
David Cournapeau wrote:
> On Thu, Feb 18, 2010 at 10:22 PM, Nils Wagner
> wrote:
>> On Thu, 18 Feb 2010 11:55:07 +0100
>> Matthieu Brucher wrote:
>>>> Ok I have extracted the *.o files from the static
>>>>library.
On Sun, 21 Feb 2010 13:22:41 +0200
Pauli Virtanen wrote:
> Hi,
>
> Please remind me what platform you are running on. Also,
>please update
> and re-run the tests, and check the output from
>
> import numpy as np
> from numpy.core.multiarray import memorysimpleview as
>memoryview
>
> dt = [(
On Sun, 21 Feb 2010 03:30:31 -0700
Charles R Harris wrote:
> Hi All,
>
> I would be much obliged if some folks would run the
>attached script and
> report the output, numpy version, and python version. It
>just runs
> np.isinf(np.inf), which raises an "invalid value"
>warning with current
>
==
FAIL:
test_multiarray.TestNewBufferProtocol.test_export_endian
--
Traceback (most recent call last):
File
"/home/nwagner/local/lib64/python2.6/site-packag
On Thu, 18 Feb 2010 15:32:12 +0100
Dag Sverre Seljebotn
wrote:
> David Cournapeau wrote:
>> On Thu, Feb 18, 2010 at 10:22 PM, Nils Wagner
>> wrote:
>>
>>> On Thu, 18 Feb 2010 11:55:07 +0100
>>> Matthieu Brucher wrote:
>>>
>>
On Thu, 18 Feb 2010 11:55:07 +0100
Matthieu Brucher wrote:
>> Ok I have extracted the *.o files from the static
>>library.
>>
>> Applying the file command to the object files yields
>>
>> ELF 64-bit LSB relocatable, AMD x86-64, version 1
>>(SYSV),
>> not stripped
>>
>> What's that supposed to
On Thu, 18 Feb 2010 19:30:10 +0900
David Cournapeau wrote:
> Nils Wagner wrote:
>
>> How do I convert the .a library to a .so library ?
>
> You first "uncompress" the .a into a temporary
>directory, with ar x on
> Linux. Then, you group the .
On Thu, 18 Feb 2010 19:21:03 +0900
David Cournapeau wrote:
> Nils Wagner wrote:
>> On Thu, 18 Feb 2010 18:32:18 +0900
>> David Cournapeau wrote:
>>> Nils Wagner wrote:
>>>> Hi all,
>>>>
>>>> I have a static library (*.a) compiled
On Thu, 18 Feb 2010 10:15:51 + (UTC)
Neil Crighton wrote:
> Nils Wagner iam.uni-stuttgart.de> writes:
>
>> Hi David,
>>
>> you are right. It's a proprietary library.
>> I found a header file (*.h) including prototype
>> declarations of exte
On Thu, 18 Feb 2010 18:32:18 +0900
David Cournapeau wrote:
> Nils Wagner wrote:
>> Hi all,
>>
>> I have a static library (*.a) compiled by gfortran but
>>no
>> source files.
>> How can I call routines from that library using python ?
>
> Is
Hi all,
I have a static library (*.a) compiled by gfortran but no
source files.
How can I call routines from that library using python ?
Any pointer would be appreciated.
Thanks in advance.
Nils
___
On Thu, 21 Jan 2010 23:35:29 +0900
David Cournapeau wrote:
> On Thu, Jan 21, 2010 at 8:36 PM, Nils Wagner
> wrote:
>> On Thu, 21 Jan 2010 10:04:56 +0900
>> David Cournapeau wrote:
>>> Nils Wagner wrote:
>>>> Hi all,
>>>>
>&g
On Thu, 21 Jan 2010 10:04:56 +0900
David Cournapeau wrote:
> Nils Wagner wrote:
>> Hi all,
>>
>> I found a strange problem when I try to import numpy
>>
>> python -v
>>>>> import numpy
>> ...
>> dlopen("/data/home/nwagner/local
Hi all,
I found a strange problem when I try to import numpy
python -v
>>> import numpy
...
dlopen("/data/home/nwagner/local/lib/python2.5/site-packages/numpy/core/multiarray.so",
2);
Floating exception
Any idea ?
Nils
___
NumPy-Discussion mailing
Hi all,
I tried to install ipython via bzr
If I run iypthon I get
ipython
Traceback (most recent call last):
File "/home/nwagner/local/bin/ipython", line 4, in
from IPython.core.ipapp import launch_new_instance
ImportError: No module named ipapp
Any idea ?
Nils
_
Hi all,
An svn log > CHANGELOG in svn/numpy yields some blank
entries
Is that intended ?
r8055 | ariver | 2010-01-15 03:02:30 +0100 (Fr, 15 Jan
2010) | 1 line
_
---
>>> numpy.__version__
'1.5.0.dev7980'
FAIL: test_buffer_hashlib (test_regression.TestRegression)
--
Traceback (most recent call last):
File
"/home/nwagner/local/lib64/python2.6/site-packages/numpy/core/tests/test_regression.p
On Thu, 26 Nov 2009 15:14:04 +0100
Fabrice Silva wrote:
> Le jeudi 26 novembre 2009 à 14:44 +0100, Gael Varoquaux
>a écrit :
>> On Thu, Nov 26, 2009 at 02:43:14PM +0100, Fabrice Silva
>>wrote:
>> > Le jeudi 26 novembre 2009 à 18:26 +0200, Nadav Horesh
>>a écrit :
>> > > It is obvious to me th
Hi all,
is the following behaviour correct
>>> a = array(([True,True],[True,True]))
>>> b = array(([False,False],[False,False]))
>>> a+b
array([[ True, True],
[ True, True]])
I have expected False.
Nils
___
NumPy-Discussion mailing list
Hi all,
how can I obtain the multiplicity of an entry in a list
a = ['abc','def','abc','ghij']
The multiplicity of 'abc' is 2.
'def' is 1.
'ghij' is 1.
Nils
___
NumPy-Discussion mailing list
N
>>> numpy.__version__
'1.4.0.dev7528'
==
ERROR: test_from_unicode (test_defchararray.TestBasic)
--
Traceback (most recent call last):
File
"/home/nwagner/l
On Wed, 16 Sep 2009 11:41:15 -0500
Robert Kern wrote:
> On Wed, Sep 16, 2009 at 11:39, Nils
>Wagner wrote:
>> Ran 2235 tests in 25.593s
>>
>> FAILED (KNOWNFAIL=1, errors=28, failures=1)
>> >failures=1>
>>>>> imp
Ran 2235 tests in 25.593s
FAILED (KNOWNFAIL=1, errors=28, failures=1)
>>> import numpy
>>> numpy.__version__
'1.4.0.dev7400'
==
ERROR: test_basic (test_defmatrix.TestAlgebra)
-
Hi all,
Ticket http://projects.scipy.org/numpy/ticket/1216 can be
closed.
Cheers,
Nils
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion
>>> numpy.__version__
'1.4.0.dev7270'
Python 2.5.1 on 64-bit box
==
FAIL:
test_umath.TestComplexFunctions.test_precisions_consistent
--
Traceback (most recent c
Hi all,
how can I import arrays in numpy which are stored by
DumpArray in the old Numeric package ?
Nils
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion
On Tue, 21 Jul 2009 02:56:28 -0400
Pierre GM wrote:
>
> On Jul 21, 2009, at 2:42 AM, Nils Wagner wrote:
>>
>> Fixed-length fields are quite common e.g. in the area of
>> Finite Element pre/postprocessing.
>> Therefore It would be nice to have a function like
>&
On Mon, 20 Jul 2009 12:44:23 -0700
Christopher Barker wrote:
> Nils Wagner wrote:
>> How can I split the second line in such a way that I get
>>
>> ['-1.00E+00', '-1.00E+00', '-1.00E+00',
>> '-1.00E+00', '
On Tue, 21 Jul 2009 15:05:02 +0900
David Cournapeau wrote:
> Nils Wagner wrote:
>> Hi all,
>>
>> I cannot build numpy from svn.
>>
>
> Yes, I don't know why I did not caught this error on my
>machine. In any
> case, it is fixed in r7175.
Hi all,
I cannot build numpy from svn.
...
adding
'build/src.linux-x86_64-2.5/numpy/core/include/numpy/numpyconfig.h'
to sources.
executing numpy/core/code_generators/generate_numpy_api.py
numpy/core/code_generators/../src/multiarray/iterators.c
1778
Traceback (most recent call last):
Fi
On Mon, 11 May 2009 10:48:14 -0400
Alan G Isaac wrote:
> On 5/11/2009 8:36 AM Nils Wagner apparently wrote:
>> I would like to split strings made of digits after eight
>> characters each.
>
>
> [l[i*8:(i+1)*8] for i in range(le
Hi all,
Is there a Python tool to read and write files in the
so-called universal format ?
I found a Matlab implementation
http://www.mathworks.com/matlabcentral/fileexchange/6395
Any pointer would be appreciated.
Thanks in advance
Nils
http://ww
On Mon, 06 Jul 2009 16:53:42 +0200
Fabrice Silva wrote:
> Le lundi 06 juillet 2009 à 08:16 -0600, Charles R Harris
>a écrit :
>
>> Double precision breaks down at about degree 25 if
>>things are well
>> scaled, so that is suspicious in itself. Also, the
>>companion matrix
>> isn't Hermitean
On Fri, 03 Jul 2009 14:26:39 +0200
Fabrice Silva wrote:
> Le vendredi 03 juillet 2009 à 11:52 +0200, Nils Wagner a
>écrit :
>> You will need multiprecision arithmetic in that case.
>> It's an ill-conditioned problem.
>
> I may have said that the solution are of
On Fri, 03 Jul 2009 11:48:45 +0200
Fabrice Silva wrote:
> Hello
> Has anyone looked at the behaviour of the (polynomial)
>roots function
> for high-order polynomials ? I have an application which
>internally
> searches for the roots of a polynomial. It works nicely
>for order less
> than 20,
Hi all,
I am using
>>> numpy.__version__
'1.4.0.dev7094'
make html yields
/home/nwagner/svn/numpy/doc/source/reference/generated/numpy.trunc.rst::
WARNING: document isn't included in any toctree
done
preparing documents... done
Exception occurred: 2%] reference/generalized_ufuncs
ures
On Tue, 30 Jun 2009 13:51:15 -0600
Charles R Harris wrote:
> On Tue, Jun 30, 2009 at 12:26 PM, Nils Wagner
> wrote:
>
>> On Tue, 30 Jun 2009 11:10:39 -0600
>> Charles R Harris wrote:
>> > On Tue, Jun 30, 2009 at 10:56 AM, Charles R Harris <
>
On Tue, 30 Jun 2009 11:30:51 -0700 (PDT)
David Goldsmith wrote:
>
> Great, Nils! Now, can you generalize it to N-D for us?
>;-)
>
> DG
Just curious - Do you have any application for N-D case in
mind ?
Nils
___
Numpy-discussion mailing list
Num
On Tue, 30 Jun 2009 11:10:39 -0600
Charles R Harris wrote:
> On Tue, Jun 30, 2009 at 10:56 AM, Charles R Harris <
> charlesr.har...@gmail.com> wrote:
>
>>
>>
>> On Tue, Jun 30, 2009 at 10:40 AM, Nils Wagner <
>> nwag...@iam.uni-stuttgart.de> wro
On Tue, 30 Jun 2009 10:27:05 -0600
Charles R Harris wrote:
> On Tue, Jun 30, 2009 at 5:11 AM, Nils Wagner
> wrote:
>
>> On Tue, 30 Jun 2009 11:22:34 +0200
>> "Nils Wagner" wrote:
>>
>>> Hi all,
>>>
>>> How can I build the fo
On Tue, 30 Jun 2009 11:22:34 +0200
"Nils Wagner" wrote:
Hi all,
How can I build the following product with numpy
q_i = \varepsilon_{ijk} q_{kj}
where \varepsilon_{ijk} denotes the permutation symbol.
Nils
Sorry for replying to myself.
The permutation symbol is also known a
Hi all,
How can I build the following product with numpy
q_i = \varepsilon_{ijk} q_{kj}
where \varepsilon_{ijk} denotes the permutation symbol.
Nils
http://mathworld.wolfram.com/PermutationSymbol.html
___
Numpy-discussion mailing list
Numpy-discus
Hi all,
Is this a known failure ?
I am using 1.4.0.dev7069
==
FAIL: Test bug in reduceat with structured arrays copied
for speed.
--
Traceback (most recent call
On Wed, 17 Jun 2009 15:00:23 -0400
David Warde-Farley wrote:
> On 17-Jun-09, at 2:18 PM, Nils Wagner wrote:
>
>> Is there a port of numpy/scipy to Jython ?
>>
>> Any pointer would be appreciated.
>
>Folks have successfully gotten it working from IronPython
&g
Hi all,
Is there a port of numpy/scipy to Jython ?
Any pointer would be appreciated.
Thanks in advance
Nils
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-d
On Wed, 20 May 2009 10:16:08 -0500
Ryan May wrote:
> On Wed, May 20, 2009 at 10:04 AM, Nils Wagner
> wrote:
>
>> Hi all,
>>
>> Is the value of skiprows in loadtxt restricted to values
>> in [0-10] ?
>>
>> It doesn't work for skiprows=11.
>
Hi all,
Is the value of skiprows in loadtxt restricted to values
in [0-10] ?
It doesn't work for skiprows=11.
Nils
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion
On Sat, 16 May 2009 16:01:00 +0300
Quilby wrote:
> Hi-
> This is what I need to do-
>
> I have this equation-
>
> Ax = y
>
> Where A is a rational m*n matrix (m<=n), and x and y are
>vectors of
> the right size. I know A and y, I don't know what x is
>equal to. I
> also know that there is n
On Mon, 11 May 2009 14:05:13 + (UTC)
Pauli Virtanen wrote:
> Mon, 11 May 2009 14:06:07 +0200, Nils Wagner kirjoitti:
>> Can someone reproduce the following failure ? I am using
>>>>> numpy.__ver
On Mon, 11 May 2009 15:03:02 +0200
Sebastien Binet wrote:
> On Monday 11 May 2009 14:36:17 Nils Wagner wrote:
>> On Mon, 11 May 2009 14:25:46 +0200
>>
>> Francesc Alted wrote:
>> > A Monday 11 May 2009, Nils Wagner escrigué:
>> >> Hi al
On Mon, 11 May 2009 14:25:46 +0200
Francesc Alted wrote:
> A Monday 11 May 2009, Nils Wagner escrigué:
>> Hi all,
>>
>> Please consider two strings
>>
>> >>> line_a
>>
>> '12345678abcdefgh12345678'
>>
>> >>>
Hi all,
Can someone reproduce the following failure ?
I am using
>>> numpy.__version__
'1.4.0.dev6983'
==
FAIL: Test bug in reduceat with structured arrays copied
for speed.
--
Hi all,
Please consider two strings
>>> line_a
'12345678abcdefgh12345678'
>>> line_b
'12345678 abcdefgh 12345678'
>>> line_b.split()
['12345678', 'abcdefgh', '12345678']
Is it possible to split line_a such that the output
is
['12345678', 'abcdefgh', '12345678']
Nils
On Mon, 11 May 2009 06:54:45 -0400
Alan G Isaac wrote:
> On 5/11/2009 6:28 AM Nils Wagner apparently wrote:
>> How can I convert a list of arrays into one array ?
>
> Do you mean one long array, so that ``concatenate``
> is appropriate, or a 2d array, in which case you
>
Hi all,
How can I convert a list of arrays into one array ?
Nils
>>> data
[array([ 40. , 285.6, 45. , 285.3, 50. , 285.1,
55. , 284.8]), array([ 60. , 284.5, 65. , 282.8,
70. , 281.1, 75. , 280. ]), array([ 80. , 278.8,
85. , 278.1, 90. , 277.4, 95. , 276.9]
On Tue, 5 May 2009 12:44:31 -0600
Charles R Harris wrote:
> On Tue, May 5, 2009 at 10:12 AM, Nils Wagner
> wrote:
>
>> On Tue, 5 May 2009 10:04:11 -0600
>> Charles R Harris wrote:
>> > On Tue, May 5, 2009 at 9:50 AM, Nils Wagner
>> >wrote:
>
On Tue, 5 May 2009 10:04:11 -0600
Charles R Harris wrote:
> On Tue, May 5, 2009 at 9:50 AM, Nils Wagner
>wrote:
>
>> ...
>> In file included from
>> numpy/core/src/multiarray/ctors.c:16,
>> from
>> numpy/core/src/multiarray/multiarra
...
In file included from
numpy/core/src/multiarray/ctors.c:16,
from
numpy/core/src/multiarray/multiarraymodule_onefile.c:13:
numpy/core/src/multiarray/ctors.h: At top level:
numpy/core/src/multiarray/ctors.h:68: warning: conflicting
types for byte_swap_vector
numpy/core/src/
On Mon, 4 May 2009 10:52:59 -0600
Charles R Harris wrote:
> On Mon, May 4, 2009 at 10:48 AM, Nils Wagner
> wrote:
>
>> Hi all,
>>
>> How can I define a stop criterion for an alternating
>>series ?
>>
>> Any pointer would be appreciated.
>>
&g
Hi all,
How can I define a stop criterion for an alternating
series ?
Any pointer would be appreciated.
Nils
from numpy import loadtxt, arange
from pylab import plot, show
A = loadtxt('alternate.dat')
m = len(A)
x = arange(0,m)
plot(x,A)
show()
alternate.dat
Description: MPEG movie
___
Hi all,
How can I obtain the position of the minus sign within the
following string ?
>>> liste[1]
'1.5-te'
Nils
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion
FWIW,
From: Jack Dongarra
Date: Tue, 7 Apr 2009 12:00:01 -0400
Subject: Survey of linear algebra software
We have updated the survey of freely available software
for the solution of
linear algebra problems. Send us comments if you see a
problem.
http://www.netlib.org/utk/people/JackDongarra/l
On Sun, 12 Apr 2009 12:56:46 -0600
Charles R Harris wrote:
> On Sun, Apr 12, 2009 at 12:52 PM, Charles R Harris <
> charlesr.har...@gmail.com> wrote:
>
>>
>>
>> On Sun, Apr 12, 2009 at 12:17 PM, Nils Wagner <
&g
==
ERROR: test suite
--
Traceback (most recent call last):
File
"/home/nwagner/local/lib64/python2.6/site-packages/nose-0.10.4-py2.6.egg/nose/suite.py",
line
Hi all,
I cannot build numpy from trunk
compile options: '-Inumpy/core/src -Inumpy/core/include
-I/usr/include/python2.6 -c'
gcc: _configtest.c
_configtest.c:1: warning: conflicting types for built-in
function asin
_configtest.c:2: warning: conflicting types for built-in
function cos
_conf
Hi all,
How do I compile any legacy C and Fortran code in 64 bit
using gcc/gfortran ?
Any pointer would be appreciated.
Thanks in advance
Nils
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://mail.
On Tue, 24 Mar 2009 11:20:53 -0600
Charles R Harris wrote:
> 2009/3/24 Darren Dale
>
>> Hello,
>>
>> I just performed an svn update, deleted my old build/
>>and
>> site-packages/numpy*, reinstalled, and I see a new test
>>failure on a 64 bit
>> linux machine:
>>
>> ==
On Tue, 24 Mar 2009 10:27:18 -0400
josef.p...@gmail.com wrote:
> On Tue, Mar 24, 2009 at 10:14 AM, Nils Wagner
> wrote:
>> Hi all,
>>
>> How can I extract the numbers from the following list
>>
>> ['&', '-1.878722E-08,', '3.
Hi all,
How can I extract the numbers from the following list
['&', '-1.878722E-08,', '3.835992E-11',
'1.192970E-03,-5.080192E-06']
It is easy to extract
>>> liste[1]
'-1.878722E-08,'
>>> liste[2]
'3.835992E-11'
but
>>> liste[3]
'1.192970E-03,-5.080192E-06'
How can I accomplish that ?
Nils
On Fri, 20 Mar 2009 11:09:49 +0100
Vincent Thierion wrote:
> Hello,
>
> Is there an "easy way" to build numpy on remote 64 bits
>machines on which I
> don't have any roots privilege ?
python setup.py install --prefix=$HOME/local
Nils
___
Nump
Hi all,
The dot product can be defined for two vectors x and y by
x·y=|x||y| \cos(\theta),
where theta is the angle between the vectors and |x| is
the norm.
Now assume that we have arrays(matrices)
X = [x_1, ..., x_m]
Y = [y_1, ..., y_s]
m <> s
Is there a built-in function to comp
On Mon, 2 Mar 2009 22:08:22 +0200
Stéfan van der Walt wrote:
> Nils,
>
> 2009/3/2 Nils Wagner :
>> I encountered a problem wrt loadtxt.
>>
>> File
>> "/data/home/nwagner/local/lib/python2.5/site-packages/numpy/lib/io.py",
>> line 38
Hi all,
I encountered a problem wrt loadtxt.
Traceback (most recent call last):
File "mac.py", line 9, in
mac =
loadtxt('mac_diff.pmat.gz',skiprows=27,comments='!',usecols=(0,2,4),dtype='|S40')
File
"/data/home/nwagner/local/lib/python2.5/site-packages/numpy/lib/io.py",
line 384, i
Hi all,
Is it possible to modify the behaviour of float wrt
the following situation
>>> permas_M[0,2]
'1.569809265137D+01'
>>> float(permas_M[0,2])
Traceback (most recent call last):
File "", line 1, in
ValueError: invalid literal for float():
1.569809265137D+01
The following wor
On Sun, 22 Feb 2009 22:18:32 +0200
Stéfan van der Walt wrote:
> Hi Nils
>
> 2009/2/22 Nils Wagner :
>>> http://scipy.org/scipy/numpy/ticket/991
>>>
>>> which enables ZIP64 extensions when saving and loading
>>>zipped data
>>> under Python
On Sun, 22 Feb 2009 18:37:05 +0200
Stéfan van der Walt wrote:
> Hi all,
>
> Please review the patch attached to
>
> http://scipy.org/scipy/numpy/ticket/991
>
> which enables ZIP64 extensions when saving and loading
>zipped data
> under Python >= 2.5
>
> Thanks,
> Stéfan
Hi Stefan,
Please
On Sun, 22 Feb 2009 13:03:03 +0200
Stéfan van der Walt wrote:
> Hi Nils,
>
> 2009/2/22 Nils Wagner :
>> Done. See http://www.scipy.org/scipy/numpy/ticket/995
>> for details.
>
> Thanks. Did you have a NumPy array stored with
>numpy.save in test.gz?
> I fi
On Sat, 21 Feb 2009 12:58:14 +0200
Stéfan van der Walt wrote:
> Hi,
>
> Based on an example on Effbot, I implemented a
>workaround for reverse
> seeking in gzip files. I need someone with Python 2.4
>to review:
>
> http://www.scipy.org/scipy/numpy/ticket/995
>
> Thanks!
> Stéfan
Done. Se
1 - 100 of 212 matches
Mail list logo