See https://github.com/data-apis/array-api/issues/787 This is a bit like `xpx.create_diagonal` in that it's another kind of [array creation function.](https://data-apis.org/array-api/latest/API_specification/creation_functions.html).