Back to Numerical Arrays (NumPy)
np.float_power
First array elements raised to powers from second array, element-wise.
Syntax
np.float_power(x1, x2)
Description
First array elements raised to powers from second array, element-wise. Unlike power, float_power always returns float64 output. In numwasm, this is equivalent to power since we use float64 by default.
Parameters
| Name | Description |
|---|---|
| x1 | NDArray |
| x2 | NDArray |
Returns
NDArray