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

Default

no description
Key Default Value Options Description
QUERY '' none A search string specifying a query on 'x' or 'y' (or 'vals' for cdata).
For example, 'x>3 & x<5'
MODE 'values'
  • 'values'
  • 'indices'
Output an AO containing either the values found, or the indices of the values found.
back to top 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 8ab8cbbc4bccf7543491a24448f4aae0b1be1c43
Min input args 1
Max input args -1
Min output args 1
Max output args -1




©LTP Team