double RMS() const;
Standard deviation.
Remarks:
Calculate the standard deviation of all calling object elements. The result is a real value. An exception is raised if calling vector TOpenCLBase::Complex property is true.
Examples
#include "clMtxExpr.h"
using namespace Dew;
using namespace Dew::Math;
void Example()
{
clMatrix a;
double c;
double aMean;
a.Size(2, 2, TclFloatPrecision::clFloat, false);
a.CopyFromArray(DewArray<double>{1, 2, 3, 4});
c = a.RMS();
}
See Also: clMatrix::Mean
Declared in Dew::Math::clMatrix · Dew.Math/clMtxExpr.h · Cross-compiler