“extractResultForNbrVals” method returns a Result object built by extraction of maximum “NbrVals” values. This method can be applied to scalar Result objects only and has two arguments:
The “Method” String argument specifies the extraction algorithm that is used. Two values are possible:
“smallest” causes the method to keep the smallest values of the Result object.
“largest” causes the method to keep the largest values of the Result object.
“NbrVals” is an integer argument corresponding to the number of values to be kept.
This method works for Real Results only.