Skip to content

__interp1_fast__

builtin · libnexusinterp/corefcn/lookup-proprietary.cc

: [vq, ok] = __interp1_fast__ (x, v, xq, …)

Internal: evaluate interp1 (x, v, xq, …) for real double data with strictly monotonic x, finite v, and method "linear", "nearest", "previous", "next", "pchip" or "spline". v may be a vector or a matrix with one column per curve. ok is false, and vq empty, for every other call, including "cubic", "makima" and "pp".