Back to Core Functions
log2
Base-2 logarithm
Syntax
Y = log2(X)
Description
Computes the base-2 logarithm of each element.
Parameters
| Name | Description |
|---|---|
| X | Input values > 0 (scalar or NDArray) |
Returns
Base-2 log values