klyn.math.Math.tan
method
public static tan<NUMBER_TYPE extends AbstractNumber>(values as NDArray<NUMBER_TYPE>) as NDArray<Double>:
Description
Returns the element-wise tangent of an array expressed in radians. This overload delegates to the native vectorized NDArray kernel.
import klyn.math

angles = NDArray<Double>.fromList([0.0, Math.PI / 4.0])
print(Math.tan(angles))