Overview
>
klyn.math
>
NDArray
>
log2
Overview
Index
Tree
Deprecated
klyn.math.NDArray.log2
method
public log2() as NDArray<Double>:
Description
Returns the element-wise base-2 logarithm. The result is materialized as `NDArray<Double>`.
a = NDArray<Double>.fromList([1.0, 8.0]) print(a.log2())