class ROOT::Math::IBaseFunctionOneDim

Documentation for the abstract class IBaseFunctionMultiDim.
Interface (abstract class) for generic functions objects of multi-dimension
Provides a method to evaluate the function given a vector of coordinate values,
by implementing operator() (const double *).
In addition it defines the interface for copying functions via the pure virtual method Clone()
and the interface for getting the function dimension via the NDim() method.
Derived classes must implement the pure private virtual method DoEval(const double *) for the
function evaluation in addition to NDim() and Clone().

@ingroup  CppFunctions

Function Members (Methods)

    This is an abstract class, constructors will not be documented.
    Look at the header to check for available constructors.

virtual ROOT::Math::IBaseFunctionOneDim*Clone() const
doubleoperator()(double x) const
doubleoperator()(const double* x) const
ROOT::Math::IBaseFunctionOneDim&operator=(const ROOT::Math::IBaseFunctionOneDim&)
virtual doubleDoEval(double x) const

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

IBaseFunctionMultiDim * Clone()
Clone a function.
Each derived class must implement his version of the Clone method

double operator()(const double* x)
Evaluate the function at a point x[].
Use the pure virtual private method DoEval which must be implemented by the sub-classes

return DoEval(double x) const
double operator()(const Iterator it )
Template method to eveluate the function using the begin of an iterator
User is responsible to provide correct size for the iterator

virtual ~IBaseFunctionOneDim()
virtual destructor


Last update: root/mathcore:$Id: IFunction.h 21553 2007-12-21 10:55:46Z moneta $
Copyright (c) 2006 , LCG ROOT MathLib Team *

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.