VF_accVVD_accVVE_accV
VCF_accVVCD_accVVCE_accV
VI_accVVBI_accVVSI_accVVLI_accVVQI_accV
VU_accVVUB_accVVUS_accVVUL_accVVUI_accV
mixed-type versions:
VD_accVFVE_accVFVE_accVD
VCD_accVCFVCE_accVCFVCE_accVCD
VSI_accVBI
VI_accVBIVI_accVSI
VLI_accVBIVLI_accVSIVLI_accVI
VUS_accVUB
VU_accVUBVU_accVUS
VUL_accVUBVUL_accVUSVUL_accVU
VUI_accVUBVUI_accVUSVUI_accVUVUI_accVUL
VQI_accVBIVQI_accVSIVQI_accVIVQI_accVLI
VQI_accVUBVQI_accVUSVQI_accVUVQI_accVULVQI_accVUI
VF_...VD_...VE_...
        ...accVI        ...accVBI        ...accVSI        ...accVLI        ...accVQI
        ...accVU        ...accVUB        ...accVUS        ...accVUL        ...accVUI
FunctionAccumulation (corresponds to the += operator)
Syntax C/C++#include <VFmath.h>
void VF_accV( fVector Y, fVector X, ui size );
void VD_accVF( dVector Y, fVector X, ui size );
C++ VecObj#include <OptiVec.h>
void vector<T>::accV( const vector<T>& X );
void vector<double>::accVF( const vector<float>& X );
Pascal/Delphiuses VFmath;
procedure VF_accV( Y, X:fVector; size:UIntSize );
procedure VD_accVF( Y:dVector; X:fVector; size:UIntSize );
DescriptionYi += Xi
This family of functions consists of two groups. The first group is made up of the normal, same-type versions, like VF_accV.
The much larger second group allows to add a lower-accuracy type vector to a higher-accuracy type vector, like VD_accVF. For the integer types, only the highest one, quad, is used to accumulate both signed and unsigned types. The 16-bit and 32-bit integer types can accumulate only the lower types of the same sort, signed or unsigned. All integer types can be accumulated in any of the three floating-point types.
Error handlingnone
Return valuenone
See alsoVF_acc2V,   VF_addV

VectorLib Table of Contents  OptiVec home