tuple_exp2tuple_exp2TupleExp2TupleExp2tuple_exp2 (Operator)
Name
tuple_exp2tuple_exp2TupleExp2TupleExp2tuple_exp2
— Compute the base 2 exponential of a tuple.
Signature
Herror tuple_exp2(double T, double* Exp)
Herror T_tuple_exp2(const Htuple T, Htuple* Exp)
def tuple_exp2(t: MaybeSequence[Union[float, int]]) -> Sequence[float]
def tuple_exp2_s(t: MaybeSequence[Union[float, int]]) -> float
Description
tuple_exp2tuple_exp2TupleExp2TupleExp2TupleExp2tuple_exp2
computes the base 2 exponential of the input
tuple TTTTtt
. The exponential is always returned as a floating
point number. The exponential of a string is not allowed.
Exception: Empty input tuple
If the input tuple is empty, the operator returns an empty tuple.
HDevelop In-line Operation
HDevelop provides an in-line operation for tuple_exp2tuple_exp2TupleExp2TupleExp2TupleExp2tuple_exp2
,
which can be used in an expression in the following syntax:
Exp := exp2(T)
Execution Information
- Multithreading type: independent (runs in parallel even with exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Parameters
TTTTtt
(input_control) number(-array) →
HTupleMaybeSequence[Union[float, int]]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
Input tuple.
ExpExpExpExpexpexp
(output_control) number(-array) →
HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)
Base 2 exponential of the input tuple.
Alternatives
tuple_exptuple_expTupleExpTupleExpTupleExptuple_exp
,
tuple_exp10tuple_exp10TupleExp10TupleExp10TupleExp10tuple_exp10
,
tuple_powtuple_powTuplePowTuplePowTuplePowtuple_pow
See also
tuple_logtuple_logTupleLogTupleLogTupleLogtuple_log
,
tuple_log2tuple_log2TupleLog2TupleLog2TupleLog2tuple_log2
,
tuple_log10tuple_log10TupleLog10TupleLog10TupleLog10tuple_log10
Module
Foundation