tuple_log10tuple_log10TupleLog10TupleLog10tuple_log10 (Operator)

Name

tuple_log10tuple_log10TupleLog10TupleLog10tuple_log10 — Compute the base 10 logarithm of a tuple.

Signature

tuple_log10( : : T : Log)

Herror tuple_log10(double T, double* Log)

Herror T_tuple_log10(const Htuple T, Htuple* Log)

void TupleLog10(const HTuple& T, HTuple* Log)

HTuple HTuple::TupleLog10() const

static void HOperatorSet.TupleLog10(HTuple t, out HTuple log)

HTuple HTuple.TupleLog10()

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

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

Description

tuple_log10tuple_log10TupleLog10TupleLog10TupleLog10tuple_log10 computes the base 10 logarithm of the input tuple TTTTtt. The logarithm is always returned as a floating point number. The logarithm 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_log10tuple_log10TupleLog10TupleLog10TupleLog10tuple_log10, which can be used in an expression in the following syntax:

Log := log10(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.

Restriction: T > 0

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

Base 10 logarithm of the input tuple.

Alternatives

tuple_logtuple_logTupleLogTupleLogTupleLogtuple_log, tuple_log2tuple_log2TupleLog2TupleLog2TupleLog2tuple_log2

See also

tuple_exptuple_expTupleExpTupleExpTupleExptuple_exp, tuple_exp2tuple_exp2TupleExp2TupleExp2TupleExp2tuple_exp2, tuple_exp10tuple_exp10TupleExp10TupleExp10TupleExp10tuple_exp10, tuple_powtuple_powTuplePowTuplePowTuplePowtuple_pow

Module

Foundation