【Python】np.triu 函数

2019-12-11  本文已影响0人  元气小地瓜

Help on function triu in module numpy:

triu(m, k=0)

    Upper triangle of an array.

    Return a copy of a matrix with the elements below the `k`-th diagonal  zeroed.

    Please refer to the documentation for `tril` for further details.

上一篇 下一篇

猜你喜欢

热点阅读