def dist(a, b):
    return sum((i-j)**2 for i, j in zip(a, b))
def get_long_running_output(pipeline_response):
            deserialized = self._deserialize('CalculateExchangeOperationResultResponse', pipeline_response)

            if cls:
                return cls(pipeline_response, deserialized, {})
            return deserialized