Skip to content

tuple_ceilTupleCeilTupleCeiltuple_ceiltuple_ceil🔗

Short description🔗

tuple_ceilTupleCeilTupleCeiltuple_ceiltuple_ceil — Compute the ceiling function of a tuple.

Signature🔗

tuple_ceil( number T, out number Ceil )void TupleCeil( const HTuple& T, HTuple* Ceil )static void HOperatorSet.TupleCeil( HTuple t, out HTuple ceil )def tuple_ceil( t: MaybeSequence[Union[float, int]] ) -> Sequence[float]

def tuple_ceil_s( t: MaybeSequence[Union[float, int]] ) -> floatHerror tuple_ceil( double T, double* Ceil )

Herror T_tuple_ceil( const Htuple T, Htuple* Ceil )

HTuple HTuple::TupleCeil( ) const

HTuple HTuple.TupleCeil( )

Description🔗

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

Ceil := ceil(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.

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

Ceiling function of the input tuple.

Module🔗

Foundation