#include <PyConstraint.h>
Inheritance diagram for PyConstraint:
Public Member Functions | |
PyConstraint () | |
virtual | ~PyConstraint () |
virtual double | getValue () const=0 |
Returns the value of the constraint. | |
virtual void | getDerivatives (int idim, double der[]) const=0 |
virtual void | add1stDerivativesToMatrix (int idim, double *M) const |
Adds first order derivatives to global covariance matrix M. | |
virtual void | add2ndDerivativesToMatrix (int idim, double *M, double lambda) const |
Adds second order derivatives to global covariance matrix M. |
Author: Jenny List, Benno List Last update:
Definition at line 35 of file PyConstraint.h.
|
Definition at line 30 of file PyConstraint.C. |
|
Definition at line 33 of file PyConstraint.C. |
|
Adds first order derivatives to global covariance matrix M.
Reimplemented from ParticleConstraint. Definition at line 63 of file PyConstraint.C. References ParticleConstraint::ConstFitObjectIterator, ParticleConstraint::fitobjects, ParticleFitObject::getDPy(), ParticleConstraint::getGlobalNum(), ParticleFitObject::getGlobalParNum(), ParticleFitObject::getNPar(), and ParticleFitObject::isParamFixed(). |
|
Adds second order derivatives to global covariance matrix M.
Reimplemented from ParticleConstraint. Definition at line 83 of file PyConstraint.C. References ParticleFitObject::addTo2ndDerivatives(), ParticleConstraint::ConstFitObjectIterator, and ParticleConstraint::fitobjects. |
|
Get first order derivatives. Call this with a predefined array "der" with the necessary number of entries!
Implements ParticleConstraint. Definition at line 49 of file PyConstraint.C. References ParticleConstraint::fitobjects. |
|
Returns the value of the constraint.
Implements ParticleConstraint. Definition at line 36 of file PyConstraint.C. References ParticleConstraint::fitobjects. Referenced by main(). |