Answers for "how to calculate sum of matrix elements python"

0

python sum whole matrix comand

x = np.matrix([[1, 2], [4, 3]])
>>> x.sum()
Posted by: Guest on January-02-2021

Code answers related to "how to calculate sum of matrix elements python"

Python Answers by Framework

Browse Popular Code Answers by Language