Well I hope I'm posting this in the right place.

I have a problem that is written in the following form:

(Ax - y)' * (Ax-y) where the symbol ( ' ) denotes the transpose of a matrix/vector.

I have to arrange this equation and put in a form where I have:

x'*Q*x

The first statement is from a minimization problem in quadratic programming, so that's why I have to put it in the form of the second statement, so my problem here is really rearranging the first statement into the second statement.

Thanks for your attention

My regards