FunctionRoot of the mean square
Syntax C/C++#include <VFstd.h>
float VF_rms( fVector X, ui size );
C++ VecObj#include <OptiVec.h>
T vector<T>::rms();
Pascal/Delphiuses VFstd;
function VF_rms( X:fVector; size:UIntSize ); Single;
CUDA function C/C++#include <cudaVFstd.h>
int cudaVF_rms( float *h_RetVal, fVector d_X, ui size );
int cusdVF_rms( float *d_RetVal, fVector d_X, ui size );
float VFcu_rms( fVector h_X, ui size );
CUDA function Pascal/Delphiuses VFstd;
function cudaVF_rms( var h_RetVal:Single; d_X:fVector; size:UIntSize ): IntBool;
function cusdVF_rms( d_RetVal:PSingle; d_X:fVector; size:UIntSize ): IntBool;
function VFcu_rms( h_X:fVector; size:UIntSize ): Single;
Descriptionrms = sqrt( (1/size) * sum( Xi2 ) )
Error handlingnone
Return valuerms
See alsoVF_ssq,   VF_Euclid,   VF_mean

VectorLib Table of Contents  OptiVec home