Knot 🪢
The result of binding (multiplicative composition) of hypervectors. Unlike BindDirect, Knot tracks its member parts for serialization and debugging. See Composites: Knot.
Constructor
# Not directly constructed in Python. Use hv.bind() instead.
k = hv.bind(a, b)
Extending a Knot
An existing Knot can be extended with additional parts via
expand. This returns a new
Knot (a Knot is an immutable value) — equivalent to re-binding all
parts from scratch but without reconstructing the base.
k = hv.bind(a, b)
k2 = k.expand(c) # k2 is equivalent to hv.bind(a, b, c); k is unchanged