CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions
ConstantStepOdeSolver.cc File Reference
#include <cassert>
#include "CalibCalorimetry/HcalAlgos/interface/ConstantStepOdeSolver.h"

Go to the source code of this file.

Functions

static double interpolateLinear (const double x, const double f0, const double f1)
 

Function Documentation

static double interpolateLinear ( const double  x,
const double  f0,
const double  f1 
)
inlinestatic

Definition at line 5 of file ConstantStepOdeSolver.cc.

References x.

Referenced by ConstantStepOdeSolver::interpolateCoordinate(), and ConstantStepOdeSolver::interpolateIntegrated().

5  {
6  return f0 * (1.0 - x) + f1 * x;
7 }
float x