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 sparse binary hypervectors.

Bind

Binding () combines two vectors into a result that is dissimilar to both inputs. It is the multiplicative operation in the VSA 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, as the equivalent of division.

Note that release is anti-commutative:

Check out code snippets from the API reference.

Bundle

Bundling () creates a superposition of vectors, which is similar to all inputs. It is the additive operation in the VSA algebra.

Mathematically

Check out original paper for details on bundle operator.

Check out code snippets from the API reference.

Last change: , commit: 2bdeba8