Let $S$ be a set consisting of elements $s$, where $s$ is either equal to $i$ or $i^*$ with $0 \leq i \leq n-1$. The set $S$ is said to be admissible if for any integer $i$, not both $i$ and $i^{*}$ are contained in $S$. This method produces the signed indicator vector of $S$. In particular, the setIndicator of $S$ is $\sum c_ie_i \in \mathbb Z^n$ where $c_i = 1$ if $i \in T$, $c_i = -1$ if $i^{*} \in T$ and $0$ otherwise.
|
|
|
|
If the set is not admissible it produces an error.
|
|
The object setIndicator is a method function.