[virtual]
Virtual function to input derivatives of function elsewhere.
This function must be overridden.