def get_translation(row):
    """Generate a translation matrix from elements in dictionary ``row``.

    Examples
    ---------
    >>> sdict = {'_pdbx_struct_oper_list.vector[{}]'.format(i): i for i in range(1, 4)}
    >>> get_translation(sdict)
    [1.0, 2.0, 3.0]
    """
    return [
        float(row["_pdbx_struct_oper_list.vector[1]"]),
        float(row["_pdbx_struct_oper_list.vector[2]"]),
        float(row["_pdbx_struct_oper_list.vector[3]"]),
    ]