-=
| Stack | Position | Description |
|---|---|---|
| Stack(In) | top | any value a |
| top-1 | vector x | |
| Stack(Out) | top | vector x |
Removes element a, no matter in which position it is in the original vector. Element a gets removed only once, when it appears in the vector for the first time. The vector remains unchanged, if it doesn't contain a.
This operation doesn't generate a new vector like the operand - and is therefore more efficient.
For a code example see Remove.