def get_rotation(row):
    """Generate a rotation matrix from elements in dictionary ``row``.

    Examples
    ---------
    >>> sdict = { \
        '_pdbx_struct_oper_list.matrix[{}][{}]'.format(i // 3 + 1, i % 3 + 1): i \
        for i in range(9) \
    }
    >>> get_rotation(sdict)
    [[0.0, 1.0, 2.0], [3.0, 4.0, 5.0], [6.0, 7.0, 8.0]]
    """
    return [
        [
            float(row["_pdbx_struct_oper_list.matrix[1][1]"]),
            float(row["_pdbx_struct_oper_list.matrix[2][1]"]),
            float(row["_pdbx_struct_oper_list.matrix[3][1]"]),
        ],
        [
            float(row["_pdbx_struct_oper_list.matrix[1][2]"]),
            float(row["_pdbx_struct_oper_list.matrix[2][2]"]),
            float(row["_pdbx_struct_oper_list.matrix[3][2]"]),
        ],
        [
            float(row["_pdbx_struct_oper_list.matrix[1][3]"]),
            float(row["_pdbx_struct_oper_list.matrix[2][3]"]),
            float(row["_pdbx_struct_oper_list.matrix[3][3]"]),
        ],
    ]