tuple_maxTupleMaxTupleMaxtuple_maxtuple_max
説明
tuple_maxTupleMaxTupleMaxtuple_maxtuple_max — tuple の最大値を返す。
書式
tuple_max( tuple Tuple, out tuple Max )void TupleMax( const HTuple& Tuple, HTuple* Max )static void HOperatorSet.TupleMax( HTuple tuple, out HTuple max )def tuple_max( tuple: MaybeSequence[Union[float, int, str]] ) -> Sequence[Union[float, int, str]]
def tuple_max_s( tuple: MaybeSequence[Union[float, int, str]] ) -> Union[float, int, str]Herror tuple_max( const Hlong Tuple, double* Max )
Herror T_tuple_max( const Htuple Tuple, Htuple* Max )
HTuple HTuple::TupleMax( ) const
HTuple HTuple.TupleMax( )
説明
tuple_maxTupleMax は入力 tuple Tupletupletuple のすべての要素の最大
値を返します。Tupletupletuple の全ての要素は文字か数値(整数か実
数)のどちらかを持ちます。
文字と数値の混合はできません。結果のパラメーター Maxmaxmax は
Tupletupletuple の要素の少なくとも 1 つが浮動小数点数ならば浮動小数
点数を含みます。
Tupletupletuple の全ての要素が整数なら、Maxmaxmax の最大値も整数となります。
例外: 入力tuple が 空
入力tupleが空の場合、例外が発生します。
HDevelopインライン演算
HDevelopは tuple_maxTupleMax の代わりとなるインライン演算を備えており、以下の構文形式で使
用することができます::
Max := max(Tuple)
実行情報
実行情報
パラメーター
Tupletupletuple (input_control) tuple(-array) → (integer / real / string)HTuple (Hlong / double / HString)HTuple (int / long / double / string)MaybeSequence[Union[float, int, str]]Htuple (Hlong / double / char*)
入力 tuple
Maxmaxmax (output_control) tuple(-array) → (real / integer / string)HTuple (double / Hlong / HString)HTuple (double / int / long / string)Sequence[Union[float, int, str]]Htuple (double / Hlong / char*)
入力 tuple 要素の最大値
他のオペレーターとの組み合わせ
組み合わせ
他の選択候補
tuple_minTupleMin, tuple_meanTupleMean, tuple_deviationTupleDeviation, tuple_sumTupleSum, tuple_lengthTupleLength, tuple_medianTupleMedian
関連項目
tuple_max2TupleMax2, tuple_min2TupleMin2
モジュール
Foundation