You are here: Symbol Reference > MtxExpr Namespace > Classes > Matrix Record > public > RMS Method > Matrix.RMS Method ()
MtxVec VCL
ContentsIndex
PreviousUpNext
Matrix.RMS Method ()

Root mean square (RMS).

Pascal
function RMS: double; overload;

Calculate the root mean square value for all calling object elements in-place. The root mean square (RMS) is defined by the equation: 

 

var a: Matrix; c: double; begin a.SetIt(1,4,False,[1,2,3,4]); c := a.RMS; end;
Examples on GitHub
Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!