distanceTo

abstract fun distanceTo(other: S): Double(source)

Computes the distance between two vectors, interpreted as points in an Euclidean space. Throws IllegalArgumentException if vectors have different dimensions.