euclidean norm


See On Github

Data

Contributor

Generic placeholder thumbnail

by jcla1

in scala

Tags

euclid, length

Source Code

def euclideanNorm(p: List[Double]): Double =
    math.sqrt(p.map(n => n*n).sum)