
Contents |
Find all vector elements whose values are equal to a specified value
1. vfind ix:=col(1) value:=3 ox:=col(2);
2. vfind ix:=col(3) value:=1.25 ox:=col(4) tol:=0.05;
| Display Name | Variable Name | I/O and Type | Default Value | Description |
|---|---|---|---|---|
| Dataset to find value | ix |
Input vector | |
Specifies the input vector. |
| Value to find | value |
Input double | |
Specifies the value to find in the input vector, |
| Indices of all found value | ox |
Output vector | |
Specifies the output vector to save the indices of all found elements. |
| Tolerance | tol |
Input double | |
Specifies the tolerance used in the search. |
This function find all vector elements whose values are equal to a specified value.
For more examples, please refer to XF Script Dialog (press F11).