Overview
>
klyn.math
>
NDArray
>
cos
Overview
Index
Tree
Deprecated
klyn.math.NDArray.cos
method
public cos() as NDArray<Double>:
Description
Returns the element-wise cosine in radians. The result is materialized as `NDArray<Double>`.
a = NDArray<Double>.fromList([0.0, Math.PI]) print(a.cos())