VF_varianceV | VD_varianceV | VE_varianceV |
|
Function | Variance between two one-dimensional distributions. |
|
Syntax C/C++ | #include <VFstd.h>
float VF_varianceV( fVector X, fVector Y, ui size ); |
C++ VecObj | #include <OptiVec.h>
T vector<T>::varianceV( const vector<T>& Y ); |
Pascal/Delphi | uses VFstd;
function VF_varianceV( X, Y:fVector; size:UIntSize ): Single; |
|
CUDA function C/C++ | #include <cudaVFstd.h>
int cudaVF_varianceV( float *h_RetVal, fVector X, fVector Y, ui size );
int cusdVF_varianceV( float *d_RetVal, fVector X, fVector Y, ui size );
float VFcu_varianceV( fVector h_X, fVector h_Y, ui size );
|
CUDA function Pascal/Delphi | uses VFstd;
function cudaVF_varianceV( var h_RetVal:Single; d_X, d_Y:fVector; size:UIntSize ): IntBool;
function cusdVF_varianceV( d_RetVal:PSingle; d_X, d_Y:fVector; size:UIntSize ): IntBool;
function VFcu_varianceV( h_X, h_Y:fVector; size:UIntSize ): Single;
|
|
Description | var = (1 / size) * sum( (Xi - Yi)2 ) |
|
|
Return value | The variance is returned. |
|
|