Skip to content

tuple_realTupleRealTupleRealtuple_realtuple_real🔗

Short description🔗

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

Signature🔗

tuple_real( number T, out number Real )void TupleReal( const HTuple& T, HTuple* Real )static void HOperatorSet.TupleReal( HTuple t, out HTuple real )def tuple_real( t: MaybeSequence[Union[float, int]] ) -> Sequence[float]

def tuple_real_s( t: MaybeSequence[Union[float, int]] ) -> floatHerror tuple_real( double T, double* Real )

Herror T_tuple_real( const Htuple T, Htuple* Real )

HTuple HTuple::TupleReal( ) const

HTuple HTuple.TupleReal( )

Description🔗

tuple_realTupleReal converts the input tuple Ttt 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_realTupleReal, which can be used in an expression in the following syntax:

Real := real(T)

Execution information🔗

Execution information
  • Multithreading type: reentrant (runs in parallel with non-exclusive operators).

  • Multithreading scope: global (may be called from any thread).

  • Processed without parallelization.

Parameters🔗

Ttt (input_control) number(-array) → (real / integer)HTuple (double / Hlong)HTuple (double / int / long)MaybeSequence[Union[float, int]]Htuple (double / Hlong)

Input tuple.

Realrealreal (output_control) number(-array) → (real)HTuple (double)HTuple (double)Sequence[float]Htuple (double)

Input tuple as floating point numbers.

Module🔗

Foundation