VF_min_max_mean_stddevVD_min_max_mean_stddevVE_min_max_mean_stddev
Functionsimultaneous calculation of the minimum, maximum, mean, and standard deviation of a one-dimensional distribution
Syntax C/C++#include <VFstd.h>
void VF_min_max_mean_stddev( fVector Stats, fVector X, ui size );
C++ VecObj#include <OptiVec.h>
void vector<T>::min_max_mean_stddev( vector<T> X );
Pascal/Delphiuses VFstd;
procedure VF_min_max_mean_stddev( Stats, X:fVector; size:UIntSize );
CUDA function C/C++#include <cudaVFstd.h>
int cudaVF_min_max_mean_stddev( fVector h_Stats, fVector d_X, ui size );
int cusdVF_min_max_mean_stddev( fVector d_Stats, fVector d_X, ui size );
void VFcu_min_max_mean_stddev( fVector h_Stats, fVector h_X, ui size );
CUDA function Pascal/Delphiuses VFstd;
function cudaVF_min_max_mean_stddev( h_Stats, d_X:fVector; size:UIntSize ): IntBool;
function cusdVF_min_max_mean_stddev( d_Stats, d_X:fVector; size:UIntSize ): IntBool;
procedure VFcu_min_max_mean_stddev( h_Stats, h_X:fVector; size:UIntSize );
DescriptionThe four basic descriptive statistics functions for a one-dimensional distribution are calculated simultaneously. They are returned in the vector Stats:
Stats[0] = Minimum;
Stats[1] = Maximum;
Stats[2] = Mean;
Stats[3] = Standard Deviation;
Error handlingIn the case of size=1, the Standard Deviation (which should be infinitely large) is set to HUGE_VAL.
Return valuenone
See alsoVF_min,   VF_max,   VF_mean,   VF_meanvar

VectorLib Table of Contents  OptiVec home