fQ

The function B=fQ(A,P) computes, if P is specified, the matrix A^TPA. If P is not specified, it is is assumed to be the identity matrix.

Previous page