In [51]:
import numpy as np a = np.array([3, -15, 8]) np.linalg.norm(a)
Out [51]:
17.26267650163207
In [52]:
import numpy as np a = np.array([-7, 10**0.5, 4]) np.linalg.norm(a)
Out [52]:
8.660254037844387
In [51]:
import numpy as np a = np.array([3, -15, 8]) np.linalg.norm(a)
Out [51]:
17.26267650163207
In [52]:
import numpy as np a = np.array([-7, 10**0.5, 4]) np.linalg.norm(a)
Out [52]:
8.660254037844387