Main Page | Namespace List | Class Hierarchy | Compound List | File List | Namespace Members | Compound Members | File Members

IntNonlinMgr.cxx File Reference

#include "IntNonlinMgr.h"
#include "CalibData/DacCol.h"
#include <algorithm>

Include dependency graph for IntNonlinMgr.cxx:

Include dependency graph

Go to the source code of this file.

Functions

template<class Ty> Ty extrap (Ty x1, Ty x2, Ty x3, Ty y1, Ty y2)
 return y3 such that (y2 - y1)/(x2 - x1) = (y3 - y2)/(x3 - x2)


Detailed Description

Author:
Z.Fewtrell

Definition in file IntNonlinMgr.cxx.


Function Documentation

template<class Ty>
Ty extrap Ty  x1,
Ty  x2,
Ty  x3,
Ty  y1,
Ty  y2
[inline]
 

return y3 such that (y2 - y1)/(x2 - x1) = (y3 - y2)/(x3 - x2)

Definition at line 58 of file IntNonlinMgr.cxx.

Referenced by IntNonlinMgr::genLocalStore(), and AsymMgr::genLocalStore().

00058                                                     {
00059   return (x3-x2)*(y2-y1)/(x2-x1) + y2;
00060 }


Generated on Mon Dec 1 13:29:46 2008 by doxygen 1.3.3