EXP macro
The EXP macro
is available only in HCL®
Campaign.
Syntax
EXP(data) Parameters
data
The
numerical values used as an exponent to the natural number, e.
This can be a constant value, a column, a cell range, or an expression
evaluating to any of the above. For the format definition of data,
see the "Macro Function Parameters" section in the chapter
in this guide for your HCL
product.
Description
EXP raises
the natural number, e, by each of the values in
the specified data range (that is, calculates
).
The constant e equals 2.7182818. EXP returns
one new column for each input column, each containing the result
for each value x in the corresponding
input column(s). EXP is the inverse of the LN macro
function.
Examples
TEMP = EXP(2)Creates a new column named
|
TEMP = EXP(V1)Creates a new column named |
TEMP = EXP(V1:V3)Creates three new columns
named |
TEMP = EXP(V1[10:20])Creates a new column
named |
TEMP = EXP(V1[1:5]:V2)Creates two new columns
named |
Related functions
| Function | Description |
|---|---|
LN or LOG |
Computes the natural log of the contents of the specified data range |
LOG2 |
Computes the log base2 of the contents of the specified data range |
LOG10 |
Computes the log base10 of the contents of the specified data range |
POW |
Exponential power |