| VF_indpick | VD_indpick | VE_indpick |
| VCF_indpick | VCD_indpick | VCE_indpick |
| VPF_indpick | VPD_indpick | VPE_indpick |
| VI_indpick | VBI_indpick | VSI_indpick | VLI_indpick | VQI_indpick |
| VU_indpick | VUB_indpick | VUS_indpick | VUL_indpick | VUI_indpick |
|
| Function | Fill a vector with elements "picked" from another one according to their indices. |
|
| Syntax C/C++ | #include <VFstd.h>
void VF_indpick( fVector Y, uiVector Ind, ui size, fVector X ); |
| C++ VecObj | #include <OptiVec.h>
void vector<T>::indpick( const vector<ui>& Ind, const vector<T>& X ); |
| Pascal/Delphi | uses VFstd;
procedure VF_indpick( Y:fVector; Ind:uVector; size:UInt; X:fVector ); |
|
| Description | Yi = X[ Indi ], i=0,..size-1
The vector Y is filled with size elements taken from X according to their indices specified in Ind. The parameter size refers to Y and Ind. The size of X is unimportant, as long as the elements specified in Ind exist. |
|
|
|
|