QPRODUCT
QPRODUCT(x;y) forms the quadratic product of x and y (that is x *+ y *+ TRANSPOSE(x)), where x is a rectangular matrix or variate and y is a symmetric or diagonal matrix or a scalar.