ln

inline fun <T : Number> Array<T>.ln(): DoubleArray

Computes the natural logarithm (base E) of the value Array.

Example:

arrayOf(1.0, 4.0, 9.0).ln() // [0.0, 1.38, 2.19]

Since

1.1.0

See also

ln

inline fun <T : Number> Iterable<T>.ln(): Iterable<Double>

Computes the natural logarithm (base E) of the value Iterable.

Example:

listOf(1.0, 4.0, 9.0).ln() // [0.0, 1.38, 2.19]

Since

1.1.0

See also

ln