ut3_entries_corewise_derivatives_hessian#
- t3toolbox.backend.ut3_sampling.ut3_entries_corewise_derivatives_hessian(c, index, pp, data, core_directions, order)#
def ut3_entries_corewise_derivatives_hessian( c: NDArray, # residual jet (omega^2 applied), shape=(order+1,)+W+C index: NDArray, # int, shape=(d,)+W pp: typ.Union[typ.Sequence[NDArray], NDArray], # perturbation vectors P, len=d, elm_shape=W+(Ni,); or packed data: UT3Data, # the point theta, stack C core_directions: typ.Tuple[NDArray, NDArray], # bare raw direction supercores theta_hat, (d,)+K+C+(...) order: int, # highest derivative order ) -> typ.Tuple[NDArray, NDArray]: # (Tucker, TT) blocks of K theta_hat, (d,)+K+C+(...), W summed
The uniform twin of
t3_entries_corewise_derivatives_hessian()(indexunpacked – the one-hot vectors are built packed inside the kernel;pppacked), asut3_apply_corewise_derivatives_hessian().- Parameters:
- Return type: