tuple_lengthTupleLengthTupleLengthtuple_lengthtuple_length
説明
tuple_lengthTupleLengthTupleLengthtuple_lengthtuple_length — tuple の要素数を返す。
書式
tuple_length( tuple Tuple, out integer Length )void TupleLength( const HTuple& Tuple, HTuple* Length )static void HOperatorSet.TupleLength( HTuple tuple, out HTuple length )def tuple_length( tuple: MaybeSequence[Union[float, int, str]] ) -> int
Herror tuple_length( const Hlong Tuple, Hlong* Length )
Herror T_tuple_length( const Htuple Tuple, Htuple* Length )
HTuple HTuple::TupleLength( ) const
HTuple HTuple.TupleLength( )
説明
tuple_lengthTupleLength は入力 tuple Tupletupletuple の要素数を返しま
す。
例外: 入力tuple が 空
入力tupleが空の場合、この関数は 0 を返します。
HDevelopインライン演算
HDevelopは tuple_lengthTupleLength の代わりとなるインライン演算を備えており、以下の構文形式で使
用することができます::
Length := |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
Lengthlengthlength (output_control) integer → (integer)HTuple (Hlong)HTuple (int / long)intHtuple (Hlong)
入力 tuple の要素数
他のオペレーターとの組み合わせ
組み合わせ
他の選択候補
tuple_minTupleMin, tuple_maxTupleMax, tuple_meanTupleMean, tuple_deviationTupleDeviation, tuple_sumTupleSum, tuple_medianTupleMedian
関連項目
tuple_typeTupleType
モジュール
Foundation