Extract upper or lower triangular part of a numpy matrix

后端 未结 3 1756
野的像风
野的像风 2020-11-28 07:22

I have a matrix A and I want 2 matrices U and L such that U contains the upper triangular elements of A (all elements abo

3条回答
提交回复
热议问题