You are here: Symbol Reference > clMtxVec Namespace > Classes > TOpenCLMtxVec Class > public > RMS Method > TOpenCLMtxVec.RMS Method ()
MtxVec VCL
ContentsIndex
PreviousUpNext
TOpenCLMtxVec.RMS Method ()

Standard deviation.

Pascal
function RMS: double; overload;

Calculate the standard deviation of all calling object elements. The result is a real value. An exception is raised if calling vector TOpenCLBase.ComplexComplexproperty is true.

var a: clVector; c: double; aMean: double; begin a.CopyFromArray(TDoubleArray.Create(1,2,3,4)); Caption := FloatToSTr(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!