VF_varianceVVD_varianceVVE_varianceV
FunctionVariance 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/Delphiuses 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/Delphiuses 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;
Descriptionvar = (1 / size) * sum( (Xi - Yi)2 )
Error handlingnone
Return valueThe variance is returned.
See alsoVF_mean,   VF_varianceC,   VF_ssq,   VF_ssqdevV,   VF_linregress

VectorLib Table of Contents  OptiVec home