NEAREST returns the closest table value for a given reference value

Syntax

  1. NEAREST(Pno%, Ndim%, "ColLab$_1",.., "ColLab$_Ndim%", Xint, Dir%)
  2. NEAREST(0, Npoints%, x_1, y_1, x_2, y_2,..., Limit, Dir%)
  3. NEAREST(@ObjFn(..), Ndim%, @ObjColPar_1,.., @ObjColPar_Ndim%, Xint, Dir%)
  4. NEAREST(Telitab$, Ndim%, "ColLab$_1",.., "ColLab$_Ndim%", Xint, Dir%)

Arguments

Remarks

  1. See also Telitab access for a generic description on the use of TeLiTab data
  2. Similar to other Data analysis functions, the NEAREST is a convenient way to evaluate data. Please also look at these functions for syntax examples
  3. In case of a multi-dimensional dataset, NEAREST determine the nearest value over all datapoint defined by the columns in the dataset 

 

Quick links: Functions overview | Attribute overview | Constants overview | Dimensions overview