NC::Fitter::ICallableND Class Reference

Interface to a general function in many dimensions. More...

#include <NCFitterTypes.h>

Inheritance diagram for NC::Fitter::ICallableND:
NC::Fitter::ConstrainRange NC::Fitter::FixVars NC::Fitter::FuncCache NC::Fitter::Penalizer NC::GetChiSqrFromDerived

List of all members.

Public Member Functions

 ICallableND ()
virtual ~ICallableND ()
virtual double EvalAtEx (const CoordNDim &r, CoordNDim *ret) const =0
 Find the value of the function and return additional information.

Detailed Description

Interface to a general function in many dimensions.

You must implement EvalAtEx

If one is not implemented, then it automatically redirects to the other

Definition at line 80 of file NCFitterTypes.h.


Constructor & Destructor Documentation

NC::Fitter::ICallableND::ICallableND (  )  [inline]

Definition at line 83 of file NCFitterTypes.h.

00083 {}

virtual NC::Fitter::ICallableND::~ICallableND (  )  [inline, virtual]

Definition at line 84 of file NCFitterTypes.h.

00084 {} // shut gcc up


Member Function Documentation

virtual double NC::Fitter::ICallableND::EvalAtEx ( const CoordNDim r,
CoordNDim ret 
) const [pure virtual]

Find the value of the function and return additional information.

Parameters:
r Coordinate at which to evaluate the function
[out] ret Return additional information. By convention, the true underlying coordinates evaluated.
Returns:
Value of the function at the point r

Implementations must be prepared for ret to be null

Todo:
Rename to just EvalAt

Implemented in NC::GetChiSqrFromDerived, NC::Fitter::ConstrainRange, NC::Fitter::Penalizer, NC::Fitter::FuncCache, and NC::Fitter::FixVars.

Referenced by NC::Fitter::MarginalizeHybrid::AlreadyAtMinimum(), NC::Fitter::Discretizer::EvalAt(), NC::Fitter::FuncCache::EvalAtEx(), NC::Fitter::Penalizer::EvalAtEx(), NC::Fitter::ConstrainRange::EvalAtEx(), NC::Fitter::FixVars::EvalAtEx(), NC::Fitter::MinFinderSimple::FindMin(), NC::Fitter::Make2DSlices(), and NC::Fitter::MakeSlices().


The documentation for this class was generated from the following file:

Generated on 3 Oct 2018 for loon by  doxygen 1.6.1