include/fimex/timeInterpolation.h File Reference

Go to the source code of this file.

Functions

void mifi_get_values_linear_f (const float *infieldA, const float *infieldB, float *outfield, const size_t n, const double a, const double b, const double x)


Function Documentation

void mifi_get_values_linear_f const float *  infieldA,
const float *  infieldB,
float *  outfield,
const size_t  n,
const double  a,
const double  b,
const double  x
 

Linear interpolation/extrapolation of values in the arrays infieldA and infieldB at position a and b to a field at outfield at position x with o(x) = in(a) + x * (in(a) - in(b)) / (a - b)

Parameters:
infieldA array of size n with values of input at position a
infieldB array of size n with values of input at position b
outfield array of size n with values of input at position x, output
n size of arrays
a position of infieldA
b position of infieldB
x position of outfield


Generated on Wed Dec 3 14:33:14 2008 for MI - Fimex by  doxygen 1.4.6