| VF_indput | VD_indput | VE_indput |
| VCF_indput | VCD_indput | VCE_indput |
| VPF_indput | VPD_indput | VPE_indput |
| VI_indput | VBI_indput | VSI_indput | VLI_indput | VQI_indput |
| VU_indput | VUB_indput | VUS_indput | VUL_indput | VUI_indput |
|
| Function | Distribute 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/Delphi | uses VFstd;
procedure VF_indput( Y, X:fVector; Ind:uVector; sizex:UIntSize ); |
|
| Description | Y[ 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. |
|
|
|
|