Commit 3a333be
committed
[Minuit2] Document why covariance transform omits 2nd-derivative term
Int2extCovariance/Ext2intCovariance transform the error matrix
between internal and external coordinates using only the first-order
Jacobian (dPext/dPint), even on the diagonal. This is intentional and
contrasts with the Hessian/G2 transformation in
AnalyticalGradientCalculator, which carries an extra diagonal term
d^2Pext/dPint^2 * gradient.
The Hessian needs that non-tensorial term because it is evaluated at
arbitrary, non-stationary points where the external gradient is
nonzero. The covariance matrix is the inverse Hessian evaluated at the
minimum, where the gradient vanishes; the term is then identically
zero and the covariance transforms as a genuine (2,0) tensor with the
Jacobian alone. Adding it would also break the exact round-trip
between Int2extCovariance and Ext2intCovariance.1 parent f384a05 commit 3a333be
2 files changed
Lines changed: 18 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
787 | 787 | | |
788 | 788 | | |
789 | 789 | | |
| 790 | + | |
| 791 | + | |
| 792 | + | |
| 793 | + | |
| 794 | + | |
| 795 | + | |
790 | 796 | | |
791 | 797 | | |
792 | 798 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
143 | 152 | | |
144 | 153 | | |
145 | 154 | | |
| |||
171 | 180 | | |
172 | 181 | | |
173 | 182 | | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
174 | 186 | | |
175 | 187 | | |
176 | 188 | | |
| |||
0 commit comments