You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
is there a way to perform array interpolation, as in
https://numpy.org/doc/stable/reference/generated/numpy.interp.html ?
"One-dimensional linear interpolation for monotonically increasing sample points.
Returns the one-dimensional piecewise linear interpolant to a function with given discrete data points (xp, fp), evaluated at x."
(x here is a given array)
Of course I could use https://ocaml.xyz/owl/owl-base/Owl_maths_interpolate/index.html#val-polint
repeatedly many times for all x values, but that would not be very efficient I guess.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions