is np.linalg.norm L2 code example Example: norm complex numpy #c is a complex number np.linalg.norm(c) #or np.absolute(c)