def rmsd_to_all
import bend-prot@0.1.0.0/rmsd.bend as Rmsdimport Base
import bend-prot@0.1.0.0/protein.bend as P
53def rmsd_to_all(
54 +q: List<&2, P.Atom>, ys: List<&2, List<&2, P.Atom>>
55) -> List<&2, F32>:
56 match ys:
57 case Nil{}:
58 Nil{}
59 case h <> t:
60 rmsd_against(q, h) <> rmsd_to_all(q, t)