LocalModel.quadratic#

t3toolbox.fitting.LocalModel.quadratic(p)#
def quadratic(self, p) -> NDArray:  # pᵀ H p of this mode, shape K+C

The quadratic form pᵀ H p of this model’s mode: gn_quadratic() on a Gauss-Newton model; gn_quadratic(p) + curvature_quadratic(p) on an exact one – the objective’s second derivative along the retraction (the T3-SVD retraction is second order on a minimal, numerically full-rank frame).

Return type:

NDArray