Answers for "how to get the norm of a numpy array"

2

norm complex numpy

#c is a complex number
np.linalg.norm(c)

#or
np.absolute(c)
Posted by: Guest on September-06-2020

Python Answers by Framework

Browse Popular Code Answers by Language