Skip to content

LN

Summary

Vector natural logarithm: applies the natural log (base e) elementwise to the input series.

Formula

outReal[i] = log(inReal[i])

Inputs

  • inReal — Input value series

Outputs

  • outReal — Natural log of each input value

Implementation

TA-Lib Definition: ln.c · ln.yaml

Native File
C ta_LN.c
Rust ln.rs
Java Core.java

TA-Lib is also available for Python, R and more using a wrapper.

Aliases

Natural Log, Vector Log Natural, Log

See Also

LOG10 · EXP · SQRT