LocalModel.curvature_quadratic#

t3toolbox.fitting.LocalModel.curvature_quadratic(p)#
def curvature_quadratic(self, p) -> NDArray:  # ⟨Πp, Lᵀ K_N L Πp⟩, shape K+C

The curvature term’s quadratic form ⟨Π p, Lᵀ(K_{Aᵀω²r} − K_{grad f}) L Π p⟩ (the part of quadratic() that Gauss-Newton drops); it can be negative. Exact models only: on a Gauss-Newton one it raises (structural).

Return type:

NDArray