VF_indputVD_indputVE_indput
VCF_indputVCD_indputVCE_indput
VPF_indputVPD_indputVPE_indput
VI_indputVBI_indputVSI_indputVLI_indputVQI_indput 
VU_indputVUB_indputVUS_indputVUL_indputVUQ_indputVUI_indput
FunctionDistribute the elements of one vector to the places within another vector specified by their indices.
Syntax C/C++#include <VFstd.h>
void VF_indput( fVector Y, fVector X, uiVector Ind, ui sizex );
C++ VecObj#include <OptiVec.h>
void vector<T>::indput( const vector<T>& X, const vector<ui>& Ind );
Pascal/Delphiuses VFstd;
procedure VF_indput( Y, X:fVector; Ind:uVector; sizex:UIntSize );
CUDA function C/C++#include <cudaVFstd.h>
int cudaVF_indput( fVector d_Y, fVector d_X, uiVector d_Ind, ui sizex );
CUDA function Pascal/Delphiuses VFstd;
function cudaVF_indput( d_Y, d_X:fVector; d_Ind:uVector; sizex:UIntSize ): IntBool;

   (no VFcu_indput function available - neither for C/C++ nor for Pascal/Delphi!)
DescriptionY[ Indi ] = Xi,   i=0,..sizex-1
The sizex elements of X are put into the places of Y according to the indices specified in Ind. The parameter sizex refers to X and Ind. The size of Y is unimportant, as long as the elements specified in Ind exist.
Error handlingnone
Return valuenone
See alsoVF_indpick,   VF_subvector,   VF_sortind

VectorLib Table of Contents  OptiVec home