Table Of Contents
Table Of Contents

NDArray.diag

NDArray.diag(k=0, **kwargs)[source]

Convenience fluent method for diag().

The arguments are the same as for diag(), with this array as data.