QMRITools`GeneralTools`
QMRITools`GeneralTools`

RMSNoZero

RMSNoZero[vec]

return the RMS error of the vec which can be anny dimonsion array. if vec={0...} the output is 0. Zeros are ignored.