reciprocal#

static vectorious.reciprocal(x)#

Gets the element-wise reciprocal of x.

Arguments:
Returns:

NDArray

Examples:

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

reciprocal([1, 2, 3]); // => array([1, 0.5, 0.3333333432674408])