(vector_in)
return math.sqrt(sq_sum)
Computes the magnitude of the input vector.

    :param vector_in: input vector
    :type vector_in: list, tuple
    :return: magnitude of the vector
    :rtype: float
Computes the magnitude of the input vector.
Computes the magnitude of the input vector .
def vector_magnitude(vector_in):
    """ Computes the magnitude of the input vector.

    :param vector_in: input vector
    :type vector_in: list, tuple
    :return: magnitude of the vector
    :rtype: float
    """
    sq_sum = 0.0
    for vin in vector_in:
        sq_sum += vin**2
    return math.sqrt(sq_sum)
def vector_magnitude ( vector_in ) : sq_sum = 0.0 for vin in vector_in : sq_sum += vin ** 2 return math . sqrt ( sq_sum )