#include <PxConstraint.h>
Inheritance diagram for PxConstraint:
Public Member Functions | |
PxConstraint () | |
virtual | ~PxConstraint () |
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 PxConstraint.h.
|
Definition at line 24 of file PxConstraint.C. |
|
Definition at line 27 of file PxConstraint.C. |
|
Adds first order derivatives to global covariance matrix M.
Reimplemented from ParticleConstraint. Definition at line 57 of file PxConstraint.C. References ParticleConstraint::ConstFitObjectIterator, ParticleConstraint::fitobjects, ParticleFitObject::getDPx(), ParticleConstraint::getGlobalNum(), ParticleFitObject::getGlobalParNum(), ParticleFitObject::getNPar(), and ParticleFitObject::isParamFixed(). |
|
Adds second order derivatives to global covariance matrix M.
Reimplemented from ParticleConstraint. Definition at line 77 of file PxConstraint.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 43 of file PxConstraint.C. References ParticleConstraint::fitobjects. |
|
Returns the value of the constraint.
Implements ParticleConstraint. Definition at line 30 of file PxConstraint.C. References ParticleConstraint::fitobjects. Referenced by main(). |