Skip to main content
Log in

Mojo function

log

log(x: SIMD[type, size]) -> SIMD[type, size]

Performs elementwise natural log (base E) of a SIMD vector.

Args:

  • x (SIMD[type, size]): Vector to perform logarithm operation on.

Returns:

Vector containing result of performing natural log base E on x.