Back to NDArray Operations
epow
Element-wise power (.^). Raises each element to the given power.
Syntax
epow(a: NDArray, n: Int64) → r
Backends
TypeScriptnumwa
Description
Element-wise power (.^). Raises each element to the given power.
Parameters
| Name | Description |
|---|---|
| a | Base array |
| n | Exponent (scalar) |
Returns
NDArray with each element raised to the power n