find
Find true values indexes in a boolean vector.
Namespace: dsp
Prototype
vector<int> find(const Vecb &x)
Parameters
| x | Boolean vector |
Returns
Vector containing the indexes for which the input vector elements are true.
Find true values indexes in a boolean vector.
Namespace: dsp
vector<int> find(const Vecb &x)
| x | Boolean vector |
Vector containing the indexes for which the input vector elements are true.