From 995dd1123831fdce4b23c676afd9bd355ce21708 Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Sat, 25 Apr 2020 20:21:58 +0200 Subject: [PATCH] Header for new interpolation function --- src/xspice/icm/table/support/interp.h | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/xspice/icm/table/support/interp.h diff --git a/src/xspice/icm/table/support/interp.h b/src/xspice/icm/table/support/interp.h new file mode 100644 index 000000000..dbbd2be42 --- /dev/null +++ b/src/xspice/icm/table/support/interp.h @@ -0,0 +1,8 @@ +#ifndef interp_h_included +#define interp_h_included +double BilinearInterpolation(double x, double y, + int xind, int yind, double **td); +double TrilinearInterpolation(double x, double y, double z, + int xind, int yind, int zind, double ***td); +int findCrossOver(double arr[], int n, double x); +#endif /* include guard */