step.Rd
This is a generic S3 function that dispatches to the correct update rule based on the optimizer's class.
step(optimizer, i, V_current, descent_gradient, ...)
The optimizer object from `create_optimizer()`.
The index of the modality currently being updated.
The current V matrix for modality `i`.
The Riemannian DESCENT gradient (-grad(E)) for V_current.
Additional arguments required by the specific method (e.g., `full_energy_function` for line searches, `learning_rate` for others).
A list containing `updated_V` and the updated `optimizer` object.