CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Member Functions | Private Attributes
cmsmath::SubspaceMultiGenFunction Class Reference
Inheritance diagram for cmsmath::SubspaceMultiGenFunction:

Public Member Functions

virtual IBaseFunctionMultiDim * Clone () const
 
virtual unsigned int NDim () const
 
 SubspaceMultiGenFunction (const ROOT::Math::IMultiGenFunction *f, int nDim, const int *idx, double *xi)
 

Private Member Functions

virtual double DoEval (const double *x) const
 

Private Attributes

const
ROOT::Math::IMultiGenFunction * 
f_
 
const int * idx_
 
const int nDim_
 
double * x_
 

Detailed Description

Definition at line 464 of file SequentialMinimizer.cc.

Constructor & Destructor Documentation

cmsmath::SubspaceMultiGenFunction::SubspaceMultiGenFunction ( const ROOT::Math::IMultiGenFunction *  f,
int  nDim,
const int *  idx,
double *  xi 
)
inline

Definition at line 466 of file SequentialMinimizer.cc.

466  :
467  f_(f), nDim_(nDim), idx_(idx), x_(xi) {}
double f[11][100]
const ROOT::Math::IMultiGenFunction * f_

Member Function Documentation

virtual IBaseFunctionMultiDim* cmsmath::SubspaceMultiGenFunction::Clone ( ) const
inlinevirtual

Definition at line 468 of file SequentialMinimizer.cc.

468 { return new SubspaceMultiGenFunction(*this); }
SubspaceMultiGenFunction(const ROOT::Math::IMultiGenFunction *f, int nDim, const int *idx, double *xi)
virtual double cmsmath::SubspaceMultiGenFunction::DoEval ( const double *  x) const
inlineprivatevirtual

Definition at line 471 of file SequentialMinimizer.cc.

References i.

471  {
472  for (int i = 0; i < nDim_; ++i) x_[idx_[i]] = x[i];
473  return (*f_)(x_);
474  }
int i
Definition: DBlmapReader.cc:9
const ROOT::Math::IMultiGenFunction * f_
Definition: DDAxes.h:10
virtual unsigned int cmsmath::SubspaceMultiGenFunction::NDim ( ) const
inlinevirtual

Definition at line 469 of file SequentialMinimizer.cc.

Member Data Documentation

const ROOT::Math::IMultiGenFunction* cmsmath::SubspaceMultiGenFunction::f_
private

Definition at line 475 of file SequentialMinimizer.cc.

const int* cmsmath::SubspaceMultiGenFunction::idx_
private

Definition at line 477 of file SequentialMinimizer.cc.

const int cmsmath::SubspaceMultiGenFunction::nDim_
private

Definition at line 476 of file SequentialMinimizer.cc.

double* cmsmath::SubspaceMultiGenFunction::x_
private

Definition at line 478 of file SequentialMinimizer.cc.