Skip to content
murmot

Results for “python numpy array example program code early site:mail.python.org id”

  • mail.python.org

    [Python-3000] bytes vs array.array vs numpy.array

    Oct 15, 2007 · A good canonical multi-dimensional array is needed. NumPy provides a class which, in addition to serving various numeric needs, also provides for a multi-dimensional array where the elements can be of some class/types.

  • mail.python.org

    [Numpy-discussion] ragged array implimentation

    and returns > numpy object arrays, where the elements of the object arrays are > themselves 1d numpy arrays. I don't think there is any other way to do > it. In your example, the 'ragged' array would be a 1d numpy array with > dtype='O'...

  • 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

    [Numpy-discussion] libnumarray.h and NO_IMPORT_ARRAY

    Previous message (by thread): [Numpy-discussion] libnumarray.h and NO_IMPORT_ARRAY.If you'd just like to browse the code, the pertinent files are: boost/libs/python/test/numpy.cpp boost/libs/python/test/numpy.py boost/python/numeric.hpp.

  • mail.python.org

    [Numpy-discussion] np.sign and object comparisons - Python

    Sep 2, 2015 · This > preserves behavior, but feels wrong. > 2. Similarly to how np.sign of a floating point array with nans returns > nan for those values, return e,g, None for these cases. This is my > preferred option. > 3. Raise an error, along the lines of the TypeError: unorderable types > that 3.x produces for some comparisons.

  • mail.python.org

    [C++-sig] getting shape of numpy array

    I've written some from/to Python converters that are able to convert a Python sequence directly into a Boost uBLAS vector or matrix. If you download the software, you can build the doxygen documentation (follow the instructions) and you will find an example for each C++ class or function.

  • mail.python.org

    [Tutor] maximum value in a Numeric array - Python

    Dec 10, 2004 · Are you using numarray? If so, there appears to be a max method of an array, so you can try b = array ( [ [1,2], [3,4]]) b.max () Note that your method of finding the max row, then finding the max in the row, will not in general give the correct result.

  • mail.python.org

    [Image-SIG] Array to Image transformations - Python

    Feb 27, 2008 · Carlos da Silva Santos carlos.s.santos at gmail.com Wed Feb 27 12:12:40 CET 2008 Previous message: [Image-SIG] Array to Image transformations Next message: [Image-SIG] Array to Image transformations Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]