Herror ::tuple_number (
    const HTuple &T,
    double *Number
)
Herror ::tuple_number (
    const HTuple &T,
    HTuple *Number
)

Convert a tuple (of strings) into a tuple of numbers.

::tuple_number converts the input tuple T into a tuple of numbers. If the input tuple contains numbers, they are simply copied into the output tuple. Strings are converted into the appropriate type of number (integer or floating point numbers) or are copied as strings if they do not represent a number.


Parameters

T (input_control)
number(-array) -> HTuple.double / long / char *
Input tuple.

Number (output_control)
number(-array) -> (HTuple.) double * / long * / char *
Input tuple as numbers.


See also

::tuple_is_number, ::tuple_string


Module

Operators not requiring licensing



Copyright © 1996-2002 MVTec Software GmbH