def vec_sum(a):
    """
    Computes the inner sum of a vector

    Parameters
    ----------
    a: list[]
        A vector of scalar values

    Returns
    -------
    scalar
        The sum of the elements in the vector

    """
    return sum(a)