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)

void TupleCbrt(const HTuple& T, HTuple* Cbrt)

HTuple HTuple::TupleCbrt() const

static void HOperatorSet.TupleCbrt(HTuple t, out HTuple cbrt)

HTuple HTuple.TupleCbrt()

def tuple_cbrt(t: MaybeSequence[Union[float, int]]) -> Sequence[float]

def tuple_cbrt_s(t: MaybeSequence[Union[float, int]]) -> float

Description

tuple_cbrttuple_cbrtTupleCbrtTupleCbrtTupleCbrttuple_cbrt computes the cube root of the input tuple TTTTtt. 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_cbrtTupleCbrtTupleCbrtTupleCbrttuple_cbrt, which can be used in an expression in the following syntax:

Cbrt := cbrt(T)

Execution Information

Parameters

TTTTtt (input_control)  number(-array) HTupleMaybeSequence[Union[float, int]]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

Input tuple.

CbrtCbrtCbrtCbrtcbrtcbrt (output_control)  number(-array) HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)

Cube root of the input tuple.

Alternatives

tuple_powtuple_powTuplePowTuplePowTuplePowtuple_pow

See also

tuple_sqrttuple_sqrtTupleSqrtTupleSqrtTupleSqrttuple_sqrt

Module

Foundation