VF_varianceCwW | VD_varianceCwW | VE_varianceCwW |
|
Funktion | gewichtete Varianz bezüglich eines Soll-Wertes |
|
Syntax C/C++ | #include <VFstd.h>
float VF_varianceCwW( fVector X, fVector Wt, ui size, float C ); |
C++ VecObj | #include <OptiVec.h>
T vector<T>::varianceCwW( const vector<T>& Wt, const T& C ); |
Pascal/Delphi | uses VFstd;
function VF_varianceCwW( X, Wt:fVector; size:UIntSize; C:Single ): Single; |
|
CUDA-Funktion C/C++ | #include <cudaVFstd.h>
int cudaVF_varianceCwW( float *h_RetVal, fVector d_X, fVector d_Wt, ui size, float C );
int cusdVF_varianceCwW( float *d_RetVal, fVector d_X, fVector d_Wt, ui size, float *d_C );
float VFcu_varianceCwW( fVector h_X, fVector h_Wt, ui size, float C );
|
CUDA-Funktion Pascal/Delphi | uses VFstd;
function cudaVF_varianceCwW( var h_RetVal:Single; d_X, d_Wt:fVector; size:UIntSize; C:Single ): IntBool;
function cusdVF_varianceCwW( d_RetVal:PSingle; d_X, d_Wt:fVector; size:UIntSize; d_C:PSingle ): IntBool;
function VFcu_varianceCwW( h_X, h_Wt:fVector; size:UIntSize; C:Single ): Single;
|
|
Beschreibung | var = (1 / Summe( Wti )) * Summe( Wti * (Xi - C)2 )
Die Wichtung muss nicht normiert sein. |
|
|
Rückgabewert | berechnete Varianz |
|
|