tuple_inverseTupleInverseTupleInversetuple_inversetuple_inverse
説明
tuple_inverseTupleInverseTupleInversetuple_inversetuple_inverse — tuple を逆にする。
書式
tuple_inverse( tuple Tuple, out tuple Inverted )void TupleInverse( const HTuple& Tuple, HTuple* Inverted )static void HOperatorSet.TupleInverse( HTuple tuple, out HTuple inverted )def tuple_inverse( tuple: MaybeSequence[Union[float, int, str]] ) -> Sequence[Union[float, int, str]]
def tuple_inverse_s( tuple: MaybeSequence[Union[float, int, str]] ) -> Union[float, int, str]Herror tuple_inverse( const Hlong Tuple, Hlong* Inverted )
Herror T_tuple_inverse( const Htuple Tuple, Htuple* Inverted )
HTuple HTuple::TupleInverse( ) const
HTuple HTuple.TupleInverse( )
説明
tuple_inverseTupleInverse は入力 tuple Tupletupletuple を逆順にします。
従って Invertedinvertedinverted は Tupletupletuple と同じ要素を含みますが
順番が逆です。
例外: 入力tuple が 空
入力tupleが空の場合、この関数は空のtupleを返します。
HDevelopインライン演算
HDevelopは tuple_inverseTupleInverse の代わりとなるインライン演算を備えており、以下の構文形式で使
用することができます::
Inverted := inverse(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
Invertedinvertedinverted (output_control) tuple(-array) → (integer / real / string)HTuple (Hlong / double / HString)HTuple (int / long / double / string)Sequence[Union[float, int, str]]Htuple (Hlong / double / char*)
反転された入力 tuple
他のオペレーターとの組み合わせ
組み合わせ
他の選択候補
tuple_sortTupleSort, tuple_sort_indexTupleSortIndex
モジュール
Foundation