r""" Extracts or constructs a diagonal tensor. This function follows the api from :any:`numpy.diag` See: https://numpy.org/doc/stable/reference/generated/numpy.diag.html
(self, a, k=0)
| 700 | raise NotImplementedError() |
| 701 | |
| 702 | def diag(self, a, k=0): |
| 703 | r""" |
| 704 | Extracts or constructs a diagonal tensor. |
| 705 | |
| 706 | This function follows the api from :any:`numpy.diag` |
| 707 | |
| 708 | See: https://numpy.org/doc/stable/reference/generated/numpy.diag.html |
| 709 | """ |
| 710 | raise NotImplementedError() |
| 711 | |
| 712 | def unique(self, a, return_inverse=False): |
| 713 | r""" |
no outgoing calls