def _tabulate_coefficients(dof_data):
    """This function tabulates the element coefficients that are
    generated by FIAT at compile time."""
    f_comment = format['comment']
    f_table = format['static const float declaration']
    f_coefficients = format['coefficients']
    f_component = format['component']
    f_decl = format['declaration']
    f_tensor = format['tabulate tensor']
    f_new_line = format['new line']
    coefficients = dof_data['coeffs']
    code = [f_comment('Table(s) of coefficients')]
    num_mem = dof_data['num_expansion_members']
    for i, coeffs in enumerate(coefficients):
        name = f_component(f_coefficients(i), num_mem)
        code += [f_decl(f_table, name, f_new_line + f_tensor(coeffs))] + ['']
    return code
