|
Function | Root 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/Delphi | uses 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/Delphi | uses 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;
|
|
Description | rms = sqrt( (1/size) * sum( Xi2 ) ) |
|
|
|
|