1 The adjoint method - Stanford University Computer Science