Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Namespace Members   Compound Members   Related Pages  

LSQNumObj Class Reference

(Quick & dirty) Least-Squares Refinement Object with Numerical derivatives More...

List of all members.

Public Methods

void SetParIsFixed (const string &parName, const bool fix)
 Fix one parameter.

void SetParIsFixed (const RefParType *type, const bool fix)
 Fix one family of parameters.

void UnFixAllPar ()
 UnFix All parameters.

void SetParIsUsed (const string &parName, const bool use)
 Set a parameter to be used.

void SetParIsUsed (const RefParType *type, const bool use)
 Set a family of parameters to be used.

void SetRefinedObj (RefinableObj &obj, const unsigned int LSQFuncIndex=0)
 Add an object to refine.


Private Methods

void PrepareRefParList ()
 Prepare mRefParList for the refinement.


Private Attributes

ObjRegistry< RefinableObj > mRecursiveRefinedObjList
 The recursive list of all refined sub-objects.

RefinableObj mRefParList
 The refinable par list used during refinement.

REAL mDampingFactor
 Damping factor for the refinement (unused yet...).

bool mSaveReportOnEachCycle
 Save result to file after each cycle ?

string mName
 Name of the refined object.

string mSaveFileName
 File name where refinement info is saved.

CrystMatrix_REAL mCorrelMatrix
 Correlation matrix between all refined parameters.

CrystVector_REAL mObs
 Observed values.

CrystVector_REAL mWeight
 Weight corresponding to all observed values.

int mIndexValuesSetInitial
 Index of the set of saved values for all refinable parameters, before refinement and before the last cycle.

int mIndexValuesSetLast
 Index of the set of saved values for all refinable parameters, before refinement and before the last cycle.

bool mStopAfterCycle
 If true, then stop at the end of the cycle. Used in multi-threading environment.

RefinableObj * mpRefinedObj
 The opitimized object.

unsigned int mLSQFuncIndex
 The index of the LSQ function in the refined object (if there are several...).


Detailed Description

(Quick & dirty) Least-Squares Refinement Object with Numerical derivatives

This is still highly experimental !


Member Data Documentation

RefinableObj LSQNumObj::mRefParList [private]
 

The refinable par list used during refinement.

Only a compilation of the parameters in RefinableObj and its sub-objects


The documentation for this class was generated from the following file:
Generated on Fri Apr 30 08:01:07 2004 for ObjCryst++ by doxygen1.2.18