COMPUTE THE NATURAL LOG OF A NUMBER

Computes the natural logarithm (base e) of a given scalar number. Use this worker anywhere a ln(x) transformation is needed in a data pipeline or mathematical expression.

When to use

Classification: process.

Tagged: ln, log, math, natural_log, scalar, transformation.

Inputs

Label ID Type Default Required Description
Number numberwhosenaturallogistobecomputed scalar The scalar numeric value x for which ln(x) is computed; must be a positive real number (x > 0).
Format format text %s Optional printf-style format string (e.g. ‘%.4f’) used to format the output; defaults to ‘%s’ which returns the full floating-point string representation.

Outputs

Label ID Type Description
math_log_output_1 math_log_output_1 scalar Scalar result of ln(x), formatted according to the ‘format’ input; a floating-point number returned as a string.

Disciplines

  • data.curve.transform

Runnable example

A runnable example is registered for this worker. Open the example workflow on the d3VIEW canvas: /api/workflow/example?id=math_log


Auto-generated from transformation schema. Worker id: math_log. Schema hash: c9689b5da3da. Hand-curated docs in workerexamples/ override this page when present.