tuple_realtuple_realTupleRealTupleRealtuple_real (算子)
名称
tuple_realtuple_realTupleRealTupleRealtuple_real — 将元组转换为浮点数元组。
签名
tuple_real( : : T : Real)
Herror tuple_real(double T, double* Real)
Herror T_tuple_real(const Htuple T, Htuple* Real)
def tuple_real(t: MaybeSequence[Union[float, int]]) -> Sequence[float]
def tuple_real_s(t: MaybeSequence[Union[float, int]]) -> float
描述
tuple_realtuple_realTupleRealTupleRealTupleRealtuple_real converts the input tuple TTTTtt into a tuple
of floating point numbers. The conversion of a string is not
allowed.
例外:空输入元组
If the input tuple is empty, the operator returns an empty tuple.
HDevelop 内联操作
HDevelop provides an in-line operation for tuple_realtuple_realTupleRealTupleRealTupleRealtuple_real,
which can be used in an expression in the following syntax:
Real := real(T)
执行信息
- 多线程类型:独立(即使使用独占算子也能并行运行)。
- 多线程作用域:全局(可从任何线程调用)。
- 未采用并行化处理。
参数
TTTTtt (输入控制) number(-array) → HTupleMaybeSequence[Union[float, int]]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
Input tuple.
RealRealRealRealrealreal (输出控制) number(-array) → HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)
Input tuple as floating point numbers.
模块
基础