Generalized reduced gradient