Sqr - ObjectVision/GeoDMS GitHub Wiki
Arithmetic functions square number (a2)
- sqr(a)
sqr(a) results in the square number of the values of data item a, synonym for a2.
Data item or unit with Numeric value type
attribute<float32> sqrA (ADomain) := sqr(A);
A | sqrA |
---|---|
0 | 0 |
1 | 1 |
-2 | 4 |
3.6 | 12.96 |
999 | 998001 |
ADomain, nr of rows = 5