VF_accVVD_accVVE_accV
VCF_accVVCD_accVVCE_accV
VI_accVVBI_accVVSI_accVVLI_accVVQI_accV 
VU_accVVUB_accVVUS_accVVUL_accVVUQ_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 
VUQ_accVUBVUQ_accVUSVUQ_accVUVUQ_accVUL 
VUI_accVUBVUI_accVUSVUI_accVUVUI_accVULVUI_accVUQ
VQI_accVBIVQI_accVSIVQI_accVIVQI_accVLI 
VQI_accVUBVQI_accVUSVQI_accVUVQI_accVULVQI_accVUI
VF_...VD_...VE_...
        ...accVI        ...accVBI        ...accVSI        ...accVLI        ...accVQI 
        ...accVU        ...accVUB        ...accVUS        ...accVUL        ...accVUQ        ...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 );
CUDA function C/C++#include <cudaVFmath.h>
#include <cudaVDmath.h>
int cudaVF_accV( fVector d_Y, fVector d_X, ui size );
int cudaVD_accVF( dVector d_Y, fVector d_X, ui size );
void VFcu_accV( fVector h_Y, fVector h_X, ui size );
void VDcu_accVF( dVector h_Y, fVector h_X, ui size );
CUDA function Pascal/Delphiuses VFmath, VDmath;
function cudaVF_accV( d_Y, d_X:fVector; size:UIntSize ): IntBool;
function cudaVD_accVF( d_Y:dVector; d_X:fVector; size:UIntSize ): IntBool;
procedure VFcu_accV( h_Y, h_X:fVector; size:UIntSize );
procedure VDcu_accVF( h_Y:dVector; h_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