import { rms } from "https://deno.land/x/simplestatistics@v7.7.5/index.js";
The Root Mean Square (RMS) is
a mean function used as a measure of the magnitude of a set
of numbers, regardless of their sign.
This is the square root of the mean of the squares of the
input numbers.
This runs in O(n)
, linear time, with respect to the length of the array.