tuple_cbrttuple_cbrtTupleCbrtTupleCbrttuple_cbrt (Operator)
Name
tuple_cbrttuple_cbrtTupleCbrtTupleCbrttuple_cbrt
— Compute the cube root of a tuple.
Signature
tuple_cbrt( : : T : Cbrt)
Herror tuple_cbrt(double T, double* Cbrt)
Herror T_tuple_cbrt(const Htuple T, Htuple* Cbrt)
def tuple_cbrt(t: MaybeSequence[Union[float, int]]) -> Sequence[float]
def tuple_cbrt_s(t: MaybeSequence[Union[float, int]]) -> float
Description
tuple_cbrttuple_cbrtTupleCbrtTupleCbrttuple_cbrt
computes the cube root of the input tuple
TTTtt
. The cube root is always returned as a floating point
number. The cube root 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_cbrttuple_cbrtTupleCbrtTupleCbrttuple_cbrt
,
which can be used in an expression in the following syntax:
Cbrt := cbrt(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
TTTtt
(input_control) number(-array) →
HTupleMaybeSequence[Union[float, int]]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
Input tuple.
CbrtCbrtCbrtcbrtcbrt
(output_control) number(-array) →
HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)
Cube root of the input tuple.
Alternatives
tuple_powtuple_powTuplePowTuplePowtuple_pow
See also
tuple_sqrttuple_sqrtTupleSqrtTupleSqrttuple_sqrt
Module
Foundation