Returns the index of the sample nearest to the specified value. @param x the value. @return the index of the nearest sample.
(double x)
source not stored for this graph (policy: none)