convert_tuple_to_vector_1dconvert_tuple_to_vector_1dConvertTupleToVector1dConvertTupleToVector1d (Operator)
Name
convert_tuple_to_vector_1dconvert_tuple_to_vector_1dConvertTupleToVector1dConvertTupleToVector1d
— Distribute the elements of a tuple to a vector.
Signature
Description
convert_tuple_to_vector_1dconvert_tuple_to_vector_1dConvertTupleToVector1dConvertTupleToVector1dConvertTupleToVector1d
transforms a tuple into
a vector variable. The input tuple InputTupleInputTupleInputTupleInputTupleinputTuple
is split into
sub-tuples each comprising of SubTupleLengthSubTupleLengthSubTupleLengthSubTupleLengthsubTupleLength
elements. The
sub-tuples are stored in the output vector ResultVectorResultVectorResultVectorResultVectorresultVector
.
Parameters
InputTupleInputTupleInputTupleInputTupleinputTuple
(input_control) number(-array) →
HTupleHTupleHtuple (real / integer / string) (double / int / long / string) (double / Hlong / HString) (double / Hlong / char*)
Input tuple.
SubTupleLengthSubTupleLengthSubTupleLengthSubTupleLengthsubTupleLength
(input_control) number →
HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)
Desired length of the resulting tuples in the output
vector.
Default value: 1
ResultVectorResultVectorResultVectorResultVectorresultVector
(output_control) number-vector{1} →
HTupleHTupleHtuple (real / integer / string) (double / int / long / string) (double / Hlong / HString) (double / Hlong / char*)
Output vector.
Result
If the values of the specified parameters are correct,
convert_tuple_to_vector_1dconvert_tuple_to_vector_1dConvertTupleToVector1dConvertTupleToVector1dConvertTupleToVector1d
returns 2 (H_MSG_TRUE). Otherwise an
exception is raised and an error code returned.
See also
convert_vector_to_tupleconvert_vector_to_tupleConvertVectorToTupleConvertVectorToTupleConvertVectorToTuple
Module
Foundation