tan#

static vectorious.tan(x)#

Returns the tangent of each element of x.

Arguments:
Returns:

NDArray

Examples:

import { tan } from 'vectorious/core/tan';

tan([1, 2, 3]); // => array([1.5574077367782593, -2.185039758682251, -0.14254654943943024])