prtools.rms#

rms(a, axis=None)[source]#

Compute the root-mean-square of the nonzero entries

Parameters:
  • a (array_like) – Input array

  • axis (None or int, optional) – Axis or axes along which the standard deviation is computed. The default is to compute the standard deviation of the flattened array.

Return type:

ndarray