VF_min_max_mean_stddev | VD_min_max_mean_stddev | VE_min_max_mean_stddev |
|
Function | simultaneous 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/Delphi | uses 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/Delphi | uses 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 );
|
|
Description | The 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 handling | In the case of size=1, the Standard Deviation (which should be infinitely large) is set to HUGE_VAL. |
|
|
|