Canoe
Comprehensive Atmosphere N' Ocean Engine
interpnf.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include "interpolation.h"

Go to the source code of this file.

Functions

void interpnf (double *val, double const *coor, double const *data, double const *axis, size_t const *len, int ndim)
 

Function Documentation

◆ interpnf()

void interpnf ( double *  val,
double const *  coor,
double const *  data,
double const *  axis,
size_t const *  len,
int  ndim 
)

Multidimensional linear interpolation val[0..nval-1] : output values coor[0..ndim-1] : coordinate of the interpolation point data[...] : points to the start position of a multidimensional data table. len[0..ndim-1] : length of each dimension axis[...] : coordinates of each dimesnion is placed sequentially in axis

Definition at line 13 of file interpnf.c.