## org.das2.qds.NearestNeighborTcaFunction

return a function based on a QDataSet. For the rank 1 or 2 dataset with DEPEND_0, this function returns the nearest neighbor found within the function, always as a rank 1 dataset.

## NearestNeighborTcaFunction( QDataSet ds )

Create the function

## exampleInput

exampleInput( ) → QDataSet

### Returns:

org.das2.qds.QDataSet
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## value

value( QDataSet parm ) → QDataSet

### Parameters

parm - a QDataSet

### Returns:

org.das2.qds.QDataSet
[search for examples] [view on GitHub] [view on old javadoc] [view source]