![](https://secure.gravatar.com/avatar/612395b66b3e7959997007b342b3688a.jpg?s=120&d=mm&r=g)
Sept. 3, 2006
7:31 p.m.
On Sun, 3 Sep 2006 12:20:09 -0600 "Charles R Harris" <charlesr.harris@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 Nils