Skip to main content

$ZBITNOT (legacy function)

Bitstring function – NOT

Synopsis

$ZBITNOT(bitstring)

Description

This page describes the legacy function $ZBITNOT. It is described here for compatibility with legacy applications.

$ZBITNOT returns a permutation of bitstring with each of its bit positions inverted -- that is, 1s become 0s, and 0s become 1s.

Example

If bitstring=[0,0,1,1,0], then the result of $ZBITNOT would be a bitstring with the value [1,1,0,0,1].

See Also

FeedbackOpens in a new tab