euclidean norm


See On Github

Data

Contributor

Generic placeholder thumbnail

by jcla1

in haskell

Tags

euclid, length

Source Code

euclideanNorm :: [Double] -> Double
euclideanNorm p = sqrt . sum $ map (\ n -> n*n) p