39 #ifndef __OPENFLUID_SCIENTIFIC_INTERPOLATORS_HPP__    40 #define __OPENFLUID_SCIENTIFIC_INTERPOLATORS_HPP__    43 namespace openfluid { 
namespace scientific {
    58                              const T& X1, 
const T& Y1,
    61   return Y0 + ((Y1-Y0) * (X-X0) / (X1-X0));
    80                                         const T& X1, 
const T& Y1,
    83   return Y0 + ((Y1-Y0) * X / X1);
 Definition: ApplicationException.hpp:47
 
T linearInterpolationFromXOrigin(const T &Y0, const T &X1, const T &Y1, const T &X)
Definition: Interpolators.hpp:79
 
T linearInterpolation(const T &X0, const T &Y0, const T &X1, const T &Y1, const T &X)
Definition: Interpolators.hpp:57