Fast lookup of value from 1-dimensional ndarray.
Deprecated since version 1.0.
Notes
Only use this if you know what you’re doing.