Herror ::tuple_ldexp (
    const HTuple &T1,
    const HTuple &T2,
    double *Ldexp
)
Herror ::tuple_ldexp (
    const HTuple &T1,
    const HTuple &T2,
    HTuple *Ldexp
)

Calculate the ldexp function of two tuples.

::tuple_ldexp computes the ldexp function of the input tuples, i.e., T1*2^T2. If both tuples have the same length the operation is performed for the corresponding elements of both tuples. Otherwise, either T1 or T2 must have length 1. In this case, the operation is performed for each element of the longer tuple with the single element of the other tuple. The result is always a floating point number. The ldexp function of strings is not allowed.


Parameters

T1 (input_control)
number(-array) -> HTuple.double / long
Input tuple 1.

T2 (input_control)
number(-array) -> HTuple.double / long
Input tuple 2.

Ldexp (output_control)
number(-array) -> (HTuple.) double *
Ldexp function of the input tuples.


See also

::tuple_exp


Module

Operators not requiring licensing



Copyright © 1996-2002 MVTec Software GmbH