from typing import List


def inner(v: List[float], w: List[float]) -> float:
    """
    Computes the inner product of two vectors.

    Args:
        v: The first vector.
        w: The second vector.

    Returns:
        The inner product.
    """
    output: float = sum([i * j for i, j in zip(v, w)])
    return output