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.


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.
本文标题:【Python】np.triu 函数
本文链接:https://www.haomeiwen.com/subject/fieagctx.html
网友评论