[Numpy-discussion] Re: inconsistent use of axis= keyword argument?

Robert Kern robert.kern at gmail.com
Fri Feb 24 18:33:41 EST 2006


Nils Wagner wrote:
> Robert Kern wrote:
> 
>>Vidar Gundersen wrote:
>>
>> 
>>
>>>and i also wonder why concatenate can't be used to stack 1-d
>>>arrays on top of each other, returning a 2-d array?
>>>   
>>
>>Use vstack() for that. Also note its companions, hstack() and column_stack().
>>
>> 
> 
> 
>  Hi Robert,
> 
> Is it possible to use aliases for these operators ?
> 
> In textbooks (Matrix Algebra by Abadir and Magnus, Cambridge University
> Press (2005)) you will find
> 
> The vec-operator transforms a matrix into a vector by stacking its
> columns one underneath the other.

Ask on the list, not private email.

-- 
Robert Kern
robert.kern at gmail.com

"In the fields of hell where the grass grows high
 Are the graves of dreams allowed to die."
  -- Richard Harter

--_===36437881====uni-stuttgart.de===_--




More information about the NumPy-Discussion mailing list