lists <-> tuple
peno at mailme.org
Sat Nov 5 16:49:04 CET 2005
"Robert Kern" <robert.kern at gmail.com> wrote in message
news:mailman.47.1130974709.18701.python-list at python.org...
> Peter Notebaert wrote:
>> I am new to Python and have to create an import library in C that uses
>> These matrices can be one-dimensional (vectors) or two-dimensional. If I
>> look in the ActivePython 2.4 documentation at data structures, then I see
>> least 2 posibilities to represent them: Lists and Tuples.
>> The documention doesn't give me much information on what the best choice
>> for the data type to provide/return these matrices.
>> So my question is, should I use lists or tuples to represent my matrices
>> and why?
> You'll probably want to use scipy_core. It's a package designed
> specifically to deal with multidimensional arrays of homogeneous,
> (usually) numeric data.
> Robert Kern
> rkern at ucsd.edu
> "In the fields of hell where the grass grows high
> Are the graves of dreams allowed to die."
> -- Richard Harter
More information about the Python-list