sum_squared

sum_squared(x: ndarray) ndarray | float[source][source]

Compute norm of an array.

Parameters:

x (array) – Data whose norm must be found.

Returns:

value – Sum of squares of the input array x.

Return type:

float