Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Python
p-norm of a vector python
user85190
Programming language:
Python
2021-05-05 20:06:51
0
Q:
p-norm of a vector python
Cytax
Code:
Python
2021-07-05 08:58:01
np.sqrt(np.sum(np.power(x, 2)))
0
rashidnk
Code:
Python
2021-02-26 22:12:19
np.linalg.norm(x, 2)
0
Tags
python
vector
Related
numpy how to length of vector
declare numpy zeros matrix python
Normalize a vector to have unit norm using the given p-norm
euler angle to rotation vector python
vectorize function python numpy
rotation matrix to euler angles python cv2
numpy vector shape
norm complex numpy
mean of a vector in python
New to Communities?
Join the community