tuple_sqrttuple_sqrtTupleSqrtTupleSqrt (Operator)
Name
tuple_sqrttuple_sqrtTupleSqrtTupleSqrt
— Compute the square root of a tuple.
Signature
tuple_sqrt( : : T : Sqrt)
Herror tuple_sqrt(double T, double* Sqrt)
Herror T_tuple_sqrt(const Htuple T, Htuple* Sqrt)
Description
tuple_sqrttuple_sqrtTupleSqrtTupleSqrtTupleSqrt
computes the square root of the input tuple
TTTTt
. The square root is always returned as a floating point
number. The square root of a string is not allowed.
Exception: Empty input tuple
If the input tuple is empty, the operator returns an empty tuple.
HDevelop In-line Operation
HDevelop provides an in-line operation for tuple_sqrttuple_sqrtTupleSqrtTupleSqrtTupleSqrt
,
which can be used in an expression in the following syntax:
Sqrt := sqrt(T)
Execution Information
- Multithreading type: independent (runs in parallel even with exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Parameters
TTTTt
(input_control) number(-array) →
HTupleHTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
Input tuple.
Restriction: T >= 0
SqrtSqrtSqrtSqrtsqrt
(output_control) number(-array) →
HTupleHTupleHtuple (real) (double) (double) (double)
Square root of the input tuple.
Module
Foundation