Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to sum numpy matrix diagonal

np.trace(matrix)
Source by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #sum #numpy #matrix #diagonal
ADD COMMENT
Topic
Name
8+4 =