Operator Reference

tuple_realtuple_realTupleRealTupleRealtuple_real (Operator)

tuple_realtuple_realTupleRealTupleRealtuple_real — Convert a tuple into a tuple of floating point numbers.

Signature

tuple_real( : : T : Real)

Herror tuple_real(double T, double* Real)

Herror T_tuple_real(const Htuple T, Htuple* Real)

void TupleReal(const HTuple& T, HTuple* Real)

HTuple HTuple::TupleReal() const

static void HOperatorSet.TupleReal(HTuple t, out HTuple real)

HTuple HTuple.TupleReal()

def tuple_real(t: MaybeSequence[Union[float, int]]) -> Sequence[float]

def tuple_real_s(t: MaybeSequence[Union[float, int]]) -> float

Description

tuple_realtuple_realTupleRealTupleRealtuple_real converts the input tuple TTTtt into a tuple of floating point numbers. The conversion 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_realtuple_realTupleRealTupleRealtuple_real, which can be used in an expression in the following syntax:

Real := real(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) HTupleMaybeSequence[Union[float, int]]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

Input tuple.

RealRealRealrealreal (output_control)  number(-array) HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)

Input tuple as floating point numbers.

Module

Foundation