Multidimensional data interpolation (table lookup)

Dear Fortran experts,
Is there a multidimensional data interpolation function/subroutine/library in Fortran (for n>3)?
Something similar to: Interpolation for 1-D, 2-D, 3-D, and N-D gridded data in ndgrid format - MATLAB interpn
Thanks for your help


Yes, here are some:

  • bspline-fortran (1D-6D B-spline interpolation)
  • finterp (1D-6D linear or nearest neighbor interpolation)
  • regridpack (1D-4D linear and cubic interpolation)
  • splpak (ND least-squares cubic spline fitting)
  • PCHIP (1D piecewise cubic Hermite interpolation)
  • fitpack (package for curve and surface fitting)

Thank you very much for your reply.