tuple_sqrttuple_sqrtTupleSqrtTupleSqrt (Operator)


tuple_sqrttuple_sqrtTupleSqrtTupleSqrt — Compute the square root of a tuple.


tuple_sqrt( : : T : Sqrt)

Herror tuple_sqrt(double T, double* Sqrt)

Herror T_tuple_sqrt(const Htuple T, Htuple* Sqrt)

void TupleSqrt(const HTuple& T, HTuple* Sqrt)

HTuple HTuple::TupleSqrt() const

static void HOperatorSet.TupleSqrt(HTuple t, out HTuple sqrt)

HTuple HTuple.TupleSqrt()


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


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.