// infinity norm distance (l_inf distance)
infinity norm distance (l_inf distance)
// infinity norm distance ( l_inf distance )
func ChebyshevDistance(firstVector, secondVector []float64) (float64, error) {
	distance := 0.
	for ii := range firstVector {
		if math.Abs(firstVector[ii]-secondVector[ii]) >= distance {
			distance = math.Abs(firstVector[ii] - secondVector[ii])
		}
	}
	return distance, nil
}
func ChebyshevDistance ( firstVector , secondVector [ ] float64 ) ( float64 , error ) { distance := 0. for ii := range firstVector { if math . Abs ( firstVector [ ii ] - secondVector [ ii ] ) >= distance { distance = math . Abs ( firstVector [ ii ] - secondVector [ ii ] ) } } return distance , nil }
infinity norm distance (l_inf distance)
infinity norm distance ( l_inf distance )