law lj_row_elem_cons

bend-prot@0.1.0.0 · LAWS.bend:502

import bend-prot@0.1.0.0/LAWS.bend as LAWS
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/force.bend as F

502# An element row over a cons cell splits head from tail.
503law lj_row_elem_cons:
504  for si: U32
505  for pi: G.Vec3
506  for c2: F32
507  for h: P.Atom
508  for t: List<&2, P.Atom>
509  {F.lj_row_elem(si, pi, h <> t, c2) == (F.lj_row_elem(si, pi, t, c2) + F.lj_head_elem(si, pi, c2, h) : F32) : F32}

Uses (8)

Used by (0)

No other definition uses this definition.