How to convert triangle matrix to square in NumPy?,"np.where(np.triu(np.ones(A.shape[0], dtype=bool), 1), A.T, A)"