Sqrt
arithmetic-functions square root (√a)
syntax
- sqrt(a)
definition
sqrt(a) results in the square root of the values of data-item a, synonym with √a.
description
The sqrt function results in null values for negative values in the argument.
applies to
data item or unit with Numeric value-type
example
attribute<float32> sqrtA (ADomain) := sqrt(A);
| A | sqrtA |
|---|---|
| 0 | 0 |
| 1 | 1 |
| -2 | null |
| 3.6 | 1.897 |
| 999 | 31.6 |
ADomain, nr of rows = 5