tuple_ceiltuple_ceilTupleCeilTupleCeiltuple_ceil (算子)

名称

tuple_ceiltuple_ceilTupleCeilTupleCeiltuple_ceil — 计算元组的上限函数。

签名

tuple_ceil( : : T : Ceil)

Herror tuple_ceil(double T, double* Ceil)

Herror T_tuple_ceil(const Htuple T, Htuple* Ceil)

void TupleCeil(const HTuple& T, HTuple* Ceil)

HTuple HTuple::TupleCeil() const

static void HOperatorSet.TupleCeil(HTuple t, out HTuple ceil)

HTuple HTuple.TupleCeil()

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

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

描述

tuple_ceiltuple_ceilTupleCeilTupleCeilTupleCeiltuple_ceil computes the ceiling function of the input tuple TTTTtt, i.e., the smallest integer greater than or equal to TTTTtt. The ceiling function is always returned as a floating point number. The ceiling function 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_ceiltuple_ceilTupleCeilTupleCeilTupleCeiltuple_ceil, which can be used in an expression in the following syntax:

Ceil := ceil(T)

执行信息

参数

TTTTtt (输入控制)  number(-array) HTupleMaybeSequence[Union[float, int]]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

Input tuple.

CeilCeilCeilCeilceilceil (输出控制)  number(-array) HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)

Ceiling function of the input tuple.

模块

基础