Logarithm
transcendental-functions logarithm
syntax
- log(a)
definition
log(a) is defined as ln(a) or elog a (natural logarithm).
log(a) results in null values for negative or zero values of data-item a.
applies to
- data item with float32 or float64 value type
example
attribute<float32> lnA (ADomain) := log(A);
A | lnA |
---|---|
1 | 0 |
2 | 0.69 |
3.5 | 1.25 |
5 | 1.61 |
10 | 2.30 |
ADomain, nr of rows = 5