[Numpy-discussion] diagflat

Charles R Harris charlesr.harris at gmail.com
Sun Sep 3 13:20:09 CDT 2006


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/numpy-discussion/attachments/20060903/65fb9004/attachment.html 


More information about the Numpy-discussion mailing list