. "JVK says: 19 January, 2012 at 12:47 pm In the discussion on Hamiltonian mechanics, the function X looks like a generating function of the second kind, while S is a generating function of the first kind." . . .