Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Operators

Kongming provides two core algebraic operations on hypervectors.

Bind

Binding () combines two vectors into a result that is dissimilar to both inputs. It is the multiplicative operation in the HDC algebra.

Mathematically

Implementation: segment-wise offset addition modulo segment size: check out original paper for details.

Check out code snippets from the API reference.

Release

Occasionally we use release, which is derived from bind, as the equivalent of division, as opposed to multiplication.

Note that release is anti-commutative:

Check out code snippets from the API reference.

Bundle

Bundling () creates a superposition of vectors — the result is similar to all inputs. It is the additive operation within VSA algebra.

Mathematically

Check out original paper for details on bundle operator.

Check out code snippets from the API reference.

Last change: , commit: 63ad966