The quadratic function , with values
can be represented via a symmetric matrix, as
In short:
where , and