QMRITools`
QMRITools`
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.
Examples
Copy to clipboard.
In[1]:=1

✖
https://wolfram.com/xid/0d2kfswe24q2a9gzj9c82t0sr8-coxtlz
Direct link to example