Easiest way to *add a column* to a 2d matrix/array in numarray???
Russell E. Owen
no at spam.invalid
Wed Apr 21 21:54:59 CEST 2004
In article <bf23f78f.0404200803.4b065887 at posting.google.com>,
seberino at spawar.navy.mil (Christian Seberino) wrote:
>How add a column to a 2d array/matrix in numarray???
>The unelegant way I found was to:
>1. Create a new array with an extra column (e.g. using 'zeros' function).
>2. Copy original array into new array.
>3. Copy new column into last column.
>Is there a slicker way to do this?
More information about the Python-list