General Quadratic Hypothesis Setup