DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
p-norm of a vector python
np.sqrt(np.sum(np.power(x, 2)))
Source by aaronschlegel.me #
PREVIOUS
NEXT
Tagged:
#vector
#python
ADD COMMENT
Topic
COMMENT
Name
4+7 =
Submit