data-apis / array-api-extra

Extra array functions built on top of the array API standard.
http://data-apis.org/array-api-extra/
MIT License
3 stars 1 forks source link

ENH: creating a diagonal array #15

Open lucascolley opened 2 weeks ago

lucascolley commented 2 weeks ago

https://github.com/data-apis/array-api/issues/733 suggested that diagonal array creation should be considered for this library.

lucascolley commented 5 days ago

https://github.com/scipy/scipy/blob/d1feb94fb2d8bdd845c79d276c9ca027f86e1841/scipy/_lib/_array_api.py#L650-L657