[Numpy-discussion] diagflat

Nils Wagner nwagner at iam.uni-stuttgart.de
Sun Sep 3 14:31:53 CDT 2006

On Sun, 3 Sep 2006 12:20:09 -0600
  "Charles R Harris" <charlesr.harris at gmail.com> wrote:
> Travis has introduced the function diagflat for creating 
>diagonal arrays. It
> flattens whatever array is supplied and returns its 
>values as the diagonal
> of a 2-D array or matrix. As the function is currently 
>undocumented I
> thought now might be a good time to discuss other 
>possible choices for the
> name. Here is a quick list that comes to mind
> diagflat (current name)
> asdiagonal
> todiagonal
> asdiag
> todiag
> ...
> Chuck

+1 for todiag


More information about the Numpy-discussion mailing list