tuple_mintuple_minTupleMinTupleMintuple_min (算子名称)
名称
tuple_mintuple_minTupleMinTupleMintuple_min
— Return the minimal element of a tuple.
参数签名
Herror tuple_min(const Hlong Tuple, double* Min)
Herror T_tuple_min(const Htuple Tuple, Htuple* Min)
def tuple_min(tuple: MaybeSequence[Union[float, int, str]]) -> Sequence[Union[float, int, str]]
def tuple_min_s(tuple: MaybeSequence[Union[float, int, str]]) -> Union[float, int, str]
描述
tuple_mintuple_minTupleMinTupleMinTupleMintuple_min
returns the minimal element of all elements
of the input tuple TupleTupleTupleTupletupletuple
. All elements of TupleTupleTupleTupletupletuple
either have to be strings or numbers (integer or floating point numbers).
It is not allowed to mix strings with numerical values. The result
parameter MinMinMinMinminmin
will contain a floating point number, if
at least one element of TupleTupleTupleTupletupletuple
is a floating point number.
If all elements of TupleTupleTupleTupletupletuple
are integer numbers the resulting
sum will also be an integer number.
Exception: Empty input tuple
If the input tuple is empty, an exception is raised.
HDevelop In-line Operation
HDevelop provides an in-line operation for tuple_mintuple_minTupleMinTupleMinTupleMintuple_min
,
which can be used in an expression in the following syntax:
Min := min(Tuple)
运行信息
- Multithreading type: independent (runs in parallel even with exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
参数表
TupleTupleTupleTupletupletuple
(input_control) tuple(-array) →
HTupleMaybeSequence[Union[float, int, str]]HTupleHtuple (integer / real / string) (int / long / double / string) (Hlong / double / HString) (Hlong / double / char*)
Input tuple.
MinMinMinMinminmin
(output_control) tuple(-array) →
HTupleSequence[Union[float, int, str]]HTupleHtuple (real / integer / string) (double / int / long / string) (double / Hlong / HString) (double / Hlong / char*)
Minimal element of the input tuple elements.
可替代算子
tuple_maxtuple_maxTupleMaxTupleMaxTupleMaxtuple_max
,
tuple_meantuple_meanTupleMeanTupleMeanTupleMeantuple_mean
,
tuple_deviationtuple_deviationTupleDeviationTupleDeviationTupleDeviationtuple_deviation
,
tuple_sumtuple_sumTupleSumTupleSumTupleSumtuple_sum
,
tuple_lengthtuple_lengthTupleLengthTupleLengthTupleLengthtuple_length
,
tuple_mediantuple_medianTupleMedianTupleMedianTupleMediantuple_median
参考其它
tuple_max2tuple_max2TupleMax2TupleMax2TupleMax2tuple_max2
,
tuple_min2tuple_min2TupleMin2TupleMin2TupleMin2tuple_min2
模块
Foundation