Credits | Overview | Plotting Styles | Commands | Terminals |
---|
The following is a list of all the unary operators:
Symbol | Example | Explanation |
---|---|---|
- | -a | unary minus |
+ | +a | unary plus (no-operation) |
~ | ~a | * one's complement |
! | !a | * logical negation |
! | a! | * factorial |
$ | $3 | * data column in `using` specifier |
| | |A| | cardinality of array A |
(*) Starred explanations indicate that the operator requires an integer argument.
The factorial operator returns an integer when N! is sufficiently small (N <= 20 for 64-bit integers). It returns a floating point approximation for larger values of N.
The cardinality operator |...| returns the number of elements |A| in array A. It returns the number of data lines |$DATA| when applied to datablock $DATA.