
Contents |
Shift a vector
1. vshift ix:=col(1) delta:=3 fill:=0 ox:=col(1);
2. vshift ix:=col(1) delta:=3 fill:=0 ox:=<new>;
| Display Name | Variable Name | I/O and Type | Default Value | Description |
|---|---|---|---|---|
| Input | ix |
Input vector | |
Specifies the input data to be shifted. |
| Shifted Position (First Row) | delta |
Input int | |
Specifies the new position for the first row. |
| Padding | fill |
Input double | |
Specifies a padding value. Cells in the output vector whose indices are less than the delta variable will be filled with this value. |
| Output | ox |
Output vector | |
Specifies the output for the shifted vector. |
The vshift function shifts the input vector and pads the first few cells in the new vector with a specified value.