def METHOD_NAME(values: List[int]):
    """Returns a diagonal matrix with the given values on the diagonal.
    Args:
        values: a list of values to place on the diagonal of the matrix.
    Returns:
        A diagonal matrix with the given values on the diagonal.
    """
    mat = np.zeros((len(values), len(values)))
    np.fill_diagonal(mat, values)
    return mat