VF_meanabs | VD_meanabs | VE_meanabs |
|
Function | Mean of the absolute values of a one-dimensional distribution |
|
Syntax C/C++ | #include <VFstd.h>
float VF_meanabs( fVector X, ui size ); |
C++ VecObj | #include <OptiVec.h>
T vector<T>::meanabs(); |
Pascal/Delphi | uses VFstd;
function VF_meanabs( X:fVector; size: UIntSize ): Single; |
|
CUDA function C/C++ | #include <cudaVFstd.h>
int cudaVF_meanabs( float *h_RetVal, fVector d_X, ui size );
int cusdVF_meanabs( float *d_RetVal, fVector d_X, ui size );
float VFcu_meanabs( fVector h_X, ui size );
|
CUDA function Pascal/Delphi | uses VFstd;
function cudaVF_meanabs( var h_RetVal:Single; d_X:fVector; size:UIntSize ): IntBool;
function cusdVF_meanabs( d_RetVal:PSingle; d_X:fVector; size:UIntSize ): IntBool;
function VFcu_meanabs( h_X:fVector; size:UIntSize ): Single;
|
|
Description | meanabs = (1 / size) * sum(| Xi |) |
|
|
Return value | Mean of the absolute values of all vector elements |
|
|