Skip to content
murmot

Results for “python numpy array example problem code site:mail.python.org 2”

  • mail.python.org

    [Numpy-discussion] fortran array storage question

    Previous message (by thread): [Numpy-discussion] fortran array storage question.Then I get in python the fortran-style array in right order. However, I don't know if this is the usual way or if it has a performance overhead ...

  • mail.python.org

    [Matrix-SIG] Reading binary data from file into NumPy arrays ...

    Jun 18, 1998 · Hello all, I needed a relatively low-level method to load arbitrary binary data files into NumPy arrays, so I wrote C-extension code to do it after learning a little about the NumPy API through the source code. I've called the module numpyio and it allows reading and writing aribrary data-types to an open file stream.

  • mail.python.org

    [Numpy-discussion] f2py with allocatable arrays

    [Numpy-discussion] f2py with allocatable arrays. Sturla Molden sturla at molden.no Tue Jul 3 20:23:37 EDT 2012.The Fortran 90/95 Explained book mentions this in the > allocatable dummy arguments section and has an example using an array > with allocatable, intent(out) in a subrountine.

  • mail.python.org

    [SciPy-User] Problems evaluating interpolated function at new ...

    Oleksandr Huziy guziy.sasha at gmail.com Thu May 14 18:24:25 EDT 2015 Previous message (by thread): [SciPy-User] Problems evaluating interpolated function at new points Next message (by thread): [SciPy-User] Problems evaluating interpolated function at new points Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

  • mail.python.org

    [Numpy-discussion] np.fromstring and Python 3

    The following example illustrates a problem I'm encountering a problem with the np.fromstring function in Python 3The array 'a' should have the same size as 'string' since I'm using a 1-byte datatype. Is this a bug, or do I need to change the way I use this function in Python 3?

  • mail.python.org

    [PYTHON MATRIX-SIG] Array -> String: array length

    May 8, 1997 · Jean-Bernard ADDOR writes: > > I am very happy to hear about the length of the numpy arrays other users > uses because I uses these day pow (2,22) = len (array) = 4194304 and I > seriously ask me questions about python memory managment. My program uses > hundreds Megs of RAM.

  • mail.python.org

    [Tutor] inserting a vector into an array - numpy Q

    What does this mean? The 1-d array that's being passed in has a different dimension than the 2d array. If we trust the error message, we should make the two arrays the same dimension before we pass them to functions that glue these arrays together.

  • mail.python.org

    [Tutor] 2D list assignment - Python

    Mar 12, 2004 · Shitiz Bansal schrieb: > Hi, > This is a sample python code: > a= ( (2,4), (4,2)) > > > a [1] [1]=4 > Traceback (most recent call last): > File "<pyshell#2>", line 1 ...

  • mail.python.org

    [Python-3000] Set literal

    Jan 25, 2008 · Even for a 2-element set, the frozenset comes out ahead except compared to a hit on the first tuple item. So let's leave this alone -- if the user writes a tuple, we use a tuple (because the semantics are different), if the user writes a frozenset literal, we use that.