choreo.NBodySyst.TT_params_to_action_grad#
- NBodySyst.TT_params_to_action_grad(self, double[::1] params_mom_buf, TT)#
Profiles the computation of the gradient of the action with respect to parameters.
- Parameters:
params_mom_buf (
numpy.ndarray
(shape = nparams, dtype = np.float64)
) – Buffer of parameters.TT (
pyquickbench.TimeTrain
) –Profiler object that records the following intermediate times:
start
memory
changevar_mom_pos
params_to_pos_slice
pos_slice_to_segmpos
segm_pos_to_pot_nrg_grad
segmpos_to_pos_slice_T
pos_slice_to_params
changevar_mom_pos_T
params_to_kin_nrg_grad_daxpy
- Returns:
Gradient of the action with respect to parameters.
- Return type:
numpy.ndarray
(shape = nparams, dtype = np.float64)
See also