Efficient Evaluation of Quadratic Forms
