jaxrens.sampling.morph¶
Pure-JAX, JIT-compatible atom-type morphing primitive.
Provides morph_types_to_composition: deterministic label relabeling that reshuffles an existing types array to match a target composition. JIT/vmap/pmap safe; no Python-level indexing on traced values.
Functions
Deterministically relabel atom types to match target_composition. |