Method ao/find
FIND particular samples that satisfy the input query and return a new AO.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
DESCRIPTION: FIND particular samples that satisfy the input query and return a new AO.
CALL: b = find(a, 'x > 10 & x < 100')
b = find(a, plist)
PROCINFO: For the 'values' mode, the selected indexes are stored in
the procinfo of the output AO. You can get these indexes
with:
b.procinfo.find('index').
For the 'indices' mode, the selected values are stored in
the procinfo of the output AO. You can get these values
with:
b.procinfo.find('values')
Parameters Description
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Method Details |
|
Access |
public |
Defining Class |
ao |
Sealed |
0 |
Static |
0 |
Parameter Description
Sets for this method … |
Default |
Default |
no description |
Key |
Default Value |
Options |
Description |
find |
QUERY |
'' |
none |
A search string specifying a query on 'x' or 'y' (or 'vals' for cdata). For example, 'x>3 & x<5' |
MODE |
'values' |
|
Output an AO containing either the values found, or the indices of the values found. |
Example |
plist('QUERY', '', 'MODE', 'values') |
back to top
Some information of the method ao/find are listed below: |
Class name |
ao |
Method name |
find |
Category |
Helper |
Package name |
ltpda |
VCS Version |
967b0eec0dece803a81af8ef54ad2f8c784b20b2 |
Min input args |
1 |
Max input args |
-1 |
Min output args |
1 |
Max output args |
-1 |
Can be used as modifier |
1 |
Supported numeric types |
{'double'} |
|
Method: ao/dz |
|
Method: ao/flscov |
 |
©LTP Team