pow#

static vectorious.pow(x, exponent)#

Returns each element of x to the exponent power, that is, element^exponent.

Arguments:
Returns:

NDArray

Examples:

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

pow([1, 2, 3], 2); // => array([1, 4, 9])