Back to Numerical Arrays (NumPy)
np.square
Return the element-wise square of the input.
Syntax
np.square(x)
Description
Return the element-wise square of the input.
Parameters
| Name | Description |
|---|---|
| x | NDArray |
Returns
NDArray