how to do the mapping btw numpy arrayvalues and matrix columns

devnew at devnew at
Sat Nov 3 07:08:09 CET 2007

i am looking for some info about mapping  btw values in an array and
corresponding columns of a matrix

i have an numpy array=[11.0,33.0,22.0,55.0,44.0]
and a numpy matrix object=
the first value of array(ie 11.0) is related to the first column of
matrix  and so on..
i wish to create a mapping btw each val of array and corresponding col
of matrix..and then i want to sort the array and retrieve the matrix
columns for some values of sorted array..can anyone advise how to go
about it..


More information about the Python-list mailing list