Rmsd.pair_head_go: def of bend-prot@0.1.0.0 Import: import bend-prot@0.1.0.0/rmsd.bend as Rmsd Lines 11-14 of bend-prot@0.1.0.0/rmsd.bend: https://jend.leeeet.dev/read.txt?path=bend-prot@0.1.0.0/rmsd.bend&start_line=11&end_line=14 import Base import bend-prot@0.1.0.0/geom.bend as G import bend-prot@0.1.0.0/protein.bend as P import bend-prot@0.1.0.0/topology.bend as T def pair_head_go(+p1: G.Vec3, y: P.Atom, rest: F32 & Nat) -> F32 & Nat: match y: case P.Atom{s2, e2, +p2}: T.sumd2_extend(G.Vec3.dist2(p1, p2), rest) Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=bend-prot@0.1.0.0/geom.bend&name=Vec3 https://jend.leeeet.dev/definition.txt?path=bend-prot@0.1.0.0/geom.bend&name=Vec3.dist2 https://jend.leeeet.dev/definition.txt?path=bend-prot@0.1.0.0/protein.bend&name=Atom https://jend.leeeet.dev/definition.txt?path=bend-prot@0.1.0.0/topology.bend&name=sumd2_extend