On Mon, Jun 21, 2010 at 17:42, Neal Becker ndbeck...@gmail.com wrote:
Robert Kern wrote:
On Mon, Jun 21, 2010 at 14:01, Neal Becker ndbeck...@gmail.com wrote:
Can I find an efficient way to do this?
I have a 2d array, A, 80 rows by 880 columns.
I have a vector, B, of length 80, with scalar
and how you built numpy?
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth.
-- Umberto Eco
___
NumPy-Discussion
at it.
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth.
-- Umberto Eco
___
NumPy-Discussion mailing list
NumPy
to return values
consistent w/ array input, except at 0. Bug in code (failure at 0 if in a
sequence) and in the doc (ndarray should be array_like)?
Bug in both code and docs. There should be an x = np.asanyarray(x)
before the rest of the code.
--
Robert Kern
I have come to believe that the whole
is concerned). This lets you label
all of the axes in a multidimensional array.
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth.
-- Umberto Eco
? Understanding both the similarities and differences is
important because both are going to be living in the same ecosystem
with overlapping niches.
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret
to ignore
such libraries.
Building redistributable binaries.
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth.
-- Umberto Eco
with did not work
import numpy
class test:
�...@numpy.vectorize #= Using decorator
def add(self,x,y):
return x+y
numpy.vectorize does not work on methods, just functions.
--
Robert Kern
I have come to believe that the whole world
common,
albeit somewhat redundant, idiom meaning the gradient of an elevation
map.
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth.
-- Umberto Eco
On Sat, Jul 17, 2010 at 17:06, Charles R Harris
charlesr.har...@gmail.com wrote:
At the moment... Chuck
I can svn up at the moment.
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though
On Mon, Jul 19, 2010 at 14:17, Richard D. Moores rdmoo...@gmail.com wrote:
On Mon, Jul 19, 2010 at 09:00, Robert Kern robert.k...@gmail.com wrote:
On Mon, Jul 19, 2010 at 11:53, Richard D. Moores rdmoo...@gmail.com wrote:
On Mon, Jul 19, 2010 at 07:48, Robin robi...@gmail.com wrote:
On Mon
performance, but my examples may be missing some crucially important
detail about your data that is causing your performance problems.
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though
.
That said, I expect you will be running into this 1x1-scalar special
case reasonably frequently in statsmodels. Writing a dwim_logdet()
utility function there that does what you want is a perfectly
reasonable thing to do.
--
Robert Kern
I have come to believe that the whole world is an enigma
On Tue, Jul 27, 2010 at 11:36, Skipper Seabold jsseab...@gmail.com wrote:
On Tue, Jul 27, 2010 at 12:00 PM, Robert Kern robert.k...@gmail.com wrote:
On Tue, Jul 27, 2010 at 07:51, Skipper Seabold jsseab...@gmail.com wrote:
On Mon, Jul 26, 2010 at 10:05 PM, Alan G Isaac ais...@american.edu wrote
had. Simply because I do not have doubled
diskspace to covert all 10TB data into HDF5. Is there any way to let pytable
read raw binary files or alternatively to package raw files into HDF5 format
without change the files themselves.?
No.
--
Robert Kern
I have come to believe that the whole
would have to add it to all ufuncs.
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth.
-- Umberto Eco
___
NumPy
the compression of the data on disk, not the
use of the HDF5 library.
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth.
-- Umberto Eco
be remembering
the bug report from an EPD user (where we did put in a ziggurat code).
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth.
-- Umberto Eco
a keyword argument
which you only expect to pass literals to, you should make multiple
functions instead (Book of Guido, 7:42). It's worth noting that this
MATLAB API is deprecated.
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our
On Thu, Jul 29, 2010 at 16:03, Alan G Isaac alan.is...@gmail.com wrote:
On 7/29/2010 4:37 PM, Robert Kern wrote:
this MATLAB API is deprecated
The old API has been replaced by a constructor that still takes a
string literal argument to determine the PRNG algorithm.
See the bottom of
http
to both explicitly importing the
submodule and importing * from the submodule.
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth.
-- Umberto Eco
it has a little bit more peer review to get through, but
thanks for the pointer! That's probably the best motivation I've seen
to do the refactoring of the numpy.random code to allow multiple core
PRNGs.
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless
enigma
. It may not matter inside numpy.distutils, but be wary of
fixing things to use inspect elsewhere. It would be worth extracting
the commonly-used pieces of inspect (and hacks like this) into an
internal utility module that is fast to import.
--
Robert Kern
I have come to believe that the whole world
with each other. Can you try to explain
what you want in other words?
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth.
-- Umberto Eco
On Wed, Aug 4, 2010 at 10:31, Antoine Dechaume boole...@gmail.com wrote:
Yes it is, but is there a way to do it in-place?
No.
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though
visible at the links?
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth.
-- Umberto Eco
___
NumPy-Discussion
On Sat, Aug 21, 2010 at 17:58, David Goldsmith d.l.goldsm...@gmail.com wrote:
On Sat, Aug 21, 2010 at 10:00 AM, numpy-discussion-requ...@scipy.org
wrote:
Date: Fri, 20 Aug 2010 14:30:58 -0500
From: Robert Kern robert.k...@gmail.com
Subject: Re: [Numpy-discussion] Making MATLAB and Python
:
mask = np.zeros(ar.shape, dtype=bool)
for good in valid:
mask |= (ar == good)
Wrap that up into a function and you're good to go. That's about as
efficient as it gets unless if the valid array gets large.
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless
On Fri, Aug 27, 2010 at 15:21, Nathaniel Smith n...@pobox.com wrote:
On Fri, Aug 27, 2010 at 1:17 PM, Robert Kern robert.k...@gmail.com wrote:
But in any case, that would be very slow for large arrays since it
would invoke a Python function call for every value in ar. Instead,
iterate over
deprecation might break their workarounds silently. I admit it's a bit
of a stretch, but conservativeness and coupled with the opportunity to
make a desirable name change make this more attractive.
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless
enigma that is made
this length with
values above this range being ignored, but it seems like the latter might be
useful in more cases.
minlength works for me.
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret
On Sat, Aug 28, 2010 at 04:12, Zbyszek Szmek zbys...@in.waw.pl wrote:
Hi,
On Fri, Aug 27, 2010 at 06:43:26PM -0600, Charles R Harris wrote:
On Fri, Aug 27, 2010 at 2:47 PM, Robert Kern robert.k...@gmail.com
wrote:
On Fri, Aug 27, 2010 at 15:32, David Huard david.hu...@gmail.com
.
No, you really want may_share_memory().
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth.
-- Umberto Eco
think we would accept a patch
that interprets None to be the appropriate extreme bound given the
input datatype. This will be tricky, though, since it must be done in
C (PyArray_Clip in numpy/core/src/multiarray/calculation.c).
--
Robert Kern
I have come to believe that the whole world is an enigma
On Wed, Sep 8, 2010 at 15:10, Michael Gilbert
michael.s.gilb...@gmail.com wrote:
On Wed, 8 Sep 2010 15:04:17 -0500, Robert Kern wrote:
On Wed, Sep 8, 2010 at 14:44, Michael Gilbert
michael.s.gilb...@gmail.com wrote:
Just wanted to say that numpy object arrays + decimal solved all of my
On Thu, Sep 9, 2010 at 05:05, Chris Ball ceb...@gmail.com wrote:
Robert Kern robert.kern at gmail.com writes:
On Wed, Sep 8, 2010 at 14:42, Chris Ball ceball at gmail.com wrote:
Robert Kern robert.kern at gmail.com writes:
...
a = numpy.array([1,2,3,4,5])
a.clip(2,None)
array([2, 2
a lot of time for nothing.
Any idea why this is happening?
Not without an example that demonstrates the problem, no. Are you
using numpy.distutils? If you are just using regular distutils, you
may wish to ask on the distutils-sig list or python-list, instead.
--
Robert Kern
I have come to believe
is also O(n*log(n)) because it uses an
argsort(). Using two argsort()s won't change the O() complexity. O()
often tells you very little. Time it with typical values and find out.
Memory use is often the bottleneck. And sometimes, the real
performance differences just don't matter.
--
Robert Kern
I
On Mon, Sep 13, 2010 at 21:24, David Goldsmith d.l.goldsm...@gmail.com wrote:
(Sorry for the OT post; I thought I'd get a more sympathetic response
here than on the MATLAB lists.) ;)
I'm sorry, but that's *really* off-topic.
--
Robert Kern
I have come to believe that the whole world
contents:
*.o
*.a
*.pyc
*.swp
*~
build
*.pyo
*.so
*.pyd
.gdb_history
dist
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth.
-- Umberto Eco
[23]: read-only buffer for 0x52652c0, size -1, offset 0 at 0x5265380
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth.
-- Umberto Eco
as
expected on a masked array. Many other functions will not.
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth.
-- Umberto Eco
we define on numpy arrays can be done because we know
the types and that object arrays subvert this. numpy can't, without
excessive amounts of magic, always know a sensible thing to do with
object arrays, so we implement the fast thing to do.
--
Robert Kern
I have come to believe that the whole
On Tue, Sep 21, 2010 at 17:40, Pauli Virtanen p...@iki.fi wrote:
Tue, 21 Sep 2010 17:28:08 -0500, Robert Kern wrote:
[clip]
*that* == return a complex number from .real
What is the alternative? I'm personally happy with saying that many of
the operations we define on numpy arrays can be done
a good way to randomly generate an initial
state?
np.random.RandomState() will do the best thing on each platform.
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had
(using buffer=).
But, how to then efficiently find a sequence?
mmap objects have most of the usual string methods:
[~]
|2 f = open('./scratch/foo.py', 'r+b')
[~]
|4 m = mmap.mmap(f.fileno(), 0)
[~]
|6 m.find('import')
11
[~]
|7 m[11:17]
'import'
--
Robert Kern
I have come to believe
-c --fcompiler=gnu95 ...
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth.
-- Umberto Eco
___
Numpy-discussion
to:
setattr(_m, 'gen_lib_options',
Any objections? If not I'll commit soon...
I believe you are correct.
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying
, 12), ('high', double, 20), ('close', double, 28), ('vol',
double, 36)])
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth.
-- Umberto Eco
will never be used to build any part of numpy
itself because we will not include something that requires a FORTRAN
compiler to build numpy.
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret
On Mon, Mar 10, 2008 at 1:49 AM, David Cournapeau
[EMAIL PROTECTED] wrote:
On Sun, 2008-03-09 at 23:11 -0500, Robert Kern wrote:
Almost certainly f2py will never be used to build any part of numpy
itself because we will not include something that requires a FORTRAN
compiler to build
On Mon, Mar 10, 2008 at 3:45 AM, David Cournapeau
[EMAIL PROTECTED] wrote:
On Mon, 2008-03-10 at 02:11 -0500, Robert Kern wrote:
Yes, but it's probably going to be easier to wrap whatever by hand
than try to ensure that f2py bootstraps correctly, scons or no scons.
Ok, thanks
arrays of the same class and
(possibly) shape as an existing array, but with a different dtype?
dummy = numpy.ones(data.shape, dtype=bool).view(type(data))
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt
.
It is possible that the GIL gets released during that call and that
another thread can pick up execution then. However, even this should
not be a problem as far as safety goes; no internal state is read or
changed after the external call.
--
Robert Kern
I have come to believe that the whole world
if this result would be
applicable to it. If you would like to try, we can certainly give you
pointers as to where to start.
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying
/branches/multicore/benchmarks/time_thread.py
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth.
-- Umberto Eco
if it remains optional).
Also, maybe numexpr could benefit from this?
Possibly. You can answer this definitively by writing the code to try it out.
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret
in a VHLL.
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth.
-- Umberto Eco
___
Numpy-discussion mailing list
Numpy
')])
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth.
-- Umberto Eco
___
Numpy-discussion mailing list
Numpy
that nothing.
Please, by all means go for it.
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth.
-- Umberto Eco
___
Numpy
On Tue, Mar 18, 2008 at 4:25 AM, Chris Withers [EMAIL PROTECTED] wrote:
Robert Kern wrote:
Appending to a list is almost always better than growing an array by
concatenation. If you have a real need for speed, though, there are a
few tricks you can do at the expense of complexity.
I
shouldn't need any numpy headers.
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth.
-- Umberto Eco
___
Numpy
to me that correlate usually beats the manual implementation,
particularly if you don't measure the array() part, too. len(x)=1000
is the only size where the manual version seems to beat correlate on
my machine.
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless
this is
flawed logic, but if not I'm hoping someone has already done this?
The function is PyArray_Correlate() in
numpy/core/src/multiarraymodule.c. If you have suggestions for
improving it, we're all ears.
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless
enigma
list, not here.
http://myhdl.jandecaluwe.com/doku.php/mailing_list
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth.
-- Umberto Eco
routines. http://www.scipy.org/sort.
Knock yourself out.
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth.
-- Umberto Eco
in without *any* modification.
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth.
-- Umberto Eco
___
Numpy
On Sat, Mar 22, 2008 at 4:25 PM, Charles R Harris
[EMAIL PROTECTED] wrote:
On Sat, Mar 22, 2008 at 2:59 PM, Robert Kern [EMAIL PROTECTED] wrote:
On Sat, Mar 22, 2008 at 2:04 PM, Charles R Harris
[EMAIL PROTECTED] wrote:
Maybe it's time to revisit the template subsystem I pulled out
of
the given size (f.seek(FILE_SIZE); f.write('\0'); f.seek(0,0)) and
then make each of the parallel programs memory map the file and only
write to their respective portions.
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own
On Wed, Mar 26, 2008 at 5:20 PM, Gabriel J.L. Beckers
[EMAIL PROTECTED] wrote:
Does numpy have something like Matlab's accumarray?
http://www.mathworks.com/access/helpdesk/help/techdoc/ref/accumarray.html
No.
--
Robert Kern
I have come to believe that the whole world is an enigma
LDFLAGS worked by using env(1)?
You still seem to have a -L/Users/hjm/lib flag that is obviously not
coming from the command line.
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had
executable ifc
Could not locate executable g77
gcc: installation problem, cannot exec
'i686-apple-darwin8-gcc-4.0.0': No such file or directory
This is your main problem. Where did you get this gcc? I believe the
one that comes with the Developer Tools is 4.0.1.
--
Robert Kern
I have come
On Sat, Mar 29, 2008 at 4:25 PM, Roy H. Han [EMAIL PROTECTED] wrote:
Is there a way to have numpy raise exceptions instead of printing
warnings? The printed warnings make debugging hard.
numpy.seterr()
Read the docstring for the various options.
--
Robert Kern
I have come to believe
. This is a deficiency of the g95 FCompiler implementation. No
one has bothered to get it to work on OS X; I'm not sure if g95 even
supports these flags. They were added to gcc (and accordingly
gfortran) by Apple; I don't know if the g95 guy has kept up.
--
Robert Kern
I have come to believe that the whole world
On Sun, Mar 30, 2008 at 9:20 PM, Harry Mangalam [EMAIL PROTECTED] wrote:
On Sunday 30 March 2008, Robert Kern wrote:
On Sun, Mar 30, 2008 at 8:16 PM, Harry Mangalam
[EMAIL PROTECTED] wrote:
Answering part of my own question, one missing lib is (not
surprisingly) libpython2.5 (add
the bootstrap script installed to /Library/.../bin/f2py
is looking for.
If you did not intend to install an egg of numpy, this might be a
leftover from a previous try. Delete the /Library/.../bin/f2py script
and install numpy again.
--
Robert Kern
I have come to believe that the whole world is an enigma
replace Numeric.matrixmultiply(v, x) with
numpy.dot() ,
Yes. matrixmultiply() was a deprecated alias even in Numeric.
or is there something i must watch for in the above two cases?
Not particularly, no.
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless
enigma
of these commands?
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth.
-- Umberto Eco
___
Numpy-discussion mailing list
run into as a side effect of my sloppiness?
The f2py script should be the only thing outside of site-packages. You
may want to edit site-packages/easy-install.pth to remove the old
reference to the numpy egg.
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless
directory during install.
Looking at the code, I can confirm that the menu system is simply
buggy and the cause of your problem. Do not use it.
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret
On Tue, Apr 1, 2008 at 10:16 AM, Amit Itagi [EMAIL PROTECTED] wrote:
On Mon, Mar 31, 2008 at 11:06 PM, Robert Kern [EMAIL PROTECTED] wrote:
On Mon, Mar 31, 2008 at 4:17 PM, Amit Itagi [EMAIL PROTECTED] wrote:
Hi,
I am having problems with numpy installation.
1
On Tue, Apr 1, 2008 at 1:31 PM, Amit Itagi [EMAIL PROTECTED] wrote:
On Tue, Apr 1, 2008 at 1:21 PM, Robert Kern [EMAIL PROTECTED] wrote:
On Tue, Apr 1, 2008 at 10:16 AM, Amit Itagi [EMAIL PROTECTED] wrote:
I am installing this on a CENTOS linux platform (64 bit AMD opteron).
The
path
or something ?
Possibly. Exactly what is in this .../Python-2.5.2/ directory? Is the
python executable .../Python-2.5.2/bin/python?
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though
the --prefix.
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth.
-- Umberto Eco
___
Numpy-discussion mailing list
On Tue, Apr 1, 2008 at 11:56 AM, Andreas Klöckner
[EMAIL PROTECTED] wrote:
Hi all,
is there a particular reason why dot() and tensordot() don't have output
arguments?
No technical reason. It just hasn't been done. If you were to
implement it, we would be happy to accept it.
--
Robert Kern
if you wish, but don't break the current
API.
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth.
-- Umberto Eco
On undefined, Charles R Harris [EMAIL PROTECTED] wrote:
On Wed, Apr 2, 2008 at 4:30 PM, Robert Kern [EMAIL PROTECTED] wrote:
On undefined, Charles R Harris [EMAIL PROTECTED] wrote:
Hi All,
I think it would enhance broadcasting if functions like sum, mean, etc
didn't change
the signature would be a:
mean(axis=None, dtype=None, out=None, reduce=True).
I imagine we would end up adding this capability to the .reduce()
method of all binary ufuncs, so 'reduce' seems ... odd. 'keeprank'?
--
Robert Kern
I have come to believe that the whole world is an enigma
')?
dtype=numpy.dtype('f8')
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth.
-- Umberto Eco
___
Numpy
interpreter will usually
work. The commercial library you are using appears to be one of them.
numpy is not one of them. If the commercial module must be built with
VC++8, then you will need to also get *both* the Python interpreter
and numpy built with VC++8.
--
Robert Kern
I have come to believe
On Thu, Apr 3, 2008 at 4:52 PM, Chris Barker [EMAIL PROTECTED] wrote:
Robert Kern wrote:
Just since that has been discussed a LOT, for years, I want to be clear:
Different versions of Microsoft's compiler use different libraries for
the standard C library. Some simple Python extension
, count=9*Stot, slice=6::9)
Instead of reading using fromfile(), you can try memory-mapping the array.
from numpy import memmap
E = memmap(f, dtype=float_dtype, mode='r')[6::9]
That may or may not help. At least, it should decrease the latency
before you start pulling out frames.
--
Robert
).
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth.
-- Umberto Eco
___
Numpy-discussion mailing list
Numpy-discussion
from Numeric; I'd hate to break their trust again.
It is really nice to think about having NumPy Core, NumPy Full,
NumPyKits, SciPy Core, SciPy Full and SciPyKits.
Really? It gives me the shivers, frankly.
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless
and on Fedora x86_64, it's 863. Above is
the difference (requested by rkern).
I think this is fine. The different arises because of extra scalar
types on the 32 bit system that don't show up on the AMD system,
presumably float96 and complex192. Check numpy.sctypes for the
difference.
--
Robert Kern
this? That is not what I would have called a runtime.
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth.
-- Umberto Eco
___
Numpy
On Mon, Apr 7, 2008 at 6:29 PM, Fernando Perez [EMAIL PROTECTED] wrote:
On Mon, Apr 7, 2008 at 4:04 PM, Robert Kern [EMAIL PROTECTED] wrote:
On 32 bits, 869 are found and on Fedora x86_64, it's 863. Above is
the difference (requested by rkern).
I think this is fine
it could. It's example code, not part of numpy itself.
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth.
-- Umberto Eco
.
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth.
-- Umberto Eco
___
Numpy-discussion mailing list
Numpy-discussion
On Wed, Apr 9, 2008 at 4:11 AM, Jarrod Millman [EMAIL PROTECTED] wrote:
Hello Robert Kern (or some else who wants to take this).
This one has a patch:
http://projects.scipy.org/scipy/numpy/ticket/581
Can you verify that it is safe/correct and commit it?
Fixed, along with a couple
1201 - 1300 of 2461 matches
Mail list logo