tuple_logtuple_logTupleLogTupleLog (Operator)

Name

tuple_logtuple_logTupleLogTupleLog — Compute the natural logarithm of a tuple.

Signature

tuple_log( : : T : Log)

Herror tuple_log(double T, double* Log)

Herror T_tuple_log(const Htuple T, Htuple* Log)

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

HTuple HTuple::TupleLog() const

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

HTuple HTuple.TupleLog()

Description

tuple_logtuple_logTupleLogTupleLogTupleLog computes the natural logarithm of the input tuple TTTTt. The natural logarithm is always returned as a floating point number. The natural 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_logtuple_logTupleLogTupleLogTupleLog, which can be used in an expression in the following syntax:

Log := log(T)

Execution Information

Parameters

TTTTt (input_control)  number(-array) HTupleHTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

Input tuple.

Restriction: T > 0

LogLogLogLoglog (output_control)  number(-array) HTupleHTupleHtuple (real) (double) (double) (double)

Natural logarithm of the input tuple.

Alternatives

tuple_log10tuple_log10TupleLog10TupleLog10TupleLog10

See also

tuple_exptuple_expTupleExpTupleExpTupleExp, tuple_powtuple_powTuplePowTuplePowTuplePow

Module

Foundation