![]() |
Blitz Support : |
From: Shubhankar Ray (shub_at_[hidden])
Date: 2005-05-31 20:27:12
Hello,
I recently started using blitz after coming to know of its Matlab
like capabilities. I want to know if there is an analogue of the
Matlab find(). Example, X=[0 1 0 1]; find(X==1) returns [2 4].
In blitz I see that where() can be used to work on specific indices
satisfying some expression, but is there a quick way to return just
the indices as an Array<> or vector<>.
thanks
Shubhankar Ray