Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

numpy get diagonal matrix from matrix

np.diag(np.diag(x))
 
PREVIOUS NEXT
Tagged: #numpy #diagonal #matrix #matrix
ADD COMMENT
Topic
Name
8+8 =