exp2
Syntax
exp2(X)
Arguments
X is a scalar/pair/vector/matrix.
Details
Return 2 raised to the power of X.
Return value: DOUBLE type
Examples
exp2(3);
// output
8
exp2(2 4 NULL 6);
// output
[4,16,,64]
exp2(1..4$2:2);
            | #0 | #1 | 
|---|---|
| 2 | 8 | 
| 4 | 16 | 
exp2(X)
X is a scalar/pair/vector/matrix.
Return 2 raised to the power of X.
Return value: DOUBLE type
exp2(3);
// output
8
exp2(2 4 NULL 6);
// output
[4,16,,64]
exp2(1..4$2:2);
            | #0 | #1 | 
|---|---|
| 2 | 8 | 
| 4 | 16 |