xnn.ffnn.common.frc.flip_values#
- xnn.ffnn.common.frc.flip_values(schema, values)[source]#
Reorder (or negate) a row’s values after its key was flipped into canonical order: swap the first
flipvalues with the nextflipfor each offlip_pairsconsecutive pairs, and negate every value when the schema setssign_flip(a bond charge flux changes direction). Non-numeric tokens are negated as strings.