VF_indputVD_indputVE_indput
VCF_indputVCD_indputVCE_indput
VPF_indputVPD_indputVPE_indput
VI_indputVBI_indputVSI_indputVLI_indputVQI_indput
VU_indputVUB_indputVUS_indputVUL_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 );
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